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
/home/azam/Desktop/gromacs-2019.5/build/src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_cuda/./libgromacs_generated_nbnxn_cuda.cu.o
A quick google search of your error message directs to a bunch of posts of people complaining about such error message during the compilation or use of CUDA-related applications.
What was the command you used to compile gromacs?
What is your CUDA version?
Also, unless you need it for some reason, it would not hurt to install the 2020 version of gromacs ;)
Updating your CUDA will likely solve the issue, but there seem to be workarounds
Hi Mikel,
thanks for your reply. I used nstallation guide — GROMACS 2019.5 documentation and after make
command and downloding 32% this error appeared ! Screenshot from 2020-06-14 09-45-16|625x500
my grafic card is geforce gt 1030 and is not cuda enabled according to this website: https://developer.nvidia.com/cuda-gpus.
So i think updating cuda not work.
coud you tell me other suggest?
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
6. make
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?