Software Procedures
The following is a quick "How To"
for some software tools used in NLD detector simulation.
How To:
- control VC++ project using SourceSafe 5.0 Source Control:
- start VSS 5.0
- add source, header and library files to VSS 5.0 database (exclude VC++ .dsw and .dsp)
- start VC++ 5.0
- right click on files to be modified, to change Read/Write privilages for VC++
- before checking controled files back in, save workspace/project, thereby updating
(local) .dsw and .dsp files
Features: VC++ keeps track of all controlled files and will not allow
compilation or modification of a source or it's dependencies. All
files relavent to the modified file must be checked out.
- generate material data using the PC application: ipeg.exe
- create an input file (*.inp) specifying material type, energy cutoffs and functional
operation (see User Manual)
- start ipeg.exe from a DOS console and submit input file as prompted
- view the generated files *.lst and *.peg for verification of proper execution (*.peg is
a *.mat file in GISMO).
Features: The list of elements after the material NAMELIST is column
sensitive: a new element every fourth column and nothing less. Error code 16 appears
to correspond to a syntax error, where other errors, such as casting, are a little more
informative.
- create a .tar.gz file of entire LCD (Gismo) tree
- cd $NLDROOT (There should exist a file called lcd-w.tar-exclude
listing files/directories to exclude from the archive.)
- tar cvfX /tmp/lcd-working.tar lcd-w.tar-exclude lcd-working
- gzip -c lcd-working.tar > lcd-working.tar.gz
Chad Colgur Last updated: 01/13/04 12:37