User Tools

Site Tools


progetti:icarus:icaruscode

ICARUSCODE

Setup icaruscode

In order to setup icarucode version vXX_YY_ZZ with qualifier eNN:PPP, just do:

source /cvmfs/icarus.opensciencegrid.org/products/icarus/setup_icarus.sh
setup icaruscode vXX_YY_ZZ -q eNN:PPP

Install icaruscode for development

wd="/opt/exp_software/icarus/users/${USER}/my_dev_area"
vers="v09_37_02_06"
qual="e20:prof"
mkdir -p ${wd}
cd ${wd}
source /cvmfs/icarus.opensciencegrid.org/products/icarus/setup_icarus.sh
setup icaruscode ${vers} -q ${qual}
export MRB_PROJECT=icaruscode
mrb n -v ${vers} -q ${qual}
source ${wd}/localProducts_icaruscode_${vers}_${qual/:/_}/setup
cd srcs
mrb g -t ${vers} icaruscode
cd $MRB_BUILDDIR
mrbsetenv
mrb install -j 2

vscode jupiter with icaruscode

Open the working directory with vscode and launch a terminal. In the terminal, run the following commands:

source /cvmfs/icarus.opensciencegrid.org/products/icarus/setup_icarus.sh
setup icaruscode v09_72_00_02 -q e20:prof
export > .env
sed -i "s:declare -x ::g" .env
which python3

Copy the output of the last command which is the path of the python3 interpreter, then press Crtl + Shift + P and search for "Python interpreter".

Click on "Immettere il percorso dell'interprete" and paste the path of the python3 interpreter

Create a notebook and click on "Select the kernel" in the top right corner. Click on "Ambienti Python" and select the python3 interpreter

Then you will be able to use ROOT package and icaruscode class

Support

For any kind of support refer to user-support@cnaf.infn.it

progetti/icarus/icaruscode.txt · Last modified: 2023/11/24 08:32 by tenti@infn.it

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki