GROMACS version: 2019.6
GROMACS modification: No
Greetings,
I am having an issue on building gromacs with intel mkl libraries (both 2020 and 2018 versions).
I’ve installed the Intel parallel studio xe on ubuntu 18.04 as root (in /opt/intel directory) and I’ve sourced the psxevars.sh, mklvars.sh and compilervars.sh and also added mkl library paths to LD_LIBRARY_PATH variables.
But in building process of gromacs (using cmake command) it raises an error in which it does not able to recognize mkl libraries. It says that it could not find “DftiCreateDescriptor”.
by the way I used gcc/g++ compilers in the build process
Here is the last lines of CMAKEERROR file
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_392d6.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=DftiCreateDescriptor CMakeFiles/cmTC_392d6.dir/CheckFunctionExists.c.o -o cmTC_392d6
CMakeFiles/cmTC_392d6.dir/CheckFunctionExists.c.o: In function main': CheckFunctionExists.c:(.text+0x10): undefined reference to
DftiCreateDescriptor’
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_392d6.dir/build.make:97: recipe for target ‘cmTC_392d6’ failed
make[1]: *** [cmTC_392d6] Error 1
make[1]: Leaving directory ‘/home/alisufali/Softwares/gromacs-2019.6/build2/CMakeFiles/CMakeTmp’
Makefile:126: recipe for target ‘cmTC_392d6/fast’ failed
make: *** [cmTC_392d6/fast] Error 2