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

By default, each job is assigned the following resource values:

  • CPU cores: 1
  • Memory (RAM): 2 GB per CPU core
  • Local disk space: 0 MB (minimal local space is used)

You can override these defaults in your *.submit file. For example:

# Default: request_cpus = 1
request_cpus = 4

# Default: request_memory = 2GB per CPU — specify total memory required!
request_memory = 8GB

# Default: request_disk = 0 — minimal local disk space is used
request_disk = 100MB

Warning

Jobs will be automatically terminated if memory usage exceeds 1.5× the requested memory.

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 USMB users on lappusmb 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?