Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while "make" and some questions #286

Open
yushuoliu opened this issue Aug 26, 2021 · 0 comments
Open

Errors while "make" and some questions #286

yushuoliu opened this issue Aug 26, 2021 · 0 comments

Comments

@yushuoliu
Copy link

Hi, every one.

  1. 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?

  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant