-
Notifications
You must be signed in to change notification settings - Fork 49
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
Compiled errors using intel compiler #76
Comments
Based on the error message, it seems that svFSI/Code/Source/svFSI/CMakeLists.txt Line 214 in 5e7f085
Can you change it to |
I change to -qmkl and same error happened, I think the error is caused by linking the static bundle packages (.a) of ”zlib;parmetis;metis“ in Third part directory. While the Trilinos package is dynamic (.so). |
Dear all,
I use Intel oneAPI 2022.1.1 to compile svFSI with following command:
cmake \ -DCMAKE_C_COMPILER:PATH=/opt/intel/oneapi/compiler/2022.0.1/linux/bin/intel64/icc \ -DCMAKE_CXX_COMPILER:PATH=/opt/intel/oneapi/compiler/2022.0.1/linux/bin/intel64/icpc \ -DCMAKE_Fortran_COMPILER:PATH=/opt/intel/oneapi/compiler/2022.0.1/linux/bin/intel64/ifort \ -DCMAKE_PREFIX_PATH:PATH=/home/tfblab/compile_with_intel_compiler/trilinos_13_2_0/lib/cmake/Trilinos \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DSV_BUILD_TYPE_DIR:STRING="Release" \ ..
The last step of linking to the exec svFSI, some errors are thrown
[ 69%] Linking Fortran executable ../../bin/svFSI ifort: command line remark #10412: option '-mkl' is deprecated and will be removed in a future release. Please use the replacement option '-qmkl' ld: CMakeFiles/svFSI.dir/COMU.f.o(.text+0x1a0d): unresolvable R_X86_64_32S relocation against symbol
mpipriv1_'make[5]: *** [Source/svFSI/CMakeFiles/svFSI.dir/build.make:1602: bin/svFSI] Error 1
make[4]: *** [CMakeFiles/Makefile2:430: Source/svFSI/CMakeFiles/svFSI.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/svFSI.dir/build.make:86: svFSI-prefix/src/svFSI-stamp/svFSI-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/svFSI.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
`
Could any one help me out?
Best
Chen
The text was updated successfully, but these errors were encountered: