Hello,
I’m trying to install FreeFem on a virtual machine running Pop!_OS 22.04 LTS. I have succesfully compiled both the real and complex versions of PETSc extarnally using these configurations:
./configure --download-mumps --download-parmetis --download-metis --download-hypre --download-superlu --download-slepc --download-hpddm --download-ptscotch --download-suitesparse --download-scalapack --download-tetgen --with-fortran-bindings=no --with-scalar-type=real --with-debugging=no
and
./configure --with-mumps-dir=arch-FreeFem --with-parmetis-dir=arch-FreeFem --with-metis-dir=arch-FreeFem --with-superlu-dir=arch-FreeFem --download-slepc --download-hpddm --with-ptscotch-dir=arch-FreeFem --with-suitesparse-dir=arch-FreeFem --with-scalapack-dir=arch-FreeFem --with-tetgen-dir=arch-FreeFem --with-fortran-bindings=no --with-scalar-type=complex --with-debugging=no
Both of them run the “make” and after that the “make check” commands without errors.
Next I’m trying to configure and compile FreeFem but ran into some issues.
The configuration:
git checkout develop
autoreconf -i
./configure --without-hdf5 --enable-download_metis --enable-download_parmetis --enable-download_mmg --enable-download_mmg3d --enable-download_parmmg --enable-download_mshmet --enable-download_nlopt --enable-optim --with-petsc=${PETSC_VAR}/lib --with-petsc_complex=${PETSC_VAR}-complex/lib
The config.log. If I run the make command after this, it fails with this error at the end:
make[3]: *** [Makefile:663: hpddm.so] Error 1
make[3]: Leaving directory '/home/km_freefem/FreeFem/FreeFem-sources/plugin/mpi'
make[2]: *** [Makefile:669: all-recursive] Error 1
make[2]: Leaving directory '/home/km_freefem/FreeFem/FreeFem-sources/plugin'
make[1]: *** [Makefile:806: all-recursive] Error 1
make[1]: Leaving directory '/home/km_freefem/FreeFem/FreeFem-sources'
make: *** [Makefile:756: all] Error 2
I didn’t find the either the make.log or the error.log file, but here is the whole terminal output.
I have MPICH 4.0 installed and both “mpiexec --version” and “mpirun --version” give back the same result.
Does anybody have any ideas?
Thanks in advance!