#SBATCH --job-name=Archive # job name #SBATCH --partition=archive # we use the "archive" or "prepost" partitions from which the STORE is accessible #SBATCH --ntasks=1 # the job is sequential #SBATCH --hint=nomultithread # 1 process per physical CPU core (no hyperthreading) #SBATCH --time=02:00:00 # maximum elapsed time (HH:MM:SS) #SBATCH --output=%x_%j.out # output and error file (%x = job name, %j = job id) # If you have multiple projects or various types of computing hours, # we need to specify the account to use even if you will not be charged # for jobs using the "prepost" or "archive" partitions. ##SBATCH --account=... # Archive some data from the SCRATCH to the STORE cd $SCRATCH/mon_calcul tar -cvf $STORE/monarchive.tar resultats*.h5