Installing the CORE simulation in a singularity container on the JLab ifarm

From Core Wiki
Jump to navigationJump to search

Instructions by Barak Schmookler <barak.schmookler@stonybrook.edu>

Installation

  • on your local computer

ssh username@login.jlab.org


  • on login.jlab.org

ssh ifarm1802


  • on ifarm1802

mkdir F4A

cd F4A


(You may need to run the following commands in your home directory)

module load /apps/modulefiles/singularity/3.4.0

singularity shell -B /cvmfs:/cvmfs /cvmfs/eic.opensciencegrid.org/singularity/rhic_sl7_ext


  • inside the singularity container

export LANG=C

source /cvmfs/eic.opensciencegrid.org/default/opt/fun4all/core/bin/eic_setup.sh -n


git clone https://github.com/bschmookler/fun4all_eicmacros.git

cd fun4all_eicmacros

git checkout CORE


Test

cd detectors/CORE

root -l 'Fun4All_G4_CORE.C(100)'