diff --git a/CMakeLists.txt b/CMakeLists.txt index acd4ec4b5311ccb2f8b143e3d86110da576fe4eb..c3283ed275d41bc8037269a6e4c03f91b06cf8a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -341,6 +341,9 @@ endif() include_directories(contrib/sgr) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) +set(BUILD_SANDBOX OFF CACHE BOOL "") +set(BUILD_DOC OFF CACHE BOOL "") + add_subdirectory(contrib/cereal) set(LINK_LIBS ${LINK_LIBS} cereal::cereal) option(OPT_USE_CEREAL_SERIALIZATION "Use cereal to serialize data" ON) diff --git a/src/maxwell/maxwell_solver.cpp b/src/maxwell/maxwell_solver.cpp index 78ca4a8091f5e2ac2596bc07c043ef164f36df84..b584d26d89216177460981d66caf18c1ccb83360 100644 --- a/src/maxwell/maxwell_solver.cpp +++ b/src/maxwell/maxwell_solver.cpp @@ -646,7 +646,9 @@ int main(int argc, char **argv) } catch(...) { - std::cout << "EXCEPTION" << std::endl; + std::cout << __FILE__ << ":" << __LINE__ << ": Got an exception" << std::endl; + std::cout << "This code is here to debug runs on LUMI, if you are" << std::endl; + std::cout << "not running on LUMI there is a major problem." << std::endl; retval = 1; }