Debian Codegraph @

Modules/ThirdParty/HDF5/src/itkhdf5/config/cmake/scripts/HPC/raybsub-HDF5options.cmake

raw
1 #
2 # Copyright by The HDF Group.
3 # All rights reserved.
4 #
5 # This file is part of HDF5. The full HDF5 copyright notice, including
6 # terms governing use, modification, and redistribution, is contained in
7 # the COPYING file, which can be found at the root of the source code
8 # distribution tree, or in https://www.hdfgroup.org/licenses.
9 # If you do not have access to either file, you may request a copy from
10 # [email protected].
11 #
12 #############################################################################################
13 #### Change default configuration of options in config/cmake/cacheinit.cmake file ###
14 #### format: set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DXXX:YY=ZZZZ") ###
15 #############################################################################################
16 if (DEFINED MPI)
17 # maximum parallel processor count for build and test ####
18 set (MAX_PROC_COUNT 8)
19 endif()
20 #############################################################################################
21 ### options to run test scripts in batch commands
22 set (LOCAL_BATCH_SCRIPT_COMMAND "raybsub")
23 set (LOCAL_BATCH_TEST "TRUE")
24 set (LOCAL_BATCH_SCRIPT_NAME "ray_ctestS.lsf")
25 set (LOCAL_BATCH_SCRIPT_PARALLEL_NAME "ray_ctestP.lsf")
26 set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLOCAL_BATCH_TEST:BOOL=ON")
27 set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLOCAL_BATCH_SCRIPT_COMMAND:STRING=${LOCAL_BATCH_SCRIPT_COMMAND}")
28 set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLOCAL_BATCH_SCRIPT_NAME:STRING=${LOCAL_BATCH_SCRIPT_NAME}")
29 set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLOCAL_BATCH_SCRIPT_PARALLEL_NAME:STRING=${LOCAL_BATCH_SCRIPT_PARALLEL_NAME}")
30 set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DMPIEXEC_EXECUTABLE:STRING=mpirun")
31 set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DMPIEXEC_NUMPROC_FLAG:STRING=-np")
32 set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DMPIEXEC_MAX_NUMPROCS:STRING=6")