JEANZAY.header 2.51 KB
Newer Older
1 2 3
#!/bin/bash


4
#############################   from JEANZAY.header  #############################
5
#===============================================================================
6
#                  JEANZAY.header to submit a MPI batch job 
7
#===============================================================================
8 9 10 11 12

#SBATCH --job-name=<exp>                  # request name
#SBATCH --output=<exp_lst>.jobid_%j.txt   # output file name
#SBATCH --error=<exp_lst>.jobid_%j.txt    # error output file name

13 14 15


#-------------------------------------------------------------------------------
16 17 18
#   cpu :        Intel Cascade Lake 6248
#   Cores/Node : 40
#   RAM/Node :   160 GB  (4GB/core)
19
#-------------------------------------------------------------------------------
20 21 22 23 24 25
#  tout travail demandant plus d'un nœud tourne en mode exclusif
	
#SBATCH --ntasks=<mpi_task>              # Total number of mpi task to use
# #SBATCH --ntasks-per-node=40           # Number of mpi task per node
#SBATCH --cpus-per-task=<cpu_per_task>   # --cpus-per-task=1 (default) 
#SBATCH --hint=nomultithread             # 1 mpi task per core   # for Slurm,  "multithread" = hyperthreading.
26

27
#SBATCH --account eee@cpu
28 29

#-------------------------------------------------------------------------------
30
#   partitions Slurm CPU & cpu time
31 32 33
#-------------------------------------------------------------------------------
# http://www.idris.fr/jean-zay/cpu/jean-zay-cpu-exec_partition_slurm.html

34 35 36 37 38
# #SBATCH --partition=prepost         # pre/post nodes :     no time cpu used / time default=02:00:00 / time limit < 20:00:00
# #SBATCH --partition=visu            # visualization node : no time cpu used / time default=00:10:00 / time limit < 01:00:00
# #SBATCH --partition=archive         #                      no time cpu used / time default=02:00:00 / time limit < 20:00:00
# #SBATCH --partition=cpu_p1          # time limit = HH:MM:SS ≤ 100:00:00       (default)
#SBATCH --partition=cpu_p1
39

40 41
# if cpu_p1 partition : QoS (Quality of Service)  choice
                                      # time limit | ressources limit per job 
42 43 44 45
# #SBATCH --qos=qos_cpu-t3            #  20h       | 512 nodes = 20480 cores     (default)
# #SBATCH --qos=qos_cpu-t4 	      #  100h      | 4   nodes = 160 cores
# #SBATCH --qos=qos_cpu-dev           #  2h        | 128 nodes = 5120 cores 
#SBATCH --qos=<qos>  
46

47
#SBATCH --time=<max_cpu_time>         #  max cpu time 
48 49 50 51 52 53
 

#===============================================================================
umask 022
set -u

54 55
echo ""
echo "date_chris : `date "+%Y%m%d-%H:%M:%S"`"