<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,
<br>
<br>
I'm compiling gromacs 4.5.5 with gcc compiler (v 4.5.3), cmake (2.8.7) and OpenMM 3.1.1 on Linux (Red Hat release 5.7). I have followed the installation instructions.&nbsp;
<br>
<br>
The configuration seems to work well. <br>
<br>
&gt; ~/progs/cmake-2.8.7/bin/cmake -DGMX_OPENMM=ON -DCUDA_TOOLKIT_ROOT_DIR:PATH=/opt/cuda -DCMAKE_C_COMPILER:FILEPATH=/private/gnss/local/bin/gcc -DCMAKE_INSTALL_PREFIX=/private/gnss/Gromacs_455<br>
<br>
But, when I run make mdrun I get the following error:<br>
<br>
&gt;make mdrun<br>
[&nbsp; 0%] Building NVCC (Device) object src/kernel/gmx_gpu_utils/./gmx_gpu_utils_generated_memtestG80_core.cu.o<br>
cc1plus: error: unrecognized command line option &quot;-fexcess-precision=fast&quot;<br>
CMake Error at CMakeFiles/gmx_gpu_utils_generated_memtestG80_core.cu.o.cmake:198 (message):<br>
&nbsp; Error generating<br>
&nbsp; /private/gnss/Gromacs_Install_455/gromacs-4.5.5/src/kernel/gmx_gpu_utils/./gmx_gpu_utils_generated_memtestG80_core.cu.o<br>
<br>
<br>
make[3]: *** [src/kernel/gmx_gpu_utils/./gmx_gpu_utils_generated_memtestG80_core.cu.o] Error 1<br>
make[2]: *** [src/kernel/gmx_gpu_utils/CMakeFiles/gmx_gpu_utils.dir/all] Error 2<br>
make[1]: *** [src/kernel/CMakeFiles/mdrun.dir/rule] Error 2<br>
make: *** [mdrun] Error 2<br>
<br>
When I run make mdrun after deleting the 2 occurences of &quot;-fexcess-precision=fast&quot; from CMakeCache.txt the compilation works.
<br>
<br>
What could be the problem? <br>
<br>
Thanks, Efrat<br>
</div>
</body>
</html>