You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Content

LCLS1

Development

cd mytestrel

rm .sit_conda_env

source /cds/sw/ds/ana/conda1/manage/bin/psconda.sh (defaults to py2, optionally add a "-py3" flag for py3) 

source /cds/sw/ds/ana/conda1/manage/bin/setup_testrel

git clone git@github.com:lcls-psana/Detector.git

scons

Production

source /cds/sw/ds/ana/conda1/manage/bin/psconda.sh (defaults to py2, optionally add a "-py3" flag for py3) 

LCLS2

Development

cd mytestrel

source /cds/sw/ds/ana/conda2/manage/bin/psconda.sh

git clone git@github.com:slac-lcls/lcls2.git

cd lcls2

.  setup_env.sh

./clean_lcls2.sh

./build_all.sh

Test build production

./build_all.sh -p install    # after a clean build!

but keep in mind that any changes to the python will require that command to be issued again ("non-develop" mode).

Then test commands etc. and return back to development

./clean_lcls2.sh

./build_all.sh

Production

source /cds/sw/ds/ana/conda2/manage/bin/psconda.sh

References

  • No labels