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

  1. source appropriate setup script to set environment variables (e.g. source ~dwaller/bin/sno_setup_test.csh).
  2. source $SNO_TOOLS/get_lhost_info.scr.
  3. check that environment variables are all OK...

Build private SNOMAN

  1. Create new directory where private SNOMAN executable will go.
  2. Put private versions of .for and .inc files in new directory.
  3. cd to new directory.
  4. Run $SNO_TOOLS/remake_snoman.scr.
  5. Now, my_snoman.exe and libsnolib.a should exist in directory.

Test Code

  1. Test my_snoman.exe by running it! At first prompt, type @run then hit Enter.
  2. 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.