Changeset 5000 for BOL/LMDZ_Setup_amaury/lmdz_env.sh
- Timestamp:
- Jul 1, 2024, 10:09:23 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup_amaury/lmdz_env.sh
r4995 r5000 44 44 NB_MPI_MAX=2000 45 45 NB_OMP_MAX=20 46 RUNCMD="srun --label -n" 46 MPICMD="srun -n" 47 RUNBASHCMD="srun -A $account@cpu --label -n 1 -c" 47 48 SUBMITCMD="sbatch -A $account@cpu" 48 49 ;; … … 54 55 module load cdo/2.3.0 55 56 56 root_dir= ~/"LMDZ_SETUP_ROOT/LMDZ_Setup";57 root_dir="/data/abarral/LMDZ_SETUP_ROOT/LMDZ_Setup"; 57 58 ARCH="X64_MESOIPSL-GNU" 58 59 SIMRUNBASEDIR="$SCRATCH/" 59 60 LMDZD="$root_dir/LMDZD" 60 61 LMDZ_INIT="$root_dir/LMDZ_Init" 61 NB_MPI_MAX= 2062 NB_MPI_MAX=5 62 63 NB_OMP_MAX=1 63 RUNCMD="mpirun -n" # on spirit, we can't run MPI using srun from within sbatch 64 MPICMD="mpirun -np" # on spirit, we can't run MPI using srun from within sbatch 65 RUNBASHCMD="bash" 64 66 SUBMITCMD="sbatch" 65 67 ;; … … 94 96 NB_MPI_MAX=1 # TODO 2000 in JZ 95 97 NB_OMP_MAX=1 # TODO 20 in JZ 96 RUNCMD="srun --label --account=$account --constraint=GENOA -n" 98 MPICMD="srun -n" 99 RUNBASHCMD="srun --label --account=$account --constraint=GENOA --ntasks-per-node=1 -n 1 --time=00:10:00 -c" 97 100 SUBMITCMD="sbatch --constraint=GENOA --account=$account" 98 101 ;; … … 105 108 NB_MPI_MAX=2 # Max number of MPI cores (only for running simulations) 106 109 NB_OMP_MAX=1 # Max number of OMP threads (only for running simulations) 107 RUNCMD="mpirun -np" # command to run a job, as $runcmd <nprocs> <script> 110 MPICMD="mpirun -np" # command to run an mpi executable, as $MPICMD <nprocs> <script> 111 RUNBASHCMD="bash" # command to run a bash job, as $runbashcmd (nthreads) <script> [nthreads only supplied if =/="bash"] 108 112 SUBMITCMD="." # command to sumbit a job, as $submitcmd <script> 109 113 ;;
Note: See TracChangeset
for help on using the changeset viewer.