[gmx-developers] git master doesn't compile in mpi
pim schravendijk
pimlists at googlemail.com
Mon Jun 20 18:12:22 CEST 2011
Hello,
I did a recent git checkout, could compile in serial, but not with mpi:
# cmake -DCMAKE_C_FLAGS=-fPIC -DGMX_THREADS=OFF -DGMX_MPI=ON
-DCMAKE_INSTALL_PREFIX=$(pwd) ../
-- Using default binary suffix: "_mpi"
-- Using default library suffix: "_mpi"
WARNING
There are known problems with some MPI implementations:
OpenMPI version < 1.4.1
MVAPICH2 version <= 1.4.1 *
-- Checking for MPI_IN_PLACE
-- Checking for MPI_IN_PLACE - yes
-- checking for module 'libxml-2.0'
-- package 'libxml-2.0' not found
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR
GTEST_MAIN_LIBRARY)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR
GTEST_MAIN_LIBRARY)
-- Could NOT find GMock (missing: GMOCK_LIBRARY GMOCK_INCLUDE_DIR
GMOCK_MAIN_LIBRARY)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Looking for fseeko
-- Looking for fseeko - found
-- Loaded CMakeASM-ATTInformation - ASM-ATT support is still
experimental, please report issues
-- Configuring done
-- Generating done
-- Build files have been written to:
/install/software/gromacs_git_newest/install-openmpi
# make
[ 0%] Generating version information
[ 0%] Built target gmx_version
[ 0%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/readir.c.o
[ 0%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/toputil.c.o
[ 0%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/gen_ad.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/hackblock.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/readrot.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/gpp_atomtype.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/genhydro.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/gpp_bond_atomtype.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/gen_vsite.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/ter_db.c.o
[ 1%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/pgutil.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/pdb2top.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/h_db.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/add_par.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/topshake.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/topdirs.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/compute_io.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/readpull.c.o
[ 2%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/topio.c.o
[ 3%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/fflibutil.c.o
[ 3%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/toppush.c.o
[ 3%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/vsite_parm.c.o
[ 3%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/resall.c.o
[ 3%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/topexcl.c.o
[ 3%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/arraydata.cpp.o
[ 3%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/analysisdata.cpp.o
[ 3%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/abstractdata.cpp.o
[ 4%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/dataproxy.cpp.o
[ 4%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/modules/average.cpp.o
[ 4%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/modules/displacement.cpp.o
[ 4%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/modules/histogram.cpp.o
[ 4%] Building CXX object
src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/modules/plot.cpp.o
In file included from /opt/software/mpi/openmpi-1.4.2/gcc64/include/mpi.h:1886,
from
/install/software/gromacs_git_newest/src/gromacs/legacyheaders/types/commrec.h:39,
from
/install/software/gromacs_git_newest/src/gromacs/legacyheaders/typedefs.h:61,
from
/install/software/gromacs_git_newest/src/gromacs/legacyheaders/gmxfio.h:41,
from
/install/software/gromacs_git_newest/src/gromacs/analysisdata/modules/plot.cpp:51:
/opt/software/mpi/openmpi-1.4.2/gcc64/include/openmpi/ompi/mpi/cxx/mpicxx.h:168:
error: expected identifier before numeric constant
/opt/software/mpi/openmpi-1.4.2/gcc64/include/openmpi/ompi/mpi/cxx/mpicxx.h:168:
error: expected unqualified-id before numeric constant
make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/analysisdata/modules/plot.cpp.o]
Fehler 1
make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Fehler 2
make: *** [all] Fehler 2
More information about the gromacs.org_gmx-developers
mailing list