# 1. install go # go to https://golang.org/dl/ and download latest version # then do the following: sudo tar -C /usr/local -xzf go1.15.6.linux-amd64.tar.gz # add the following to your $HOME/.profile and .bashrc export PATH=$PATH:/usr/local/go/bin # verify that go works via: go version # 2. install singularity # download from here https://sylabs.io/singularity/ # unpack the file somewhere ./mconfig && make -C builddir && sudo make -C builddir install # 3. install EIC singularity git clone https://github.com/ECCE-EIC/Singularity cd Singularity/ ./updatebuild.sh #this is also used to make daily build updates (full download ~10GB) #you can start singularity from the install directory via: singularity shell -B cvmfs:/cvmfs cvmfs/eic.opensciencegrid.org/singularity/rhic_sl7_ext.simg source /cvmfs/eic.opensciencegrid.org/gcc-8.3/opt/fun4all/core/bin/eic_setup.sh -n root # give a test # 4. test tutorials https://eic-detector.github.io/tutorials_example1.html # several tutorials are available here # in case code for Fun4All needs to be compiled: # go into the source folder of the code source /cvmfs/eic.opensciencegrid.org/gcc-8.3/opt/fun4all/core/bin/eic_setup.sh -n cd [folder with code changes] mkdir build cd build ../autogen.sh --prefix=$HOME/install make install #depending on gcc8.3 or x8664 source the respective install source /cvmfs/eic.opensciencegrid.org/gcc-8.3/opt/fun4all/core/bin/setup_local.sh $HOME/install source /cvmfs/eic.opensciencegrid.org/x8664_sl7/opt/fun4all/core/bin/setup_local.sh $HOME/install #to have access to your own hard drives (or certain folders) in Singuarity: # add the following in your /usr/local/etc/singularity/singluarity.conf bind path = /media #somewhere around line 112