Thanks, that indeed helped. Now I am getting different errors during the make command. Could you take a look at it please? First first guess is that maybe the newer icpx
does not work with FreeFEM, and I should go back to icpc
.
make_out.log (41.2 KB)
make_err.log (31.1 KB)
It works, I’m using icpx
for about two years. Again, this is specific to your installation/machine.
Here is a successful compilation of FreeFem++
with icpx
.
$ icpx -I/ccc/products/gcc-14.2.0/system/default/include/c++/14.2.0/x86_64-pc-linux-gnu -Ofast -mavx2 -DNDEBUG -std=gnu++14 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -rdynamic -o FreeFem++ ../Graphics/sansrgraph.o ../mpi/parallelempi-empty.o ../fflib/ffapi.o ../fflib/compositeFESpace.o ../lglib/liblg.a ../fflib/libff.a -Wl,-rpath,/ccc/work/cont003/gen7519/gen7519/petsc/arch-linux-c-opt-real/lib -L/ccc/work/cont003/gen7519/gen7519/petsc/arch-linux-c-opt-real/lib -lspqr -lumfpack -lklu -lcholmod -lamd -Wl,-rpath,/ccc/work/cont003/gen7519/gen7519/petsc/arch-linux-c-opt-real/lib -L/ccc/work/cont003/gen7519/gen7519/petsc/arch-linux-c-opt-real/lib -lmetis -Wl,-rpath,/ccc/work/cont003/gen7519/gen7519/petsc/arch-linux-c-opt-real/lib -L/ccc/work/cont003/gen7519/gen7519/petsc/arch-linux-c-opt-real/lib -larpack -Wl,-rpath,/ccc/products/mkl-25.0.0/system/default/25.0.0/lib/intel64/intel64 -L/ccc/products/mkl-25.0.0/system/default/25.0.0/lib/intel64/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -liomp5 -ldl -lpthread -ldl -lm -lrt -L/ccc/products/gcc-14.2.0/system/default/lib64 -L/ccc/products2/ifx-25.0.0/Rhel_8__x86_64/system/default/compiler/2025.0/lib -L/ccc/products2/ifx-25.0.0/Rhel_8__x86_64/system/default/compiler/2025.0/lib/clang/19/lib/x86_64-unknown-linux-gnu -L/ccc/products2/gcc-14.2.0/Rhel_8__x86_64/system/default/bin/../lib/gcc/x86_64-pc-linux-gnu/14.2.0/ -L/ccc/products2/gcc-14.2.0/Rhel_8__x86_64/system/default/bin/../lib/gcc/ -L/ccc/products/gcc-14.2.0/system/default/lib64/../lib64 -L/ccc/products/gcc-14.2.0/system/default/lib64/../lib64/ -L/ccc/products2/gcc-14.2.0/Rhel_8__x86_64/system/default/bin/../lib/gcc/x86_64-pc-linux-gnu/14.2.0/../../../../lib64 -L/ccc/products2/gcc-14.2.0/Rhel_8__x86_64/system/default/bin/../lib/gcc/x86_64-pc-linux-gnu/14.2.0/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/ccc/products/gcc-14.2.0/system/default/lib64/ -L/ccc/products2/gcc-14.2.0/Rhel_8__x86_64/system/default/bin/../lib/gcc/x86_64-pc-linux-gnu/14.2.0/../../../ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib -lifport -lifcoremt -limf -lsvml -lm -lipgo -lirc -lpthread -lirc_s -ldl -lz
$ icpx --version
Intel(R) oneAPI DPC++/C++ Compiler 2025.0.0 (2025.0.0.20241008)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /ccc/products2/icx-25.0.0/Rhel_8__x86_64/system/default/compiler/2025.0/bin/compiler
Configuration file: /ccc/products2/icx-25.0.0/Rhel_8__x86_64/system/default/compiler/2025.0/bin/compiler/../icpx.cfg
Thanks for looking into it! I will look into it whether I did not mix modules up, and talk to the sysadmin for machine specific help.