Skip to content

Jobs duration

Standard jobs have a default maximum duration of 4 days.

For GPU jobs, the limit has been set to 8 days.

These default values can be overwritten, adding one of the following attributes to your *.submit file :

#+isDefaultJob=True : 4 days (default value for standard jobs)
#+isDefaultJobGpu=True : 8 days (default value for GPU jobs)
+isFlash=True : immediate start of the job but with a maximum duration of 1 hour
+isShortJob=True : 2 days
+isLongJob=True : 8 days
+isVeryLongJob=True : 15 days

Waiting jobs (Idle) are automatically deleted after 10 days.

Use Environment variables in submit file

You can use environment variable in the submit file with

$ENV(environment_variable)

Resources requirements

CPU, total RAM and local disk usage per job have default values, respectively 1, 1GB/CPU and 0. These values can be overwritten in your *.submit file, for example:

#default request_cpus value : 1
request_cpus = 4
#default request_memory value : 1GB/CPU - please specify total RAM for the job 
request_memory = 2GB
#default request_diskvalue : 0 (the smallest possible local space is used on the machine)
request_disk = 100MB

Jobs are automatically killed when memory usage is above 1.5 times the requested memory value.

CPU extensions requirements

To run jobs on servers with specific CPU extensions, please add one of the following lines to your *.submit file:

requirements = TARGET.has_avx2
requirements = TARGET.has_avx512dq
requirements = TARGET.has_avx512f
requirements = TARGET.has_avx512_vnni
requirements = TARGET.has_avx
requirements = TARGET.has_sse4_1
requirements = TARGET.has_sse4_1
requirements = TARGET.has_ssse3

These extensions can be listed when running the htcondor_cpus_capabilities command from one of the UIs.

Running under a specific group/project

First of all, you need to belong to this group/project.

Please check with the cat /etc/condor/mapfile | grep $(id -un) command to which accounting group you can use:

*  login default_accounting_group, other_accounting_group

If a accounting group is missing for you, please ask the related group/project leader to make the request via support-must@lapp.in2p3.fr.

Then, you can select in which accounting group your jobs will run.

If you don't specify any group, the default one will be used.

Please add the following line to your decription file:

#For LAPP/LAPTh users on lappui/lapthui servers:
+wishedAcctGroup = "group_lapp.<desired_group>"

#For LAPP/LAPTh users on lappui/lapthui servers:
+wishedAcctGroup = "group_usmb.<desired_group>"

Do not forget the '+' sign otherwise you will get the following message:

WARNING: the line 'wishedAcctGroup = "group_usmb.<desired_group>"' was unused by condor_submit. Is it a typo?