Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
69115897
Commit
69115897
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
8b57824c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Plugin/ModulusPhase.cpp
+1
-1
1 addition, 1 deletion
Plugin/ModulusPhase.cpp
configure
+61
-2
61 additions, 2 deletions
configure
configure.in
+10
-5
10 additions, 5 deletions
configure.in
with
72 additions
and
8 deletions
Plugin/ModulusPhase.cpp
+
1
−
1
View file @
69115897
...
...
@@ -66,7 +66,7 @@ PView *GMSH_ModulusPhasePlugin::execute(PView *v)
PViewData
*
data1
=
v1
->
getData
();
if
(
data1
->
hasMultipleMeshes
()){
Msg
::
Error
(
"
Gradient
plugin cannot be run on multi-mesh views"
);
Msg
::
Error
(
"
ModulusPhase
plugin cannot be run on multi-mesh views"
);
return
v
;
}
...
...
This diff is collapsed.
Click to expand it.
configure
+
61
−
2
View file @
69115897
...
...
@@ -5092,7 +5092,7 @@ if test "x${ZLIB}" = "xyes"; then
if
test
"x
${
ZLIB_PREFIX
}
"
=
"x"
;
then
GMSH_LIBS
=
"
${
GMSH_LIBS
}
-lz"
else
GMSH_LIBS
=
"
${
GMSH_LIBS
}
-L
${
ZLIB_PREFIX
}
-L
${
ZLIB_PREFIX
}
/lib -lz"
GMSH_LIBS
=
"
${
GMSH_LIBS
}
-L
${
ZLIB_PREFIX
}
-L
${
ZLIB_PREFIX
}
/lib -lz"
FLAGS
=
"
${
FLAGS
}
-I
${
ZLIB_PREFIX
}
-I
${
ZLIB_PREFIX
}
/include"
fi
fi
...
...
@@ -5108,7 +5108,7 @@ if test "${ac_cv_lib_gsl_main+set}" = set; then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lgsl
$LIBS
"
LIBS
=
"-lgsl
-lgslcblas
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
...
...
@@ -5439,6 +5439,65 @@ fi
if
test
"x
$CBLAS
"
=
"xyes"
;
then
BLAS_LIBS
=
"-lcblas"
{
echo
"
$as_me
:
$LINENO
: checking for main in -latlas"
>
&5
echo
$ECHO_N
"checking for main in -latlas...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_lib_atlas_main
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-latlas
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
int
main ()
{
return main ();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_cxx_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest
$ac_exeext
&&
$as_test_x
conftest
$ac_exeext
;
then
ac_cv_lib_atlas_main
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_lib_atlas_main
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest_ipa8_conftest.oo
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_atlas_main
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_atlas_main
"
>
&6
;
}
if
test
$ac_cv_lib_atlas_main
=
yes
;
then
BLAS_LIBS
=
"
${
BLAS_LIBS
}
-latlas"
fi
if
test
"x
${
BLAS_LAPACK_PREFIX
}
"
!=
"x"
;
then
BLAS_PATH
=
"-L
${
BLAS_LAPACK_PREFIX
}
-L
${
BLAS_LAPACK_PREFIX
}
/lib"
fi
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
10
−
5
View file @
69115897
...
...
@@ -398,7 +398,8 @@ else
fi
dnl Check for standard math library
dnl Check for standard math library (no rule given if found, so gets
dnl added to $LIBS, used for further checks)
AC_CHECK_LIB(m,main)
dnl Check for various functions
...
...
@@ -627,7 +628,7 @@ if test "x${HDF5}" = "xyes"; then
fi
fi
dnl Complete HDF5 link line
(zlib must be linked in after libmed)
dnl Complete HDF5 link line
if test "x${HDF5}" = "xyes"; then
if test "x${HDF5_PREFIX}" = "x"; then
GMSH_LIBS="${GMSH_LIBS} -lhdf5"
...
...
@@ -637,7 +638,8 @@ if test "x${HDF5}" = "xyes"; then
fi
fi
dnl Complete zlib link line (zlib must be linked in after libpng and libhdf5)
dnl Complete zlib link line (zlib must be linked in after libpng and
dnl libhdf5)
if test "x${ZLIB}" = "xyes"; then
dnl If provided by FLTK, use that one; otherwise, look for it
if test "x${FL_ZLIB}" = "xyes"; then
...
...
@@ -647,7 +649,8 @@ if test "x${ZLIB}" = "xyes"; then
if test "x${ZLIB_PREFIX}" = "x"; then
GMSH_LIBS="${GMSH_LIBS} -lz"
else
dnl Find the libs/includes even if libz is _not_ properly installed (ugly hack!)
dnl Find the libs/includes even if libz is _not_ properly
dnl installed (ugly hack!)
GMSH_LIBS="${GMSH_LIBS} -L${ZLIB_PREFIX} -L${ZLIB_PREFIX}/lib -lz"
FLAGS="${FLAGS} -I${ZLIB_PREFIX} -I${ZLIB_PREFIX}/include"
fi
...
...
@@ -659,7 +662,7 @@ if test "x$enable_gsl" != "xno"; then
if test "x${GSL_PREFIX}" != "x"; then
LDFLAGS="-L${GSL_PREFIX} -L${GSL_PREFIX}/lib ${LDFLAGS}"
fi
AC_CHECK_LIB(gsl,main,GSL="yes",GSL="no")
AC_CHECK_LIB(gsl,main,GSL="yes",GSL="no"
,-lgslcblas
)
if test "x${GSL}" = "xyes"; then
FLAGS="-DHAVE_GSL ${FLAGS}"
if test "x${GSL_PREFIX}" = "x"; then
...
...
@@ -729,6 +732,8 @@ fi
AC_CHECK_LIB(cblas,cblas_dgemm,CBLAS="yes",CBLAS="no")
if test "x$CBLAS" = "xyes"; then
BLAS_LIBS="-lcblas"
dnl add atlas if cblas came from it
AC_CHECK_LIB(atlas,main,BLAS_LIBS="${BLAS_LIBS} -latlas",)
if test "x${BLAS_LAPACK_PREFIX}" != "x"; then
BLAS_PATH="-L${BLAS_LAPACK_PREFIX} -L${BLAS_LAPACK_PREFIX}/lib"
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment