Update 'computing_htcondor'

Blake Leverington 2021-07-28 11:04:24 +02:00
parent 3b30f2cb43
commit 21e264094c

@ -4,10 +4,35 @@
Basic use, see the manual entry from the command line:
'man condor_submit'
An simple example of submission file is in /auto/work/zhelezov/singularity/batch_centos7 .
You can find a job.sub example submission file in /auto/work/zhelezov/singularity/batch_centos7 .
A simple job.sh file to see if ROOT is available and which version.
'''
#!/bin/bash
# Demonstrate that environment is correct
hostname
pwd
/work/software/os_version
#setup a simple lhcb environment
source /cvmfs/lhcb.cern.ch/lib/LbEnv
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
'''
Then submit the job via the command line:
'''
condor_submit -file job.sub
'''bash
condor_submit -file job.sub -batch-name test
'''
## Email's from Alexey: