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
source /cds/sw/ds/ana/conda1/manage/bin/conda_activate ana-4.0.37-py3
git clone git@github.com:lcls-psana/Detector.git
scons
clean_lcls1_env # from ~/bin/clean_lcls1_env
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
Clone packages from git
git clone git@github.com:slac-lcls/lcls2.git
git clone git@github.com:lcls-psana/Detector.git
git clone git@github.com:lcls-psana/PSCalib.git
git clone git@github.com:lcls-psana/CalibManager.git
git clone git@github.com:lcls-psana/pyimgalgos.git
git clone git@github.com:lcls-psana/.git