[gmx-developers] Problems detecting SSE2 on a Xeon Woodcrest with 4.6

Jochen Hub jhub at gwdg.de
Thu Dec 20 23:30:45 CET 2012



Am 12/20/12 9:47 PM, schrieb Teemu Murtola:
> For the compilation error, https://gerrit.gromacs.org/#/c/1946/ 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.

Yes, indeed, there was an error that -msse2 was not accepted. I guess I 
should just ask for newer compilers.

I'll also check your fix.

Thanks,
Jochen


>
>
> On Thu, Dec 20, 2012 at 10:27 PM, Jochen Hub <jhub at gwdg.de
> <mailto:jhub at gwdg.de>> wrote:
>
>     Hi developers,
>
>     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:
>
>     -- Detecting best acceleration for this CPU - SSE2  # correct for a
>     Woodcrest
>     -- Performing Test CFLAGS_SSE2 - Failed  # ????
>     -- Enabling SSE2 Gromacs acceleration, and it will help compiler
>     optimization.
>     -- Performing Test GNU_SSE2_CFLAG - Failed   (not sure if that is
>     expected when using icc)
>
>     When compiling with mvapich2, I get the error
>
>     /usr/users/cmb/shared/src/gmx/__gromacs/include/types/../gmx___cpuid.h(260):
>     error: identifier "FILE" is undefined
>                                         FILE *                     log);
>
>     My cmake call is pretty normal (and yields cmake output):
>
>     source /usr/product/parallel/__mvapich2/intel/bin/mpivars.sh
>     export CC=`which mpicc`     # looks ok
>     export CXX=`which mpicxx`   # also ok
>     export FFTW_LOCATION=/usr/users/jhub/__opt/fftw/fftw33/nehalem/build
>
>     rm -fr CMakeFiles CMakeCache.txt cmake
>     export CMAKE_PREFIX_PATH=$FFTW___LOCATION
>     export LANG=C
>     $cmake /usr/users/cmb/shared/src/gmx/__gromacs \
>          -DCMAKE_INSTALL_PREFIX=$(pwd) \
>          -DGMX_X11=OFF \
>          -DCMAKE_C_COMPILER=$CC \
>          -DCMAKE_CXX_COMPILER=$CXX \
>          -DGMX_MPI=ON \
>          -DGMX_GPU=OFF \
>          -DGMX_PREFER_STATIC_LIBS=ON \
>          -DGMX_GIT_VERSION_INFO=OFF
>
>     Any ideas what the error and the cmake output means?
>
>     Many thanks,
>     Jochen
>
>
>     --
>     ------------------------------__---------------------
>     Dr. Jochen Hub
>     Computational Molecular Biophysics Group
>     Institute for Microbiology and Genetics
>     Georg-August-University of Göttingen
>     Justus-von-Liebig-Weg 11, 37077 Göttingen, Germany.
>     Phone: +49-551-39-14189 <tel:%2B49-551-39-14189>
>     http://cmb.bio.uni-goettingen.__de/ <http://cmb.bio.uni-goettingen.de/>
>     ------------------------------__---------------------
>     --
>     gmx-developers mailing list
>     gmx-developers at gromacs.org <mailto:gmx-developers at gromacs.org>
>     http://lists.gromacs.org/__mailman/listinfo/gmx-__developers
>     <http://lists.gromacs.org/mailman/listinfo/gmx-developers>
>     Please don't post (un)subscribe requests to the list. Use the www
>     interface or send it to gmx-developers-request at __gromacs.org
>     <mailto:gmx-developers-request at gromacs.org>.
>
>     --
>     Teemu Murtola
>     <teemu.murtola at iki.fi <mailto:teemu.murtola at iki.fi>>
>     +358 50 362 6829
>
>
>

-- 
---------------------------------------------------
Dr. Jochen Hub
Computational Molecular Biophysics Group
Institute for Microbiology and Genetics
Georg-August-University of Göttingen
Justus-von-Liebig-Weg 11, 37077 Göttingen, Germany.
Phone: +49-551-39-14189
http://cmb.bio.uni-goettingen.de/
---------------------------------------------------



More information about the gromacs.org_gmx-developers mailing list