Changeset 5034 for BOL/LMDZ_Setup_amaury
- Timestamp:
- Jul 9, 2024, 2:11:12 PM (5 months ago)
- Location:
- BOL/LMDZ_Setup_amaury
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup_amaury/lmdz_env.sh
r5032 r5034 100 100 NB_MPI_MAX=2000 101 101 NB_OMP_MAX=200 102 NB_CORE_PER_NODE_MAX= 96102 NB_CORE_PER_NODE_MAX=192 103 103 N_HYPERTHREADING=2 104 104 MPICMD="srun -n" 105 105 RUNBASHCMD="srun --label --account=$account --constraint=GENOA --ntasks-per-node=1 -n 1 --time=00:15:00 -c" 106 SUBMITCMD=" sbatch --constraint=GENOA --account=$account"106 SUBMITCMD="env $(env | grep -E "SLURM_|SBATCH_|SRUN_" | cut -d= -f1 | awk '{print "-u " $0}') sbatch --constraint=GENOA --account=$account" # we need to remove the existing SLURM variables otherwise they lay be unexpectedly inherited by the submitted script 107 107 ;; 108 108 *) echo "WARNING: RUNNING THIS SCRIPT ON A LOCAL COMPUTER IS DISCOURAGED (lackluster cpus and memory)" -
BOL/LMDZ_Setup_amaury/script_SIMU
r5006 r5034 20 20 #@SP#SBATCH --ntasks=8 21 21 #@SP#SBATCH --cpus-per-task=8 22 #@SP#SBATCH --hint=nomultithread23 22 #@SP#SBATCH --time=00:30:00 24 23 #@SP#SBATCH --output=outNOM_SIMU%j … … 28 27 #@ADS#SBATCH --ntasks=8 29 28 #@ADS#SBATCH --cpus-per-task=8 30 #@ADS#SBATCH --ntasks-per-node=8 # TODO check how to scale this 31 #@ADS#SBATCH --hint=nomultithread 29 #@ADS#SBATCH --ntasks-per-node=8 32 30 #@ADS#SBATCH --time=00:30:00 33 31 #@ADS#SBATCH --output=outNOM_SIMU%j -
BOL/LMDZ_Setup_amaury/setup.sh
r5030 r5034 688 688 if [[ $ok_guide != "y" ]]; then # Running first simulation automatically except for nudging 689 689 cat << ...eod >> tmp 690 $SUBMITCMD tmp_$SIM 690 echo "Submitting job tmp_$SIM" 691 echo "\$SUBMITCMD tmp_$SIM" 692 \$SUBMITCMD tmp_$SIM 691 693 ...eod 692 694 fi
Note: See TracChangeset
for help on using the changeset viewer.