[gmx-developers] cray-hugepages and compilation error

Stefan Richter stefan.richter at h-its.org
Wed Dec 16 14:30:54 CET 2015


I try to compile gromacs on a cray-XC-40 system using the intel compiler and the craype-hugepages loaded.
The cmake command is as follows:
module load PrgEnv-intel/5.2.56
module load craype-hugepages32M

export CC=cc
export CXX=CC
cmake -DGMX_PREFER_STATIC_LIBS=ON -DGMX_PREFER_STATIC_LIBS=ON -DCMAKE_C_COMPILER=cc -DCMAKE_CXX_COMPILER=CC -DGMX_SIMD=AVX2_256 -DGMX_BUILD_OWN_FFTW=ON  -DGMX_GPU=OFF  -DCMAKE_INSTALL_PREFIX=~/app/gromacs/5.0.7  -DBUILD_SHARED_LIBS=off   -DCMAKE_SKIP_RPATH=YES  -DGMX_MPI=ON -DGMX_OPENMP=ON -DGMX_BUILD_OWN_FFTW_URL=~/app/gromacs/dist/fftw-gromacs-5.0.7.tar.gz ..
make
make install

However, i do get an error related to the hugepages:


gromacs-5.0.7/src/gromacs/gmxlib/copyrite.cpp(743): error: identifier "libhugetlbfs" is undefined
               BUILD_CPU_FAMILY, BUILD_CPU_MODEL, BUILD_CPU_STEPPING);
               ^

gromacs-5.0.7/src/gromacs/gmxlib/copyrite.cpp(743): error: identifier "mom07" is undefined
               BUILD_CPU_FAMILY, BUILD_CPU_MODEL, BUILD_CPU_STEPPING);
               ^

gromacs-5.0.7/src/gromacs/gmxlib/copyrite.cpp(743): error: expected a ")"
               BUILD_CPU_FAMILY, BUILD_CPU_MODEL, BUILD_CPU_STEPPING);
               ^

gromacs-5.0.7/src/gromacs/gmxlib/copyrite.cpp(743): warning #267: the format string requires additional arguments
               BUILD_CPU_FAMILY, BUILD_CPU_MODEL, BUILD_CPU_STEPPING);
               ^

compilation aborted for /univ_1/ws1/ws/xhiricht-myspace-0/app/gromacs/src/gromacs-5.0.7/src/gromacs/gmxlib/copyrite.cpp (code 2)
make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/copyrite.cpp.o] Error 2

If i do not load the hugepages module, i do not get this error. However, from the computing center it is recommended to load these, and they will become default next year.

Any ideas where this error is coming from?

Kind regards.

-- 
Dr. Stefan Richter
Software and IT Specialist
Molecular and Cellular Modeling Group (MCM)
HITS gGmbH
Schloss-Wolfsbrunnenweg 35
69118 Heidelberg
Germany
  
phone: +49 - 6221 - 533 279
fax: +49 6221 533298
email: Stefan.Richter at h-its.org
http://www.h-its.org
_________________________________________________
Amtsgericht Mannheim / HRB 337446
Managing Director:
Prof. Dr.-Ing. Andreas Reuter



More information about the gromacs.org_gmx-developers mailing list