[gmx-users] xeon phi make fails

Sikandar Mashayak symashayak at gmail.com
Wed Jun 17 21:47:23 CEST 2015


Hi,

The build 5.0.5 version for Intel Xeon Phi fails with the errors like

/home/mashayak/gromacs-5.0.5/src/gromacs/commandline/cmdlineprogramcontext.cpp(191):
error: identifier "GMXLIB_SEARCH_DIR" is undefined
      std::string testPath = Path::join(path, GMXLIB_SEARCH_DIR);

I am not sure why?

The cmake options that I use are:

cmake \
-D CMAKE_TOOLCHAIN_FILE=Platform/XeonPhi \
-D CMAKE_C_COMPILER=/projects/opt/intel/impi/5.0.2.044/mic/bin/mpiicc \
-D CMAKE_C_FLAGS="-O3 -mmic -I$ZLIB_DIR/include" \
-D CMAKE_CXX_COMPILER=/projects/opt/intel/impi/5.0.2.044/mic/bin/mpiicpc \
-D CMAKE_CXX_FLAGS="-O3 -mmic -I$ZLIB_DIR/include" \
-D CMAKE_EXE_LINKER_FLAGS="-L$ZLIB_DIR/lib" \
-D Boost_DIR=/projects/opt/boost/1.58.0/ \
-D Boost_INCLUDE_DIR=/projects/opt/boost/1.58.0/include/ \
-D GMX_FFT_LIBRARY=mkl \
-D GMX_MPI=ON \
-D GMX_OPENMP=ON \
-D GMX_THREAD_MPI=OFF \
-D GMX_GPU=OFF \
-D GMX_XML=OFF \
-D GMX_DEFAULT_SUFFIX=OFF \
-D GMX_BINARY_SUFFIX=_phi \
-D GMX_LIBS_SUFFIX=_phi \
-D CMAKE_INSTALL_PREFIX=$INSTALL_PATH \
-D BUILD_SHARED_LIBS=OFF \
-D GMX_PREFER_STATIC_LIBS=ON \
$SOURCE_PATH


Thanks,
Sikandar


More information about the gromacs.org_gmx-users mailing list