# General build settings set(CMAKE_BUILD_TYPE Release CACHE STRING "") set(BUILD_SHARED_LIBS ON CACHE BOOL "") set(CMAKE_INSTALL_PREFIX /mnt/lustre/phy3/phyalan/paraview-cray/compiled CACHE PATH "") # Enable the appropriate packages set(ENABLE_boost ON CACHE BOOL "") set(ENABLE_bzip2 OFF CACHE BOOL "") set(ENABLE_cosmotools ON CACHE BOOL "") set(ENABLE_ffmpeg OFF CACHE BOOL "") set(ENABLE_freetype ON CACHE BOOL "") set(ENABLE_genericio ON CACHE BOOL "") set(ENABLE_hdf5 ON CACHE BOOL "") set(ENABLE_lapack ON CACHE BOOL "") set(ENABLE_libxml2 OFF CACHE BOOL "") #set(ENABLE_llvm ON CACHE BOOL "") set(ENABLE_matplotlib ON CACHE BOOL "") set(ENABLE_mpi ON CACHE BOOL "") set(ENABLE_numpy ON CACHE BOOL "") set(ENABLE_osmesa OFF CACHE BOOL "") set(mesa_SWR_ARCH "avx,avx2" CACHE STRING "") set(ENABLE_ospray OFF CACHE BOOL "") set(ENABLE_paraview ON CACHE BOOL "") set(ENABLE_paraviewsdk ON CACHE BOOL "") set(ENABLE_png OFF CACHE BOOL "") set(ENABLE_python ON CACHE BOOL "") #set(ENABLE_python3 ON CACHE BOOL "") #set(ENABLE_python2 OFF CACHE BOOL "") set(ENABLE_silo OFF CACHE BOOL "") set(ENABLE_visitbridge ON CACHE BOOL "") set(ENABLE_vtkm OFF CACHE BOOL "") set(ENABLE_xdmf3 ON CACHE BOOL "") set(ENABLE_zlib ON CACHE BOOL "") # Work around cmake bug, which values from `which cc,CC,ftn` set(MPI_CXX_COMPILER /opt/cray/pe/craype/2.5.15/bin/CC CACHE STRING "") set(MPI_C_COMPILER /opt/cray/pe/craype/2.5.15/bin/cc CACHE STRING "") set(MPI_Fortran_COMPILER /opt/cray/pe/craype/2.5.15/bin/ftn CACHE STRING "") # These will get pulled from the compute node's userland set(USE_SYSTEM_boost OFF CACHE BOOL "") set(USE_SYSTEM_bzip2 OFF CACHE BOOL "") set(USE_SYSTEM_freetype ON CACHE BOOL "") set(USE_SYSTEM_hdf5 ON CACHE BOOL "") set(USE_SYSTEM_lapack ON CACHE BOOL "") set(USE_SYSTEM_libxml2 ON CACHE BOOL "") #set(USE_SYSTEM_llvm ON CACHE BOOL "") set(USE_SYSTEM_matplotlib ON CACHE BOOL "") set(USE_SYSTEM_mpi ON CACHE BOOL "") set(USE_SYSTEM_numpy ON CACHE BOOL "") set(USE_SYSTEM_osmesa OFF CACHE BOOL "") set(USE_SYSTEM_png ON CACHE BOOL "") set(USE_SYSTEM_python ON CACHE BOOL "") set(USE_SYSTEM_zlib ON CACHE BOOL "") # ParaView details set(SUPERBUILD_PROJECT_PARALLELISM 24 CACHE STRING "") set(paraview_SOURCE_SELECTION 5.4.0 CACHE BOOL "") # Specify where the necessary tarballs have been downloaded to set(superbuild_download_location ${CMAKE_BINARY_DIR}/../../downloads CACHE STRING "") # Another, ensure we get cray python set(PYTHON_EXECUTABLE /opt/python/2.7.15.3/bin/python CACHE FILEPATH "") set(PYTHON_INCLUDE_DIR /opt/python/2.7.15.3/include/python2.7 CACHE PATH "") set(PYTHON_LIBRARY /opt/python/2.7.15.3/lib/libpython2.7.so CACHE FILEPATH "") #set(superbuild_python_pip /opt/python/2.7.15.3/bin/pip CACHE FILEPATH "") #LLVM must have cce/9.0 or above #set(LLVM_PREFIX /opt/cray/pe/cce/9.0.2/cce-clang/x86_64 CACHE PATH "")