Versions Compared

Key

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

...

Table of Contents

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) 

...

./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

...