elmerfem
elmerfem copied to clipboard
Errors while "make" and some questions
Hi, every one.
- There have some errors while "make" process:
[ 69%] Linking Fortran executable GebhardtFactors
/usr/bin/ld: warning: libElas.so, needed by /usr/local/lib/libmmg.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to LS_mesh' /usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to
LS_newSol'
/usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to LS_setLame' /usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to
LS_setPar'
/usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to LS_init' /usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to
LS_addTri'
/usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to LS_elastic' /usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to
LS_addSol'
/usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to LS_setBC' /usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to
LS_addVer'
/usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to LS_stop' /usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to
LS_addEdg'
/usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to LS_addTet' /usr/bin/ld: /usr/local/lib/libmmg.so: undefined reference to
LS_getSol'
collect2: error: ld returned 1 exit status
make[2]: *** [fem/src/CMakeFiles/GebhardtFactors.dir/build.make:120:fem/src/GebhardtFactors] 错误 1
make[1]: *** [CMakeFiles/Makefile2:17909:fem/src/CMakeFiles/GebhardtFactors.dir/all] 错误 2
make: *** [Makefile:163:all] 错误 2
I tried "cmake" "mmg" with "-D LIBMMG_STATIC=ON " or "-D LIBMMG_SHARED=ON", but same errors received, if I don't install "LinearElasticity" & "Commons", no errors while "make", but some warnings received, and some test of Elmer/Ice failed. I don't no how to solve this error?
- While "cmake", a warning received:
-- Elmer/Ice package: Looking for [HDF5] & [HDF5 Fortran] libraries -- Library not found: >HDF5_FOUND< CMake Warning at elmerice/Solvers/CMakeLists.txt:49 (MESSAGE):
Missing: >HDF5_INCLUDE_DIR< , >HDF5_LIBRARY<, >HDF5F_LIBRARY< some functionalities will be disabled
HDF5 is already installed, but no use to this problem, maybe special version is needed?
My platform is OS: Ubuntu 20.04 CPU: AMD RyZen 5950X