This code corresponds to an implementation of the tapered All-Silicon Tracker design described here into the Fun4All framework.
-
The code was originally ran inside a Singularity container, which can be found here: https://github.com/sPHENIX-Collaboration/Singularity One needs to run ./updatebuild.sh and follow the steps in the README of that repo.
-
The code needs to built and installed with Fun4All, as outlined here: https://wiki.bnl.gov/sPHENIX/index.php/Example_of_using_DST_nodes. References to for this repository mean
g4lblvtx/src/
, where one should see the autogen.sh file. Create abuild
andinstall
directory (I suggest in the same directory that holds this repo) and follow the instructions under the "Building a package" section from the link.
The main steps are:
mkdir build
cd build
/global/path/to/g4lblvtx/source/autogen.sh --prefix=$MYINSTALL
make -j 4
make install
source /global/path/to/Singularity/cvmfs/sphenix.sdcc.bnl.gov/x8664_sl7/opt/sphenix/core/bin/sphenix_setup.sh -n
export MYINSTALL=/global/path/to/Singularity/install
source /global/path/to/Singularity/cvmfs/sphenix.sdcc.bnl.gov/x8664_sl7/opt/sphenix/core/bin/setup_local.sh $MYINSTALL
From outside the container:
cd cori_batch
.- Edit the
run_shared.sh
script (see instructions below). - Run
sbatch run_shared.sh
Edit the following lines:
#SBATCH --time=1:00:00
-> Approximate time that running a job will take. A higher value ensures that your job is not stopped because it is taking too long. A lower value ensures that your job starts running sooner.#SBATCH --array=0-999
-> This means the output will be split into 1000 output root files.shifter ./AllSi_shifter.sh $SLURM_ARRAY_TASK_ID 100
-> The important parameter to keep in mind here is the number at the end of the line. This is the number of events per root split.
- On your internet browser, go to: https://my.nersc.gov/.
- Login using your Nersc credentials.
- Go to the tab
Cori Queues
.