From 21e264094c6635722dcd563737e7d4c982740371 Mon Sep 17 00:00:00 2001 From: Blake Leverington Date: Wed, 28 Jul 2021 11:04:24 +0200 Subject: [PATCH] Update 'computing_htcondor' --- computing_htcondor.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) 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: