...
Build of G4 (possibly a later version) for VC90. Tracy agreed to take a peek.
ASP and RSP
Joanne is plugging away on ASP, no roadblocks yet, but plenty to do. As for RSP, it depends on both ASP and Scitools and Joanne proposes that before worrying about SCons, that the design of RSP be looked at and simplified.
SCons bootstrap
Wiki Markup |
---|
Joanne explained the thinking behind Tom's work to automate the determination of the path to set up the environment based on the type of OS desired for a run. It is desired to automate this setup, to prepare the a path to the setup script suitable for the desired combination of variant, debug/opt,etc. Joanne feels providing a central utility is the way to go. Navid is willing to help out. Tom has created a python script as a starting point:
svs.py \-h
usage: svs.py \[options\]
SCons architecture variant string generator
options:
\--version show program's version number and exit
\-h, \--help show this help message and exit
\-s, \--SConsArch Return SCons architecture variant string
\-c, \--SConsComp Return SCons compiler string
\-i, \--SConsInstDir Return SCons installation directory path
\-b, \--SConsBinDir Return SCons binaries directory path
\-o, \--cmtArch Return cmt architecture string
\-VSCITOOLSVER, \--SciToolsVer=SCITOOLSVER
Version of ScienceTools to use, default=%
\-TSCITOOLSTYPE, \--SciToolsType=SCITOOLSTYPE
Type of ScienceTools build to use, default=%
\-CCOMPILERVERSION, \--CompilerVersion=COMPILERVERSION
Compiler version desired
For example:
$ svs.py \-b
/nfs/farm/g/glast/u35/ReleaseManagerBuild/redhat4-i686-32bit-gcc34/Optimized/ScienceTools/09-15-03/bin/redhat4-i686-32bit-gcc34/
(The location of the binaries.)We |
From Tom via email:
Wiki Markup Here is what I now do to setup ScienceTools from my personal account. These lines are in my .cshrc, setenv SCONS_BIN `/u/ec/dragon/bin/svs.py \-b` setenv INST_DIR `/u/ec/dragon/bin/svs.py \-i` setenv GLAST_EXT /afs/slac/g/glast/ground/GLAST_EXT/${SCONS_ARCH} Then on the command line, to initialize the environment, one does this: $ bash (because there is no .csh \_setup script for SciTools 09-15-03) $ source $SCONS_BIN/_setup.sh
Tom also noted that the different directory structures in the old-style GLAST_EXT for CMT externals and the SCons version causes some trouble when attempting to set up for both ST and GR. We could provide symlinks across the board for the GR externals to standardize the setup. This will probably also be taken care of as we move to support GR SCons builds.