Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

O'Grady, Paul Christopher <cpo@slac<cpo@slac.stanford.edu>edu>Mon 12/14/2020 49:32 PM
Mariani, Valerio Dubrovin, Mikhail15 PM
Hi Mikhail,

If it helps I think I created a rough “test release” mechanism for new-style psana1.  I think you create a testrel directory, checkout the appropriate packages with git then 

I think the following commands work for me for py3:

mkdir mytestrel
cd mytestrel
source /cds/sw/ds/ana/conda1/manage/bin/psconda.sh -py3
source source  /cds/sw/ds/ana/conda1/manage/bin/setup_testrel

Do this only once.  Then each time you login and want to activate the testrel you do:

source git clone git@github.com:lcls-psana/Detector.git
source /cds/sw/ds/ana/conda1/manage/bin/activate_testrel

Then “scons” as usual.  It may be I remember this incorrectly, however.

scons

I wrote these scripts quickly, so they aren’t robust, but hopefully a good starting point.  

Right now they hardwire py3, but with a little work I think we can also make it work with the new-style py2.chris