This lesson is being piloted (Beta version)

Computing Basics for DUNE - Revised 2025 edition: Example SL7 setup for a new session

launch the Apptainer

( I put this command in a file called apptainer.sh so I don’t have to retype all the time.)

Start the Apptainer

Choose your apptainer

gpvm apptainer

/cvmfs/oasis.opensciencegrid.org/mis/apptainer/current/bin/apptainer shell --shell=/bin/bash -B /cvmfs,/exp,/nashome,/pnfs/dune,/opt,/run/user,/etc/hostname,/etc/hosts,/etc/krb5.conf --ipc --pid /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-dev-sl7:latest

cern apptainer

/cvmfs/oasis.opensciencegrid.org/mis/apptainer/current/bin/apptainer shell --shell=/bin/bash -B /cvmfs,/afs,/opt,/run/user,/etc/hostname --ipc --pid /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-dev-sl7:latest

then do the following

you can store this as

mysl7.sh and run it every time you log in.

# use ups to find programs - this only works on SL7

source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh

# do some data access setup
export IFDH_CP_MAXRETRIES=0  # no retries
export METACAT_SERVER_URL=https://metacat.fnal.gov:9443/dune_meta_prod/app
export METACAT_AUTH_SERVER_URL=https://metacat.fnal.gov:8143/auth/dune

# access some disks
export DUNEDATA=/exp/dune/data/users/$USER
export DUNEAPP=/exp/dune/app/users/$USER
export PERSISTENT=/pnfs/dune/persistent/users/$USER
export SCRATCH=/pnfs/dune/scratch/users/$USER

# set up the full DUNE SW suite

export DUNELAR_VERSION=v10_07_00d00 # you want to update this
export DUNELAR_QUALIFIER=e26:prof # you want to update this

setup -B dunesw ${DUNELAR_VERSION} -q ${DUNELAR_QUALIFIER}

setup metacat
setup rucio
export RUCIO_ACCOUNT=justinreadonly
setup justin