GEMC at UNH

From Nuclear Physics Group Documentation Pages
Revision as of 21:42, 26 June 2008 by Dan (talk | contribs)
Jump to navigationJump to search

This page is going to start out nearly useless, but if I don't start it it will never be started, will it?

Now then.

We have set-up a suite of software which will be necessary/useful. Generally it exists in /net/data/pumpkin2/CLAS12 Under this we have directories with binaries for a handful of platforms. The one of most interest currently is RHEL5_x64, which contains binaries compiled for Red Hat Enterprise Linux 5, AMD64. It is the most interesting because it is the most complete, and it is suitable for use whilst SSHed to Pumpkin, the NPG's hardcore Opteron monster.

Speaking of which, do the following:

ssh to Pumpkin, forwarding the X protocol: ssh -X you@pumkpin.unh.edu

Now you will want to set-up your environment. We have an example skeleton script at /net/data/pumpkin2/CLAS12/RHEL5_x64/env.sh As Maurik pointed out, it does not do a lot of things it should. For example, it does not scrub your environment of things which could cause trouble, as the stock GEANT4 environment scrupulously does. In fact, you probably should copy it to your home directory and customize it. One thing you will almost certainly want to do is export a value for the GEMC environment variable before using it. Let's imagine that you don't need to customize it for the moment: export GEMC=/net/data/pumpkin2/CLAS12/RHEL5_x64/GEMC source /net/data/pumpkin2/CLAS12/RHEL5_x64/env.sh

Great! Things should basically just work now, at least somewhat. Let's try running GEMC: gemc

Now click in the File menu of the resulting G4UI Session and choose Quitter. This should bring up the main GUI of GEMC. Using what settings? Who knows! In a minute we will try specifying a few. First explore the interface. Note that you have some geometry in a viewer, plus a window