SFELPHOTON-1335:try to debug
This commit is contained in:
40
Readme.md
40
Readme.md
@@ -16,6 +16,10 @@ psigithub git@git.psi.ch:epics_support_apps/ppmac.git --> ~/Documents/prj/Sw
|
||||
packages needed by PBTools for lowest level communication to PowerBrick
|
||||
|
||||
additional module 'slic' is needed, which is provided by Sven and covers the JungFrau acquisition framefork
|
||||
|
||||
For motion/frame synchronization read:
|
||||
~/Documents/prj/SwissFEL/apps/PBSwissMX/Readme.md
|
||||
|
||||
```
|
||||
|
||||
deployment and tests (update: 18.01.24)
|
||||
@@ -24,7 +28,6 @@ deployment and tests (update: 18.01.24)
|
||||
#initial full deployment:
|
||||
git commit-amend && git push psigithub -f && make uninstall init update
|
||||
|
||||
|
||||
Document to start SwissMX in cristallina environment:
|
||||
https://docs.google.com/document/d/1yEmV_DbRBKQKVCoovjXriNgSjNEBaz50WA0l3yA5jtg/edit#heading=h.z9io692b8tow
|
||||
```
|
||||
@@ -32,25 +35,18 @@ https://docs.google.com/document/d/1yEmV_DbRBKQKVCoovjXriNgSjNEBaz50WA0l3yA5jtg/
|
||||
* push local stuff to git *
|
||||
***************************
|
||||
zamofing_t@ganymede:
|
||||
cd ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX &&\
|
||||
cd ~/Documents/prj/SwissFEL/apps/SwissMX &&\
|
||||
git commit-amend &&\
|
||||
git push psigithub
|
||||
git push psigithub -f
|
||||
|
||||
cd ~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX/python/SwissMX &&\
|
||||
cd ~/Documents/prj/SwissFEL/apps/PBSwissMX &&\
|
||||
git commit-amend &&\
|
||||
git push psigithub
|
||||
git push psigithub -f
|
||||
|
||||
*************************************
|
||||
* switch to latest test environment *
|
||||
*************************************
|
||||
ssh zamofing_t@saresc-cons-03
|
||||
|
||||
#first time only:
|
||||
cd /sf/cristallina/applications/
|
||||
git clone -o psigithub git@git.psi.ch:grp-sf_cristallina/SwissMX.git
|
||||
git clone -o psigithub git@git.psi.ch:grp-sf_cristallina/SwissMX_PB.git
|
||||
rsync -vain ~/Documents/prj/SwissFEL/apps/SwissMX/simCamImg saresc-cons-03:/sf/cristallina/applications/SwissMX/
|
||||
cd /sf/cristallina/applications/SwissMX
|
||||
ssh saresc-cons-03
|
||||
|
||||
cd /sf/cristallina/applications/SwissMX &&\
|
||||
git checkout master &&\
|
||||
@@ -60,7 +56,7 @@ git reset psigithub/master --hard &&\
|
||||
git stash pop
|
||||
#git pull psigithub --ff-only master
|
||||
|
||||
cd /sf/cristallina/applications/SwissMX_PB &&\
|
||||
cd /sf/cristallina/applications/SwissMX/PBSwissMX &&\
|
||||
git checkout master &&\
|
||||
git stash push &&\
|
||||
git fetch psigithub master &&\
|
||||
@@ -68,18 +64,22 @@ git reset psigithub/master --hard &&\
|
||||
git stash pop
|
||||
#git pull psigithub --ff-only master
|
||||
|
||||
chmod -R g+w /sf/cristallina/applications/SwissMX
|
||||
|
||||
*******************
|
||||
* run application *
|
||||
*******************
|
||||
additionally needed packages on an RH8 system:
|
||||
pip install --user pandas zmq qtawesome
|
||||
mkdir -p /sf/cristallina/applications/python3.6-packages
|
||||
pip3.6 install --prefix /sf/cristallina/applications/SwissMX pandas zmq qtawesome
|
||||
|
||||
cd /sf/cristallina/applications/SwissMX
|
||||
/opt/gfa/python-3.8/latest/bin/python swissmx.py
|
||||
*** with official python ***
|
||||
additionally needed packages:
|
||||
RH7:
|
||||
[saresc-vcons-01 ~]$ /opt/gfa/python-3.8/latest/bin/pip install --user qtawesome
|
||||
RH8:
|
||||
[saresc-cons-03 ~]$ pip install --user qtawesome
|
||||
|
||||
swissmx
|
||||
|
||||
#with conda environment:
|
||||
ssh gac-cristall@saresc-cons-03 (pw:ValToira_2021)
|
||||
cd /sf/cristallina/applications/SwissMX/
|
||||
# conda env list
|
||||
|
||||
Reference in New Issue
Block a user