Linear Collider Detector Project |
||||||||||||||||
|
|
Installing Gismo/GismoAppsThis document contains instructions for installing 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. This page is organized into two major sections: InstallationThe Installation section is designed to give an uncomplicated overview of the installation process. Installation NotesThe Installation Notes section contains all sorts of grubby details relevant to the installation. InstallationPrerequisites
Bootstrap Installation InstructionsSource code for Gismo and GismoApps is bundled together with a release number appended (e.g. Gismo_R2.0). The distribution files are identical for all flavours of Unix and for Windows/NT but the latest release is only supported for SunOS and Linux. Because the distributions are a superset of all files needed for all platforms, individual platforms will find files in the distributions which are unneeded.
Distribution FilesGismo releases are kept on the LCD ftp site in the directory Gismo, containing a README file summarizing the major features of each release. Take me to the Gismo Release directory Installation NotesEGCS CompilersSurprisingly, EGCS compilers don't seem to work well on Linux! In particular, we have detected problems with optimized code generated by EGCS 1.1, EGCS 1.1.2 and gcc 2.95.1. There is a published patch to gcc 2.95.1 which we have tested but it does not solve the problem. If the recently released 2.95.2 is equivalent to 2.95.1 with this correction, then 2.95.2 is also probably broken (we haven't tested 2.95.2 specifically). To avoid any Linux pratfalls, the build files distributed with Gismo and GismoApps force Linux to compile without optimization. CLHEPThere are a number of installation issues for CLHEP when it's used with Gismo/GismoApps: Issues affecting Unix only:
stdHEPstdHEP installation on Unix can be quite messy, particularly as the use of Root to read stdHEP generator level events demands that the relevant stdHEP libraries be compiled with the PIC (position independent code) option and that the resulting libraries be made available as shareables. This is beyond the scope of this page. Please address queries about stdHEP on Unix to SLAC. Generating The Symbols For GismoAppsThe worst part of installing GismoApps is editing the "symbols" file. This is easy for Gismo where only one symbol (the location of the CLHEP include stem) is required. GismoApps on the other hand requires twenty or more. Fortunately the symbols are very systematically named. Most of them look like ARVE_<XXX>_SRC or ARVE_<XXX>_BIN where <XXX> is DISPLAY, EGS, GISMO, etc. Using the example installation directory structure again, these symbols should be defined as: ARVE_<XXX>_SRC=/your/location/Gismo/V-3-1-1/arve/<xxx>/V-1-0-0/src where <sys> is your system's response to `uname` (on Unix systems) or nt (on Windows/NT systems). Note that <xxx> is intended to represent the lower case version of <XXX>. |
|||||||||||||||
A.P.Waite. Last Modified: 01/13/04 12:47