diff --git a/computing_htcondor.md b/computing_htcondor.md index 673bf50..5f1ee0f 100644 --- a/computing_htcondor.md +++ b/computing_htcondor.md @@ -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: