GROMACS version:2018
GROMACS modification: Yes/No
Hi
I installed gromacs 2018 on default location before. Now i wish to install gromacs 2019 on a non-standard location(/home/user/Documents). I also install mpich with command line :
sudo apt install mpich
and then followed this steps:
tar xfz gromacs-2019.5.tar.gz
cd gromacs-2019.5
mkdir build
cd build
cmake … -DGMX_BUILD_OWN_FFTW=ON -DCMAKE_INSTALL_PREFIX=/home/user/Documents/gromacs-2019.5 -DGMX_GPU=on -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda7.5
make
in this step after alot of lines, I countered this errors:
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier “__builtin_ia32_monitorx” is undefined
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier “__builtin_ia32_mwaitx” is undefined
2 errors detected in the compilation of “/tmp/tmpxft_00004256_00000000-19_nbnxn_cuda.compute_52.cpp1.ii”.
CMake Error at libgromacs_generated_nbnxn_cuda.cu.o.cmake:266 (message):
Error generating file
/home/azam/Documents/gromacs-2019.5/build/src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_cuda/./libgromacs_generated_nbnxn_cuda.cu.o
src/gromacs/CMakeFiles/libgromacs.dir/build.make:63: recipe for target ‘src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_cuda/libgromacs_generated_nbnxn_cuda.cu.o’ failed
make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_cuda/libgromacs_generated_nbnxn_cuda.cu.o] Error 1
CMakeFiles/Makefile2:2778: recipe for target ‘src/gromacs/CMakeFiles/libgromacs.dir/all’ failed
make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2
could you guide me how i can resolve this problem?