Release Tools: Overview
Created to support the new SCons build tool, SAS Software's new suite of release tools include the:
Environment Variables: One advantage of SCons builds is that only two environment variables are required:
InstallersWhile you can obtain binaries and code using any of the above tools, their functionality is different, and the information provided by each tool varies. To download ScienceTools releases, for example, most users will find the GLAST Installer or the Command Line Installer most convenient. Package Selections. Regardless of the method used to obtain the software, however, all downloads must specify the:
RMViewerYou can also download developer or source code releases as well as end-user releases using the stand-alone application RMViewer, which can be downloaded to your desktop or laptop. (See the RMViewer Users Guide.) Installer ReleasesEnd-user releases of ScienceTools provide all the binaries and associated files required for running ScienceTools applications. Notes:
Release Manager Builds and Directory StructureEnd-users can also obtain binaries and developers can obtain the code using the Release Manager. The Release Manager web interface also lists available build versions and status information. Directory StructureBuilds for the various operating systems are located in their respective subdirectories of the ReleaseManagerBuild directory:
For example, at the time of this writing (July 22, 2010), these subdirectories included:
Within each of these subdirectories are two subdirectories:
So..., the full path to the ScienceTools-09-17-00 build for redhat5-i686-32bit-gcc41 optimized would be: /nfs/farm/g/glast/u35/ReleaseManagerBuild/redhat5-i686-32bit-gcc41/Optimized/ScienceTools/09-17-00 The directory contents of the corresponding redhat5 build are: External Libraries: Directory StructureDirectory structures for the external libraries include the compiler in their path. For example, CLHEP's include and lib directories are in: /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit-gcc34/CLHEP/1.9.2.2/gcc34 The external libraries are installed at SLAC, and are available for build types as follows: Windows: Linux: Mac: Examples: Setup Scripts for Running SCons-built ScienceTools ExecutablesEnvironment Variables. The correct values for GLAST_EXT and INST_DIR are determined by:
Variants. When performing an SCons build, binaries for different platforms can be created from the same source. The variant fully identifies the binary type (OS, compiler, debug or optimized). Typical values are redhat4-i686-32bit-gcc34-Optimized and XP-i386-32bit-vc71-Debug. Note: Depending on context, variant may have a different meaning. For example, the command line installer uses the term variant when referring to the choice between debug and optimized Run Mode. Which mode will you run in: using wrapper scripts or single setup, after which you may run the executables directly? Wrapper scripts may be found under INST_DIR/bin/variant, and the actual executables are under INST_DIR/exe/variant.
|