Hi DC2ers,
I now have a demonstration of a build system that you can try out. The purpose
of the demo is two-fold:
- to show how a new developer would build a new environment from scratch
- to show how EUPS and pacman will work together to deliver our software
stack
I have this setup on my local web server for testing purposes; however, I'll be
moving this to lsstarchive. (I'll also confess that I haven't confirmed
this to work on a Mac, but it should.)
Here's the recipe akin to how it might appear in the S&P document, section 3.
1. Create and change into a root directory where the software stack
will be installed:
mkdir LSST; cd LSST
2. Download and run the installation prep script:
wget 'http://monet.ncsa.uiuc.edu/~rplante/lsst/pkgs/prepnewinstall.sh'
sh prepnewinstall.sh
Among other things, this will produce a "flavor" subdirectory named
either "Linux" or "Darwin", depending on whether you are on a Linux box
or a Mac, respectively.
3. Change into your flavor directory and load the initial LSST
environment:
cd Linux # or, cd Darwin
source loadLSST.csh # or, source loadLSST.sh
This places EUPS and Pacman into your command search path.
4. Install the LSST software stack:
pacman -install LSST:LSSTFastDemo
[In practice, LSSTpipe or LSSTfull would be used instead of
LSSTFastDemo. LSSTFastDemo is just for this demo.]
And you're done.
Now you're ready to try out EUPS. In this demo, we've loaded two versions of
the Termcap package. When you select version 1.3.1-1, your environment will be
updated accordingly:
setup Termcap 1.3.1-1
echo $TERMCAP_DIR
echo $LD_LIBRARY_PATH
Now switch to version 1.3.1-2:
setup Termcap 1.3.1-2
echo $TERMCAP_DIR
echo $LD_LIBRARY_PATH
Once the full environment is installed, you would load it with a new session
(say via lines inserted into your shell RC file) via:
setenv LSST_HOME /.../LSST/Linux
source $LSST_HOME/loadLSST.csh
The 2nd line would inclucde a "setup" line that will load the latest versions
of everything.
We'll talk about this today at our telecon.
cheers,
Ray
_______________________________________________
LSST-data mailing list
[email protected]
http://www.lsstmail.org/mailman/listinfo/lsst-data