Linear Collider Detector Project |
|||||||||||||||||||||||||||
|
|
Running Gismo/GismoAppsThis document contains instructions for running the Gismo/GismoApps simulation tool used in LCD studies. Gismo is the (experiment independent) simulation engine and GismoApps are the LCD applications which have been written to run on top of Gismo. Finding the ExecutablesThe Gismo/GismoApps suite provides two executables, one for use interactively and one for use in batch. Their location will depend on the specifics of the installation at your site, but assuming an installation along the lines of: then the executables will be in:
where:
At which point I would like to apologise for the terrible names. These executables used to be called lcd_win and lcd_bat which makes far more sense. Unfortunately we ran into disk size limitations when we attempted to maintain both executables for four different Unix platforms and keep one back version. At around 25M per executable that comes out to 400M which is far in excess of the volume size our computer centre likes us to use. We were therefore forced to split the directory structure so we could keep the interactive and batch executables on separate volumes. Running the ExecutablesExecuting win_win or bat_bat is entirely conventional. You can put the relevant directory on your search path in which case the simple command win_win or bat_bat will activate the executable. Alternatively you can type out the whole path name (painful!) Far more interesting is how these programs are configured. To avoid a lot of twisted English, these instructions will be phrased for the bat_bat executable, but both executables work the same way. bat_bat requires eight pieces of information. These are:
The first seven of these can be provided in one of three ways (in the following search order):
Arguments on the command line are interpreted strictly by position, so arguments cannot be omitted (not quite true ... trailing arguments can be omitted). To solve the problem of maintaining the argument order without forcing the user to define all arguments, bat_bat does accept a 'placeholder' for any argument (the placeholder symbol is the underscore). The environment variables searched and the program defaults are as follows:
The final piece of information, where to locate material description files, can be provided only one way. Set up the environment variable PEGS4PATH as a search path of directories where bat_bat should look. With the example installation: setenv PEGS4PATH /your/location/GismoApps/GismoApps_R1.0/PEGS4 (or logical equivalent for your operating system/shell) |
||||||||||||||||||||||||||
A.P.Waite. Last Modified: 01/13/04 12:43