[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Setting walltime for SLURM job

Hi Ãmit,

What's the output of `rpm -q condor htcondor-ce blahp`?


On 7/24/20 2:50 AM, Seren,Ãmit wrote:



We have a compute element with condor-8.8.8-1/htcondor-ce-3.2.1-1 submitting to a site local SLURM batch system.

Submission and routing of jobs to SLURM work just fine, however we cannot managed to set the walltime for the slurm jobs.

Based on this thread https://www-auth.cs.wisc.edu/lists/htcondor-users/2020-March/msg00011.shtml we have following job route config:





    GridResource = "batch slurm";

    TargetUniverse = 9;

    name = "GRID jobs";


    set_default_queue = "grid";

    set_default_maxWallTime = 2880;

    # in 8.8.4 <= this is required. see: https://www-auth.cs.wisc.edu/lists/htcondor-users/2020-March/msg00011.shtml

    set_remote_BatchRuntime = 2880;

    set_default_xcount = 1;

    set_default_maxMemory = 8000;

    set_remote_JobDirectory = Undefined;




However the BLAHP generated job submission script for SLURM is missing the -t stanza:



# SLURM job wrapper generated by slurm_submit.sh

# on Fri Jul 24 09:23:02 CEST 2020


# SLURM directives:

#SBATCH -o /dev/null

#SBATCH -e /dev/null

#SBATCH --mem=8000

#SBATCH -p grid


Anybody has some pointers how to properly set the walltime ?


Thanks in advance




This body part will be downloaded on demand.