Closed tomeichlersmith closed 2 years ago
Outline of setup commands so far, will need to update with more thorough notes
cd /sdf/groups/hps/users
mkdir $USER
cd eichl008
git clone git@github.com:tomeichlersmith/hps
cd hps
git clone git@github.com:jeffersonlab/hps-java java
git clone git@github.com:jeffersonlab/hps-lcio lcio
cp /sdf/group/hps/users/bravo/setup/bashrc.sh .
# copy .hpsmc text into file called hpsmc in this directory
source bashrc.sh # saw some errors, will need to update it
cd java
mvncbld # alias from bashrc.sh
cd ../lcio
mvnclbd
Need additional packages
python3 -m pip install --user --upgrade cmake uproot matplotlib numpy jupyterlab
GSL here:
/sdf/group/hps/users/bravo/src/gsl-2.6/install
Able to start a tritrig example run
cd hps/mc/examples/tritrig
hps-mc-job run -d $PWD/scratch tritrig job.json
Failed to find egs5
executable, realized defaults for all HPSMC_*
cmake options are OFF
so I need to update the cmake command using hps-mc/build.sh as reference.
From cam Here is my bashrc, you don't need to use the whole thing but you can find the parts you need in there
you can make a
~/.hpsmc
and put this in it:though you won't be able to access my hps-java or lcio so you can install that into your own home directory by downloading the hps-java code and doing
alias mvnclbd='mvn clean install -DskipTests=true -Dcheckstyle.skip'
I sent that as an alias because I alias it because I use it so much
you also want to do the same command in hps-lcio (edited)
those two commands in my bashrc will get the java env setup for you you can just use my slic install, which is what the .hpsmc will take care of for you (edited) you also might want to get rid of the conditions_url lines in my .hpsmc those I have there because I was testing some calibration stuff I put into our conditions database