Easy installation of SNOMAN ($SNO_TOOLS exists)
If the setup scripts in $SNO_TOOLS already exist (test with ls $SNO_TOOLS
after having set this environment variable to the location of the tools),
installing SNOMAN is very easy!
Set up environment variables
- source appropriate setup script to set environment variables (e.g.
source ~dwaller/bin/sno_setup_test.csh).
- source $SNO_TOOLS/get_lhost_info.scr.
- check that environment variables are all OK...
Install Code
- untar and unzip SNOMAN tar file (note that env. var. that you set above
should point to SNOMAN code now!)
- run $SNO_TOOLS/install_snoman.scr. This will build Fortran files,
compile them, and link them against specified libraries. This creates $SNO_CODE/snoman.exe
and $SNO_CODE/libsnolib.a.
Test Code
- test $SNO_CODE/snoman.exe by running $SNO_CODE/snoman.exe. At
first prompt, type @run then hit Enter.
- depending on the node, this job should finish in <= 60 seconds.
This job generates 100 5.511 MeV electrons. Check the output to screen and
'hbooksm.ntp' to make sure the job ran properly. (Look for many lines like
'15 events ( 15.0%) processed'.)
Now you can pat yourself on the back and go for a coffee... ;)