Skip to content

Job options

Job 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 overridden by adding one of the following attributes to your *.submit file:

Attribute Maximum duration
+isDefaultJob=True 4 days (default value for standard jobs)
+isDefaultJobGpu=True 8 days (default value for GPU jobs)
+isFlash=True 1 hour, with immediate start of the job
+isShortJob=True 2 days
+isLongJob=True 8 days
+isVeryLongJob=True 15 days

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

Using environment variables in the submit file

You can use environment variables in the submit file with:

$ENV(environment_variable)

Resource 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 extension 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_2
requirements = TARGET.has_ssse3

To list these extensions, run the htcondor_cpus_capabilities command on one of the UIs.

Running under a specific group/project

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

Please check which accounting groups you can use with:

$ cat /etc/condor/mapfile | grep $(id -un)
*  login default_accounting_group, other_accounting_group

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

You can then select the accounting group your jobs will run in.

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

Please add the following line to your description file:

+wishedAcctGroup = "group_lapp.<desired_group>"
+wishedAcctGroup = "group_usmb.<desired_group>"

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

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