It seems that you are not the first to experience this:

https://aur.archlinux.org/packages/getfem/

This is the same line where you get the error message, but on my system

/bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2
-fmessage-length=0 -fvisibility-inlines-hidden -ftemplate-depth-100
-std=c++14 -fPIC -Wall -W -Wextra -Wshadow -Wno-unknown-pragmas
-Wno-variadic-macros -Wno-unused-but-set-variable -Wpointer-arith
-Wcast-qual -Wwrite-strings -Wconversion -Wredundant-decls -Wno-long-long
-o test_mesh test_mesh.o ../src/libgetfem.la -lm  -rdynamic
-lsmumps_seq-5.3.5 -ldmumps_seq-5.3.5 -lcmumps_seq-5.3.5 -lzmumps_seq-5.3.5
-lqhull -lsuperlu -lsuperlu -ldl -llapack  -lblas

maybe it helps you to compare. In general try a clean compilation, with a
minimum set of features enabled, and then enable one feature at the time.
It will be easier for you to debug and for us to help.

Best regards
Kostas

On Fri, May 7, 2021 at 4:56 PM edgar <edgar...@cryptolab.net> wrote:

> Hi,
>
> I think that GetFEM gets compiled correctly, but I cannot compile the
> test cases. Can _anybody_ help me, please? Thanks!
>
> make[2]: 'dynamic_array' is up to date.
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o dynamic_tas
> dynamic_tas.o ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test_int_set
> test_int_set.o ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test_tree_sorted
> test_tree_sorted.o ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o poly poly.o
> ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps -lzmumps -lqhull
> -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test_small_vector
> test_small_vector.o ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test_kdtree
> test_kdtree.o ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test_rtree
> test_rtree.o ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> /bin/sh ../libtool  --tag=CXX   --mode=link mpic++  -fPIC -fopenmp -O3
> -march=amdfam10 -mtune=generic -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14
> -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test_mesh
> test_mesh.o ../src/libgetfem.la -lm  -lsmumps -ldmumps -lcmumps -lzmumps
> -lqhull -lsuperlu -lsuperlu -llapack -lmpi_cxx  -lblas -lmetis
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/poly poly.o
> ../src/.libs/libgetfem.so -lm -lsmumps -ldmumps -lcmumps -lzmumps
> -lqhull -lsuperlu -llapack -lmpi_cxx -lblas -lmetis -fopenmp
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test_int_set
> test_int_set.o  ../src/.libs/libgetfem.so -lm -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -llapack -lmpi_cxx -lblas -lmetis -fopenmp
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o
> .libs/test_small_vector test_small_vector.o  ../src/.libs/libgetfem.so
> -lm -lsmumps -ldmumps -lcmumps -lzmumps -lqhull -lsuperlu -llapack
> -lmpi_cxx -lblas -lmetis -fopenmp
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/dynamic_tas
> dynamic_tas.o  ../src/.libs/libgetfem.so -lm -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -llapack -lmpi_cxx -lblas -lmetis -fopenmp
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test_rtree
> test_rtree.o  ../src/.libs/libgetfem.so -lm -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -llapack -lmpi_cxx -lblas -lmetis -fopenmp
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test_kdtree
> test_kdtree.o  ../src/.libs/libgetfem.so -lm -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -llapack -lmpi_cxx -lblas -lmetis -fopenmp
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o
> .libs/test_tree_sorted test_tree_sorted.o  ../src/.libs/libgetfem.so -lm
> -lsmumps -ldmumps -lcmumps -lzmumps -lqhull -lsuperlu -llapack -lmpi_cxx
> -lblas -lmetis -fopenmp
> libtool: link: mpic++ -fPIC -fopenmp -O3 -march=amdfam10 -mtune=generic
> -O2 -D_FORTIFY_SOURCE=2 -O3 -std=c++14 -Wl,-O1 -Wl,--sort-common
> -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test_mesh
> test_mesh.o  ../src/.libs/libgetfem.so -lm -lsmumps -ldmumps -lcmumps
> -lzmumps -lqhull -lsuperlu -llapack -lmpi_cxx -lblas -lmetis -fopenmp
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_sol_get_npiv_liell_ipos_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to `mpi_pack_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_get_nnz_internal_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `__mumps_fac_descband_data_m_MOD_inode_waited_for'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mpi_cancel_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `blacs_gridinfo_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_ana_h_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `__mumps_fac_descband_data_m_MOD_mumps_fdbd_retrieve_descband'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `__mumps_fac_maprow_data_m_MOD_mumps_fmrd_is_maprow_stored'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_sol_get_npiv_liell_ipos_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_encode_tpn_iproc_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to `mpi_pack_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_ooc_is_async_avail_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_get_nnz_internal_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_sol_get_npiv_liell_ipos_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_set_version_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `__mumps_fac_descband_data_m_MOD_inode_waited_for'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `__mumps_ooc_common_MOD_ooc_inode_sequence'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to `mpi_pack_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mpi_cancel_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to `psgetrs_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_get_nnz_internal_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `blacs_gridinfo_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_sol_get_npiv_liell_ipos_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_ooc_get_file_name_c_'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `__mumps_fac_descband_data_m_MOD_inode_waited_for'
> /usr/bin/ld: /usr/lib64/libsmumps.so: undefined reference to
> `mumps_ana_h_'
> /usr/bin/ld/usr/bin/ld: : /usr/lib64/libsmumps.so: undefined reference
> to `/usr/lib64/libsmumps.so: undefined reference to
> `mpi_type_commit_mpi_pack_'
> '
> ---- 8< --- (continues)
>
>

Reply via email to