<div dir="ltr">For the compilation error, <a href="https://gerrit.gromacs.org/#/c/1946/">https://gerrit.gromacs.org/#/c/1946/</a> should fix that (unrelated to SSE2). The cmake output reports that your compiler does not accept the command-line options that cmake tests for, but a comment in the cmake code suggests that it may still work.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 10:27 PM, Jochen Hub <span dir="ltr">&lt;<a href="mailto:jhub@gwdg.de" target="_blank">jhub@gwdg.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi developers,<br>
<br>
I try to compile the latest 4.6 either with an mvapich2 (based on icc 11.0) on a Xeon Woodcrest. cmake gives the strange output:<br>
<br>
-- Detecting best acceleration for this CPU - SSE2  # correct for a Woodcrest<br>
-- Performing Test CFLAGS_SSE2 - Failed  # ????<br>
-- Enabling SSE2 Gromacs acceleration, and it will help compiler optimization.<br>
-- Performing Test GNU_SSE2_CFLAG - Failed   (not sure if that is expected when using icc)<br>
<br>
When compiling with mvapich2, I get the error<br>
<br>
/usr/users/cmb/shared/src/gmx/<u></u>gromacs/include/types/../gmx_<u></u>cpuid.h(260): error: identifier &quot;FILE&quot; is undefined<br>
                                   FILE *                     log);<br>
<br>
My cmake call is pretty normal (and yields cmake output):<br>
<br>
source /usr/product/parallel/<u></u>mvapich2/intel/bin/mpivars.sh<br>
export CC=`which mpicc`     # looks ok<br>
export CXX=`which mpicxx`   # also ok<br>
export FFTW_LOCATION=/usr/users/jhub/<u></u>opt/fftw/fftw33/nehalem/build<br>
<br>
rm -fr CMakeFiles CMakeCache.txt cmake<br>
export CMAKE_PREFIX_PATH=$FFTW_<u></u>LOCATION<br>
export LANG=C<br>
$cmake /usr/users/cmb/shared/src/gmx/<u></u>gromacs \<br>
    -DCMAKE_INSTALL_PREFIX=$(pwd) \<br>
    -DGMX_X11=OFF \<br>
    -DCMAKE_C_COMPILER=$CC \<br>
    -DCMAKE_CXX_COMPILER=$CXX \<br>
    -DGMX_MPI=ON \<br>
    -DGMX_GPU=OFF \<br>
    -DGMX_PREFER_STATIC_LIBS=ON \<br>
    -DGMX_GIT_VERSION_INFO=OFF<br>
<br>
Any ideas what the error and the cmake output means?<br>
<br>
Many thanks,<br>
Jochen<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
------------------------------<u></u>---------------------<br>
Dr. Jochen Hub<br>
Computational Molecular Biophysics Group<br>
Institute for Microbiology and Genetics<br>
Georg-August-University of Göttingen<br>
Justus-von-Liebig-Weg 11, 37077 Göttingen, Germany.<br>
Phone: <a href="tel:%2B49-551-39-14189" value="+495513914189" target="_blank">+49-551-39-14189</a><br>
<a href="http://cmb.bio.uni-goettingen.de/" target="_blank">http://cmb.bio.uni-goettingen.<u></u>de/</a><br>
------------------------------<u></u>---------------------<br>
-- <br>
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org" target="_blank">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/<u></u>mailman/listinfo/gmx-<u></u>developers</a><br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@<u></u>gromacs.org</a>.<br clear="all">
<div><br></div>-- <br>Teemu Murtola<br>&lt;<a href="mailto:teemu.murtola@iki.fi" target="_blank">teemu.murtola@iki.fi</a>&gt;<br>+358 50 362 6829

</font></span></blockquote></div></div>