CMAKE add on NERSC
Summary
Compilation fails on cori.nersc.gov
Steps to reproduce
(How one can reproduce the issue - this is very important) On cori01.nersc.gov try to compile OPAL/master
What is the current bug behavior?
Compilation fails
Relevant logs and/or screenshots
none
Possible fixes
For any one else who might be compiling soon. Adding one line to CMakeLists.txt allowed me to use the defaults on NERSC:
cookbg@cori01:~/consult/INC0141785/src> ls
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c60179a4..29d64821 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,6 +126,7 @@ if (USE_STATIC_LIBRARIES)
endif ()
set (Boost_USE_MULTITHREADED OFF)
set (Boost_USE_STATIC_RUNTIME OFF)
+set (Boost_NO_BOOST_CMAKE ON)
find_package (Boost
REQUIRED COMPONENTS chrono filesystem iostreams regex serialization system timer)
if (Boost_INCLUDE_DIRS)
Edited by kraus