Hi @Konstantinos,
I installed Getfem following the instructions, this in the log.
sudo make install
[sudo] password for standard:
Making install in m4
make[1]: Entering directory '/home/standard/getfem/m4'
make[2]: Entering directory '/home/standard/getfem/m4'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/standard/getfem/m4'
make[1]: Leaving directory '/home/standard/getfem/m4'
Making install in cubature
make[1]: Entering directory '/home/standard/getfem/cubature'
make[2]: Entering directory '/home/standard/getfem/cubature'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/standard/getfem/cubature'
make[1]: Leaving directory '/home/standard/getfem/cubature'
Making install in src
make[1]: Entering directory '/home/standard/getfem/src'
make[2]: Entering directory '/home/standard/getfem/src'
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libgetfem.la '/opt/gf20251104_libmumps_ptscotch/lib'
libtool: install: /usr/bin/install -c .libs/libgetfem.lai /opt/gf20251104_libmumps_ptscotch/lib/libgetfem.la
libtool: install: /usr/bin/install -c .libs/libgetfem.a /opt/gf20251104_libmumps_ptscotch/lib/libgetfem.a
libtool: install: chmod 644 /opt/gf20251104_libmumps_ptscotch/lib/libgetfem.a
libtool: install: ranlib /opt/gf20251104_libmumps_ptscotch/lib/libgetfem.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /opt/gf20251104_libmumps_ptscotch/lib
----------------------------------------------------------------------
Libraries have been installed in:
/opt/gf20251104_libmumps_ptscotch/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/include'
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/include/gmm'
/usr/bin/install -c -m 644 gmm/gmm.h gmm/gmm_arch_config.h gmm/gmm_matrix.h gmm/gmm_iter_solvers.h gmm/gmm_iter.h gmm/gmm_inoutput.h gmm/gmm_vector.h gmm/gmm_transposed.h gmm/gmm_scaled.h gmm/gmm_conjugated.h gmm/gmm_real_part.h gmm/gmm_def.h gmm/gmm_sub_index.h gmm/gmm_vector_to_matrix.h gmm/gmm_sub_vector.h gmm/gmm_sub_matrix.h gmm/gmm_interface.h gmm/gmm_kernel.h gmm/gmm_interface_bgeot.h gmm/gmm_solver_cg.h gmm/gmm_solver_constrained_cg.h gmm/gmm_modified_gram_schmidt.h gmm/gmm_dense_Householder.h gmm/gmm_dense_lu.h gmm/gmm_dense_matrix_functions.h gmm/gmm_dense_qr.h gmm/gmm_dense_sylvester.h gmm/gmm_tri_solve.h gmm/gmm_solver_gmres.h gmm/gmm_solver_idgmres.h gmm/gmm_solver_qmr.h gmm/gmm_solver_bicgstab.h gmm/gmm_solver_Schwarz_additive.h gmm/gmm_solver_bfgs.h gmm/gmm_domain_decomp.h gmm/gmm_superlu_interface.h gmm/gmm_precond.h gmm/gmm_precond_ildlt.h gmm/gmm_precond_ildltt.h gmm/gmm_precond_mr_approx_inverse.h '/opt/gf20251104_libmumps_ptscotch/include/gmm'
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/include/getfem'
/usr/bin/install -c -m 644 getfem/dal_config.h getfem/dal_singleton.h getfem/dal_basic.h getfem/dal_bit_vector.h getfem/dal_static_stored_objects.h getfem/dal_naming_system.h getfem/dal_backtrace.h getfem/dal_tas.h getfem/dal_tree_sorted.h getfem/bgeot_config.h getfem/bgeot_permutations.h getfem/bgeot_convex_structure.h getfem/bgeot_convex.h getfem/bgeot_convex_ref.h getfem/bgeot_poly.h getfem/bgeot_geometric_trans.h getfem/bgeot_geotrans_inv.h getfem/bgeot_kdtree.h getfem/bgeot_mesh_structure.h getfem/bgeot_mesh.h getfem/bgeot_poly_composite.h getfem/bgeot_rtree.h getfem/bgeot_node_tab.h getfem/bgeot_small_vector.h getfem/bgeot_sparse_tensors.h getfem/bgeot_tensor.h getfem/bgeot_comma_init.h getfem/bgeot_torus.h getfem/bgeot_ftool.h getfem/getfem_accumulated_distro.h getfem/getfem_arch_config.h getfem/getfem_copyable_ptr.h getfem/getfem_integration.h getfem/getfem_assembling.h getfem/getfem_assembling_tensors.h getfem/getfem_generic_assembly.h getfem/getfem_generic_assembly_tree.h getfem/getfem_generic_assembly_functions_and_operators.h getfem/getfem_generic_assembly_semantic.h getfem/getfem_generic_assembly_compile_and_exec.h '/opt/gf20251104_libmumps_ptscotch/include/getfem'
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/include/getfem'
/usr/bin/install -c -m 644 getfem/getfem_context.h getfem/getfem_config.h getfem/getfem_interpolation.h getfem/getfem_export.h getfem/getfem_import.h getfem/getfem_derivatives.h getfem/getfem_global_function.h getfem/getfem_fem.h getfem/getfem_interpolated_fem.h getfem/getfem_projected_fem.h getfem/getfem_fem_global_function.h getfem/getfem_mesh_fem_global_function.h getfem/getfem_mesh_fem_sum.h getfem/getfem_im_list.h getfem/getfem_mat_elem.h getfem/getfem_mat_elem_type.h getfem/getfem_mesh.h getfem/getfem_mesh_region.h getfem/getfem_mesh_fem.h getfem/getfem_mesh_im.h getfem/getfem_error_estimate.h getfem/getfem_level_set.h getfem/getfem_partial_mesh_fem.h getfem/getfem_torus.h getfem/getfem_mesh_level_set.h getfem/getfem_mesh_im_level_set.h getfem/getfem_crack_sif.h getfem/getfem_mesh_fem_level_set.h getfem/getfem_mesh_fem_product.h getfem/getfem_fem_level_set.h getfem/getfem_mesh_slicers.h getfem/getfem_mesh_slice.h getfem/getfem_regular_meshes.h getfem/getfem_models.h getfem/getfem_model_solvers.h getfem/getfem_linearized_plates.h getfem/getfem_HHO.h getfem/getfem_locale.h getfem/getfem_contact_and_friction_common.h getfem/getfem_contact_and_friction_large_sliding.h '/opt/gf20251104_libmumps_ptscotch/include/getfem'
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/include/getfem'
/usr/bin/install -c -m 644 getfem/getfem_contact_and_friction_nodal.h getfem/getfem_contact_and_friction_integral.h getfem/getfem_nonlinear_elasticity.h getfem/getfem_fourth_order.h getfem/getfem_Navier_Stokes.h getfem/getfem_plasticity.h getfem/getfem_omp.h getfem/getfem_continuation.h getfem/getfem_mesher.h getfem/getfem_convect.h getfem/getfem_deformable_mesh.h getfem/getfem_level_set_contact.h getfem/getfem_im_data.h '/opt/gf20251104_libmumps_ptscotch/include/getfem'
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/include/gmm'
/usr/bin/install -c -m 644 gmm/gmm_precond_diagonal.h gmm/gmm_precond_ilu.h gmm/gmm_precond_ilut.h gmm/gmm_precond_ilutp.h gmm/gmm_blas.h gmm/gmm_blas_interface.h gmm/gmm_lapack_interface.h gmm/gmm_condition_number.h gmm/gmm_least_squares_cg.h gmm/gmm_range_basis.h gmm/gmm_opt.h gmm/gmm_algobase.h gmm/gmm_ref.h gmm/gmm_std.h gmm/gmm_except.h gmm/gmm_feedback_management.h gmm/gmm_MUMPS_interface.h '/opt/gf20251104_libmumps_ptscotch/include/gmm'
make[2]: Leaving directory '/home/standard/getfem/src'
make[1]: Leaving directory '/home/standard/getfem/src'
Making install in tests
make[1]: Entering directory '/home/standard/getfem/tests'
make[2]: Entering directory '/home/standard/getfem/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/standard/getfem/tests'
make[1]: Leaving directory '/home/standard/getfem/tests'
Making install in interface
make[1]: Entering directory '/home/standard/getfem/interface'
Making install in src
make[2]: Entering directory '/home/standard/getfem/interface/src'
Making install in .
make[3]: Entering directory '/home/standard/getfem/interface/src'
make[4]: Entering directory '/home/standard/getfem/interface/src'
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/standard/getfem/interface/src'
make[3]: Leaving directory '/home/standard/getfem/interface/src'
make[2]: Leaving directory '/home/standard/getfem/interface/src'
Making install in tests
make[2]: Entering directory '/home/standard/getfem/interface/tests'
Making install in meshes
make[3]: Entering directory '/home/standard/getfem/interface/tests/meshes'
make[4]: Entering directory '/home/standard/getfem/interface/tests/meshes'
make[4]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/getfem_toolbox/meshes'
/usr/bin/install -c tank_quadratic_2500.GiD.msh holed_disc_with_quadratic_2D_triangles.msh tube_2D_spline.GiD.msh tripod.GiD.msh mixed_mesh.gmf '/opt/gf20251104_libmumps_ptscotch/getfem_toolbox/meshes'
make[4]: Leaving directory '/home/standard/getfem/interface/tests/meshes'
make[3]: Leaving directory '/home/standard/getfem/interface/tests/meshes'
make[3]: Entering directory '/home/standard/getfem/interface/tests'
make[4]: Entering directory '/home/standard/getfem/interface/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/standard/getfem/interface/tests'
make[3]: Leaving directory '/home/standard/getfem/interface/tests'
make[2]: Leaving directory '/home/standard/getfem/interface/tests'
make[2]: Entering directory '/home/standard/getfem/interface'
make[3]: Entering directory '/home/standard/getfem/interface'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/interface'
make[2]: Leaving directory '/home/standard/getfem/interface'
make[1]: Leaving directory '/home/standard/getfem/interface'
Making install in contrib
make[1]: Entering directory '/home/standard/getfem/contrib'
Making install in icare
make[2]: Entering directory '/home/standard/getfem/contrib/icare'
make[3]: Entering directory '/home/standard/getfem/contrib/icare'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/icare'
make[2]: Leaving directory '/home/standard/getfem/contrib/icare'
Making install in delaminated_crack
make[2]: Entering directory '/home/standard/getfem/contrib/delaminated_crack'
make[3]: Entering directory '/home/standard/getfem/contrib/delaminated_crack'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/delaminated_crack'
make[2]: Leaving directory '/home/standard/getfem/contrib/delaminated_crack'
Making install in aposteriori
make[2]: Entering directory '/home/standard/getfem/contrib/aposteriori'
make[3]: Entering directory '/home/standard/getfem/contrib/aposteriori'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/aposteriori'
make[2]: Leaving directory '/home/standard/getfem/contrib/aposteriori'
Making install in xfem_stab_unilat_contact
make[2]: Entering directory '/home/standard/getfem/contrib/xfem_stab_unilat_contact'
make[3]: Entering directory '/home/standard/getfem/contrib/xfem_stab_unilat_contact'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/xfem_stab_unilat_contact'
make[2]: Leaving directory '/home/standard/getfem/contrib/xfem_stab_unilat_contact'
Making install in bimaterial_crack_test
make[2]: Entering directory '/home/standard/getfem/contrib/bimaterial_crack_test'
make[3]: Entering directory '/home/standard/getfem/contrib/bimaterial_crack_test'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/bimaterial_crack_test'
make[2]: Leaving directory '/home/standard/getfem/contrib/bimaterial_crack_test'
Making install in mixed_elastostatic
make[2]: Entering directory '/home/standard/getfem/contrib/mixed_elastostatic'
make[3]: Entering directory '/home/standard/getfem/contrib/mixed_elastostatic'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/mixed_elastostatic'
make[2]: Leaving directory '/home/standard/getfem/contrib/mixed_elastostatic'
Making install in xfem_contact
make[2]: Entering directory '/home/standard/getfem/contrib/xfem_contact'
make[3]: Entering directory '/home/standard/getfem/contrib/xfem_contact'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/xfem_contact'
make[2]: Leaving directory '/home/standard/getfem/contrib/xfem_contact'
Making install in crack_plate
make[2]: Entering directory '/home/standard/getfem/contrib/crack_plate'
make[3]: Entering directory '/home/standard/getfem/contrib/crack_plate'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/crack_plate'
make[2]: Leaving directory '/home/standard/getfem/contrib/crack_plate'
Making install in static_contact_gears
make[2]: Entering directory '/home/standard/getfem/contrib/static_contact_gears'
make[3]: Entering directory '/home/standard/getfem/contrib/static_contact_gears'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/static_contact_gears'
make[2]: Leaving directory '/home/standard/getfem/contrib/static_contact_gears'
Making install in level_set_contact
make[2]: Entering directory '/home/standard/getfem/contrib/level_set_contact'
make[3]: Entering directory '/home/standard/getfem/contrib/level_set_contact'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/level_set_contact'
make[2]: Leaving directory '/home/standard/getfem/contrib/level_set_contact'
Making install in test_plasticity
make[2]: Entering directory '/home/standard/getfem/contrib/test_plasticity'
make[3]: Entering directory '/home/standard/getfem/contrib/test_plasticity'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/test_plasticity'
make[2]: Leaving directory '/home/standard/getfem/contrib/test_plasticity'
Making install in opt_assembly
make[2]: Entering directory '/home/standard/getfem/contrib/opt_assembly'
make[3]: Entering directory '/home/standard/getfem/contrib/opt_assembly'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/opt_assembly'
make[2]: Leaving directory '/home/standard/getfem/contrib/opt_assembly'
Making install in continuum_mechanics
make[2]: Entering directory '/home/standard/getfem/contrib/continuum_mechanics'
make[3]: Entering directory '/home/standard/getfem/contrib/continuum_mechanics'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib/continuum_mechanics'
make[2]: Leaving directory '/home/standard/getfem/contrib/continuum_mechanics'
make[2]: Entering directory '/home/standard/getfem/contrib'
make[3]: Entering directory '/home/standard/getfem/contrib'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/contrib'
make[2]: Leaving directory '/home/standard/getfem/contrib'
make[1]: Leaving directory '/home/standard/getfem/contrib'
Making install in bin
make[1]: Entering directory '/home/standard/getfem/bin'
make[2]: Entering directory '/home/standard/getfem/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/standard/getfem/bin'
make[1]: Leaving directory '/home/standard/getfem/bin'
Making install in doc
make[1]: Entering directory '/home/standard/getfem/doc'
Making install in sphinx
make[2]: Entering directory '/home/standard/getfem/doc/sphinx'
make[3]: Entering directory '/home/standard/getfem/doc/sphinx'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/doc/sphinx'
make[2]: Leaving directory '/home/standard/getfem/doc/sphinx'
make[2]: Entering directory '/home/standard/getfem/doc'
make[3]: Entering directory '/home/standard/getfem/doc'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/standard/getfem/doc'
make[2]: Leaving directory '/home/standard/getfem/doc'
make[1]: Leaving directory '/home/standard/getfem/doc'
make[1]: Entering directory '/home/standard/getfem'
make[2]: Entering directory '/home/standard/getfem'
/usr/bin/mkdir -p '/opt/gf20251104_libmumps_ptscotch/bin'
/usr/bin/install -c getfem-config '/opt/gf20251104_libmumps_ptscotch/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/standard/getfem'
make[1]: Leaving directory '/home/standard/getfem'
After installation I’ve tested the installation with the following command:
PYTHONPATH=/opt/gf20251104_libmumps_ptscotch/lib/python3.12/site-packages/ mpirun -np 4 python3 check_mumps_ctx.py
I’ve the following log
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[2750,1],0]
Exit code: 1
or the following command
PYTHONPATH=/opt/gf20251104_libmumps_ptscotch/lib/python3.12/site-packages/ mpirun -np 4 python3 check_mumps_ctx.py
and the log
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
Traceback (most recent call last):
File "/home/standard/getfem/interface/tests/python/check_mumps_ctx.py", line 32, in <module>
import getfem as gf
ModuleNotFoundError: No module named 'getfem'
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[2722,1],0]
Exit code: 1
--------------------------------------------------------------------------
so it is saying that No module getfem
I also added the following line to the .bashrc
# <<< End GetFEM parallel installation >>>
export GETFEM_DIR=/opt/gf20251104_libmumps_ptscotch
export PATH="$GETFEM_DIR/bin:$PATH"
export LD_LIBRARY_PATH="$GETFEM_DIR/lib:$LD_LIBRARY_PATH"
export PYTHONPATH="$GETFEM_DIR/lib/python3.12/site-packages:$PYTHONPATH"
Please can you check and let me know if I did everything correctly?
Thank you for your help
Thierry