]>
Commit | Line | Data |
---|---|---|
abefdec1 | 1 | #!/bin/bash |
2 | ||
3 | #1: space charge file | |
4 | #2: output dir | |
2839076c | 5 | #3: module |
abefdec1 | 6 | |
7 | mapFile=$1 | |
8 | outDir=$2 | |
d1eb901d | 9 | mod=$3 |
abefdec1 | 10 | |
11 | module use /cvmfs/alice.gsi.de/modules | |
12 | module purge | |
13 | #module load ALICE/${vers} | |
14 | module use -a /hera/alice/wiechula/software/modules | |
2839076c | 15 | module load $mod |
abefdec1 | 16 | |
17 | declare -i job=$SGE_TASK_ID | |
18 | job=$job-1 | |
19 | ||
20 | mapName=$(basename $mapFile .root) | |
21 | outFile=$outDir/${mapName}.$(printf "%03d" $job).root | |
22 | ||
2839076c | 23 | root.exe -l -b -q $ALICE_ROOT/TPC/Upgrade/macros/{loadlibs.C,ConfigOCDB.C} $ALICE_ROOT/TPC/Upgrade/macros/CreateLookup.C\(\"$1\",\"$outFile\",$job\) |