These are chat archives for elemental/chat

Oct 2017
Yashar Hezaveh
Oct 17 2017 20:22

Hi Jack et al. I'm trying to compile an old commit of elemental (git checkout a70f4fe5d842fcd0c8e57e5c99882dd5e9806874). I'm trying to compile it on an Xsede cluster (Bridges) and I have trouble with cmake configuration. I'm using cmake/3.7.2 and I try:
cmake \
-D CMAKE_Fortran_COMPILER=ifort \
-D MPI_C_COMPILER=mpiicc \
-D MPI_Fortran_COMPILER=mpiifort \
-D MATH_LIBS="-mkl=sequential" \

but I get this error:

-- Checking C++ support for "variadic_templates"
-- Checking C++ support for "variadic_templates": works
CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:194 (message):
Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS(): "1"
Call Stack (most recent call first):
cmake/modules/FindCXXFeatures.cmake:163 (find_package_handle_standard_args)
cmake/detect/CXX.cmake:9 (include)
CMakeLists.txt:309 (include)

-- Configuring incomplete, errors occurred!
See also "/pylon5/as560kp/hezaveh/Elemental/build/CMakeFiles/CMakeOutput.log".

network admin people haven't managed to fix it for me yet. I appreciate any help!

Yashar Hezaveh
Oct 17 2017 21:26

if instead I use cmake 3.0.0 I don't get that error, but then it can't find the mpi libraries and ends with:
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES)
CMake Error at cmake/detect/MPI.cmake:13 (message):
MPI C compiler was not found and is required
Call Stack (most recent call first):
CMakeLists.txt:314 (include)

-- Configuring incomplete, errors occurred!