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

Compare with Current View Page History

« Previous Version 5 Next »

Content

LCLS1

Development

cd mytestrel

rm .sit_conda_env

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

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

###  defaults to py2, optionally add a "-py3" flag for py3

source /cds/sw/ds/ana/conda1/manage/bin/psconda.sh -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 -py3

   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

./clean_lcls2.sh

./build_all.sh -p install

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


Test release for users of UED

source /reg/g/pcds/dist/pds/ued/scripts/setup_env.sh

References

  • No labels