diff --git a/computing_htcondor.md b/computing_htcondor.md index cf3bc5c..bb9c22c 100644 --- a/computing_htcondor.md +++ b/computing_htcondor.md @@ -22,9 +22,9 @@ should_transfer_files = IF_NEEDED # Without variable part, output files will be the same for all jobs. # That can be confusing. -output = out/job.$(ClusterId).$(ProcId).out -error = err/job.$(ClusterId).$(ProcId).err -log = log/job.$(ClusterId).log +output = output/job.$(ClusterId).$(ProcId).out +error = ouput/job.$(ClusterId).$(ProcId).err +log = output/job.$(ClusterId).log # It is possible apply current environment variables in jobs, with the following # flag. But in general when particular environment is required, safe option @@ -70,10 +70,9 @@ pwd #setup a simple lhcb environment and check if ROOT is the correct version source /cvmfs/lhcb.cern.ch/lib/LbEnv +source /cvmfs/sft.cern.ch/lcg/views/LCG_98/x86_64-centos7-gcc9-opt/setup.sh 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 + ``` @@ -81,12 +80,9 @@ lb-run Urania/latest root-config --cflags #check the ROOT compilation flags, out Then submit the job via the command line: ```console -mkdir -p err #setup the output directories to keep things clean -mkdir -p out -mkdir -p log +mkdir -p output #setup a condor output directory to keep things clean condor_submit -file job.sub ``` -Files will be returned to this folder. You can test your executable or script interactively via: