Ignore:
Timestamp:
Jul 28, 2025, 4:56:58 PM (3 weeks ago)
Author:
jbclement
Message:

PEM:
Bug correction to detect the job time limit with PBS/TORQUE. Making it more robust and automatic for the launching script and the Fortran code.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/deftank/PEMrun.job

    r3861 r3869  
    11#!/bin/bash
    2 #SBATCH --job-name=jobPEM1
     2### Partition to use
    33#SBATCH --account=cin0391
    44#SBATCH --constraint=GENOA
     
    88#SBATCH --cpus-per-task=1
    99#SBATCH --threads-per-core=1 # --hint=nomultithread
     10### Job information
     11#SBATCH --job-name=jobPEM1
    1012#SBATCH --output=jobPEM_%j.out
    1113#SBATCH --time=24:00:00
     
    2426exeReshape="reshape_XIOS_output_64x48x32_phymars_seq.e"
    2527
    26 # Argument for the PEM execution (for SLURM: "$SLURM_JOB_ID" | for PBD/TORQUE: "$PBS_JOBID" | "" when the script is not run as a job):
    27 arg_pem="--jobid $SLURM_JOB_ID"
     28# Argument for the PEM execution ("--auto-exit" for SLURM and PBS/TORQUE | "" when the script is not run as a job):
     29arg_pem="--auto-exit"
    2830########################################################################
    2931
Note: See TracChangeset for help on using the changeset viewer.