Changeset 5014 for BOL/LMDZ_Setup_amaury/lmdz_env.sh
- Timestamp:
- Jul 4, 2024, 3:29:11 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup_amaury/lmdz_env.sh
r5006 r5014 64 64 NB_MPI_MAX=5 65 65 NB_OMP_MAX=1 66 NB_CORE_PER_NODE_MAX=0 67 N_HYPERTHREADING=1 66 68 MPICMD="mpirun -np" # on spirit, we can't run MPI using srun from within sbatch 67 69 RUNBASHCMD="bash" … … 96 98 LMDZD="$root_dir/LMDZD" 97 99 LMDZ_INIT="$root_dir/LMDZ_Init" 98 NB_MPI_MAX=1 # TODO 2000 in JZ 99 NB_OMP_MAX=1 # TODO 20 in JZ 100 NB_MPI_MAX=2000 101 NB_OMP_MAX=200 102 NB_CORE_PER_NODE_MAX=96 103 N_HYPERTHREADING=2 100 104 MPICMD="srun -n" 101 105 RUNBASHCMD="srun --label --account=$account --constraint=GENOA --ntasks-per-node=1 -n 1 --time=00:10:00 -c" … … 108 112 LMDZD="$root_dir/LMDZD" # Where the sources will be downloaded and compiled 109 113 LMDZ_INIT="$root_dir/LMDZ_Init" # Where to store shared files used for initialisation 110 NB_MPI_MAX=2 # Max number of MPI cores (only for running simulations) 111 NB_OMP_MAX=1 # Max number of OMP threads (only for running simulations) 114 NB_MPI_MAX=33 # Max number of MPI cores (only for running simulations) 115 NB_OMP_MAX=100 # Max number of OMP threads (only for running simulations) 116 NB_CORE_PER_NODE_MAX=0 # Max number of cores per node (real cores, not hyperthreading - only for running simulations, cluster-specific) 117 N_HYPERTHREADING=1 # How many hyperthreading threads per physical core 112 118 MPICMD="mpirun -np" # command to run an mpi executable, as $MPICMD <nprocs> <script> 113 119 RUNBASHCMD="bash" # command to run a bash job, as $runbashcmd (nthreads) <script> [nthreads only supplied if =/="bash"]
Note: See TracChangeset
for help on using the changeset viewer.