Update 'computing_htcondor'

Blake Leverington 2021-07-28 11:32:28 +02:00
parent d197abdcdb
commit 36fd19733a

@ -9,7 +9,7 @@ You can find example submission files in `/auto/work/zhelezov/singularity/batch_
An example .sub file: An example .sub file:
```vim ```emacs
# Generic job which will run under local CentOS7 conteiner, on modern servers only # Generic job which will run under local CentOS7 conteiner, on modern servers only
# What to run and arguments, can (and probably always should be) a script # What to run and arguments, can (and probably always should be) a script
@ -56,7 +56,6 @@ log = log/job.$(ClusterId).log
# The number is the number of subjobs # The number is the number of subjobs
queue 2 queue 2
``` ```
@ -75,7 +74,6 @@ env #outputs the current environment in stdout
which lb-run #check lb-run is there which lb-run #check lb-run is there
lb-run Urania/latest root -l --version #outputs ROOT version to stderr lb-run Urania/latest root -l --version #outputs ROOT version to stderr
lb-run Urania/latest root-config --cflags #check the ROOT compilation flags, outputs in stdout lb-run Urania/latest root-config --cflags #check the ROOT compilation flags, outputs in stdout
``` ```
@ -87,14 +85,12 @@ mkdir -p err #setup the output directories to keep things clean
mkdir -p out mkdir -p out
mkdir -p log mkdir -p log
condor_submit -file job.sub condor_submit -file job.sub
``` ```
You can test your executable or script interactively via: You can test your executable or script interactively via:
``` ```console
condor_submit -interactive condor_submit -interactive
``` ```
which will open a shell on the machine where you can run your executable by hand. which will open a shell on the machine where you can run your executable by hand.