diff --git a/README.md b/README.md index 2322a27..ffdeb9b 100644 --- a/README.md +++ b/README.md @@ -54,23 +54,15 @@ CVMFS_REPOSITORIES=sphenix.sdcc.bnl.gov 4. launch singularity container for sPHENIX and EIC-sPHENIX with following command - - For `/cvmfs/sphenix.opensciencegrid.org` users: - ``` singularity shell -B /cvmfs:/cvmfs /cvmfs/sphenix.opensciencegrid.org/singularity/rhic_sl7_ext.simg -source /cvmfs/sphenix.opensciencegrid.org/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.sh -n # setup sPHENIX environment in the singularity container shell. Note the shell is bash by default +source /opt/sphenix/core/bin/sphenix_setup.sh -n # setup sPHENIX environment in the singularity container shell. Note the shell is bash by default root # give a test ``` *For Singularity v3+, in particular CERN computing users: `rhic_sl7_ext.simg` might be slow to load under certain Singularity security settings at your computing center. In that case, please load with an alternative image: `singularity shell -B /cvmfs:/cvmfs /cvmfs/sphenix.opensciencegrid.org/singularity/rhic_sl7_ext`* - - For `/cvmfs/sphenix.sdcc.bnl.gov` users: -``` -singularity shell -B /cvmfs:/cvmfs /cvmfs/sphenix.sdcc.bnl.gov/singularity/rhic_sl7_ext.simg -source /cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.sh -n # setup sPHENIX environment in the singularity container shell. Note the shell is bash by default -root # give a test -``` ## Option-2: Download sPHENIX build via HTTPS archive @@ -99,7 +91,7 @@ This macro download the current release of sPHENIX/EIC-sPHENIX Singularity conta ``` singularity shell -B cvmfs:/cvmfs cvmfs/sphenix.sdcc.bnl.gov/singularity/rhic_sl7_ext.simg -source /cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.sh -n # setup sPHENIX environment in the singularity container shell. Note the shell is bash by default +source /opt/sphenix/core/bin/sphenix_setup.sh -n # setup sPHENIX environment in the singularity container shell. Note the shell is bash by default root # give a test ``` *Please note the slight difference in singularity shell commands for option 1 and option 2* @@ -114,9 +106,7 @@ After entering the Singularity container, you can source sPHENIX environment and ``` computer:~/> singularity shell Singularity: Invoking an interactive shell within container... -Singularity rhic_sl7_ext.simg:~/> source /cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.sh -n -# or source /cvmfs/sphenix.opensciencegrid.org/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.sh -n # if using sphenix.opensciencegrid.org -# or source /cvmfs/sphenix.opensciencegrid.org/x8664_sl7/opt/sphenix/core/bin/sphenix_setup.sh -n # if using older gcc v4 +Singularity rhic_sl7_ext.simg:~/> source /opt/sphenix/core/bin/sphenix_setup.sh -n Singularity rhic_sl7_ext.simg:~/> lsb_release -a # Verify same environment shows up as that on RCF LSB Version: :core-4.1-amd64:core-4.1-ia32:core-4.1-noarch Distributor ID: Scientific