Ignore:
Timestamp:
Jun 13, 2024, 2:39:53 PM (5 months ago)
Author:
abarral
Message:

(WIP) update spirit arch
update script_SIMU env
fix setup.sh, add netcdf option
fix aerosols detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup_amaury/script_SIMU

    r4978 r4980  
    2323#@SP#SBATCH --time=00:30:00
    2424#@SP#SBATCH --output=outNOM_SIMU%j
    25 #@SP#SBATCH --error=outNOM_SIMU%j#@SP#Spirit
    26 #@SP#SBATCH --job-name=NOM_SIMU
    27 #@SP#SBATCH --ntasks=8
    28 #@SP#SBATCH --cpus-per-task=8
    29 #@SP#SBATCH --hint=nomultithread
    30 #@SP#SBATCH --time=00:30:00
    31 #@SP#SBATCH --output=outNOM_SIMU%j
    3225#@SP#SBATCH --error=outNOM_SIMU%j
    3326#@ADS#Adastra
     
    4033#@ADS#SBATCH --error=outNOM_SIMU%j
    4134
    42 set -ex
    43 set +u  # Amaury 06/24: for local use (no $SLURM_CPUS_PER_TASK) - should be removed if we ever rewrite this whole legacy script properly...
     35set -eux
    4436
    4537# Number of MPI processes :
     
    4840nthreads=8
    4941export OMP_NUM_THREADS=$nthreads
    50 
    51 # For Jean-Zay (replacing the next 3 lines, commented out)
    52 #export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
    53 
     42#@JZ#export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK  # For Jean-Zay (replacing the next 3 lines, commented out)
    5443# private memory for each thread
    5544export OMP_STACKSIZE=800M
    56 # Binding
    57 export OMP_PLACES=cores
     45
     46
     47#@JZ#export OMP_PLACES=cores  # "binding" present in old script_SIMU, but terribly reduces performance on Spirit...
     48ulimit -s unlimited
     49#@SP ulimit -Ss 8192
    5850
    5951simul=NOM_SIMU
    60 ulimit -s unlimited
    61 #### reste ada  : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/smplocal/pub/NetCDF/4.1.3/lib:/smplocal/pub/HDF5/1.8.9/seq/lib
    62 
    6352
    6453reseau_local=0
     
    403392      if [ $num -le 250 ] ; then
    404393         sed -e 's/^simul=.*.$/simul='$simul_new'/' -e 's/^\# @ job_nam.*.=.*.$/\# @ job_name = '$simul_new'/' tmp_$simul >| tmp_$simul_new
    405          sbatch tmp_$simul_new
     394         $SUBMITCMD tmp_$simul_new
    406395      fi
    407396   fi
     
    417406
    418407cd $SCRIPTDIR
    419 sbatch tmp_$simul
     408$SUBMITCMD tmp_$simul
Note: See TracChangeset for help on using the changeset viewer.