Update 'computing_htcondor'
parent
d197abdcdb
commit
36fd19733a
@ -9,7 +9,7 @@ You can find example submission files in `/auto/work/zhelezov/singularity/batch_
|
||||
|
||||
An example .sub file:
|
||||
|
||||
```vim
|
||||
```emacs
|
||||
# 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
|
||||
@ -56,7 +56,6 @@ log = log/job.$(ClusterId).log
|
||||
|
||||
# The number is the number of subjobs
|
||||
queue 2
|
||||
|
||||
```
|
||||
|
||||
|
||||
@ -75,7 +74,6 @@ env #outputs the current environment in stdout
|
||||
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-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 log
|
||||
condor_submit -file job.sub
|
||||
|
||||
```
|
||||
|
||||
You can test your executable or script interactively via:
|
||||
|
||||
```
|
||||
```console
|
||||
condor_submit -interactive
|
||||
|
||||
```
|
||||
which will open a shell on the machine where you can run your executable by hand.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user