I was trying to install gromacs 2019 in an non-standard. but i countered this error:
/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_00003864_00000000-19_nbnxn_cuda.compute_52.cpp1.ii”.
CMake Error at libgromacs_generated_nbnxn_cuda.cu.o.cmake:266 (message):
Error generating file
It would be important to know that. The guide includes a number of different commands that you have to tailor to your individual needs. Maybe you have to manually specificy that you dont want CUDA support. Please do paste the command that gave rise to the output that you have attached
Hello Mikel. these are commands that i used to compile gromacs:
1.tar xfz gromacs-2019.5.tar.gz
2. cd gromacs-2019.5
3. mkdir build
4. cd build
5. cmake … -DGMX_BUILD_OWN_FFTW=ON -DCMAKE_INSTALL_PREFIX=/home/azam/Desktop/gromacs-2019.5 -DGMX_GPU=on -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda7.5.18
after make command i countered that error.
also when I used this command without gpu
cmake … -DGMX_BUILD_OWN_FFTW=ON -DCMAKE_INSTALL_PREFIX=/home/azam/Desktop/gromacs-2019.5
but in both states i countered that error.
Thank you for your advice . Running cmake with -DGMX_GPU=OFF workd and i was able to install gromacs-2020 in my Ubuntu .
But you said me that late because i bought my new grafic card and it will arrive to me soon. can you guide me if i compil gromacs 2020 using `-DGMX_GPU=on , how i uninstall the current version?