[gmx-developers] Problems detecting SSE2 on a Xeon Woodcrest with 4.6
Teemu Murtola
teemu.murtola at gmail.com
Thu Dec 20 21:47:34 CET 2012
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.
On Thu, Dec 20, 2012 at 10:27 PM, Jochen Hub <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
> http://cmb.bio.uni-goettingen.**de/ <http://cmb.bio.uni-goettingen.de/>
> ------------------------------**---------------------
> --
> gmx-developers mailing list
> 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@**gromacs.org<gmx-developers-request at gromacs.org>
> .
>
> --
> Teemu Murtola
> <teemu.murtola at iki.fi>
> +358 50 362 6829
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20121220/23ae06e5/attachment.html>
More information about the gromacs.org_gmx-developers
mailing list