Easy build of private 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),
building a private version of SNOMAN against the standard SNOMAN
(in $SNO_CODE) 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...
Build private SNOMAN
- Create new directory where private SNOMAN executable will go.
- Put private versions of .for and .inc files in new directory.
- cd to new directory.
- Run $SNO_TOOLS/remake_snoman.scr.
- Now, my_snoman.exe and libsnolib.a should exist in directory.
Test Code
- Test my_snoman.exe by running it! 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'.)
You are now the proud new owner of a private version of SNOMAN.