8000 all production server and GUI instances will be run from lsdc_<tla>_prod by JunAishima · Pull Request #301 · NSLS2/lsdc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

all production server and GUI instances will be run from lsdc_<tla>_prod #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/lsdcGui_amx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_amx
export LSDCHOME=${PROJDIR}lsdc_amx_prod

export PATH=/usr/local/bin:/usr/bin:/bin
export PYTHONPATH=".:${CONFIGDIR}:/opt/dectris/albula/4.0/python:${LSDCHOME}"
Expand Down
2 changes: 1 addition & 1 deletion bin/lsdcGui_fmx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_fmx
export LSDCHOME=${PROJDIR}lsdc_fmx_prod

export PATH=/usr/local/bin:/usr/bin:/bin
export PYTHONPATH=".:${CONFIGDIR}:/opt/dectris/albula/4.0/python:${LSDCHOME}"
Expand Down
2 changes: 1 addition & 1 deletion bin/lsdcGui_nyx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_nyx
export LSDCHOME=${PROJDIR}lsdc_nyx_prod
export EPICS_CA_AUTO_ADDR_LIST=NO
export EPICS_CA_ADDR_LIST=10.67.147.255

Expand Down
2 changes: 1 addition & 1 deletion bin/lsdcRemote_amx.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -l
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_amx
export LSDCHOME=${PROJDIR}lsdc_amx_prod
export PYTHONPATH=".:${CONFIGDIR}:/usr/lib64/edna-mx/mxv1/src:/usr/lib64/edna-mx/kernel/src:${LSDCHOME}:${PROJDIR}/RobotControlLib"
export PATH=/usr/local/bin:/usr/bin:/bin:${PROJDIR}/software/bin:/opt/ccp4/bin
source ${CONFIGDIR}daq_env_amx.txt
Expand Down
2 changes: 1 addition & 1 deletion bin/lsdcRemote_fmx.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -l
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_fmx
export LSDCHOME=${PROJDIR}lsdc_fmx_prod
export PYTHONPATH=".:${CONFIGDIR}:/usr/lib64/edna-mx/mxv1/src:/usr/lib64/edna-mx/kernel/src:${LSDCHOME}:${PROJDIR}/RobotControlLib"
export PATH=/usr/local/bin:/usr/bin:/bin:${PROJDIR}/software/bin:/opt/ccp4/bin
source ${CONFIGDIR}daq_env.txt
Expand Down
2 changes: 1 addition & 1 deletion bin/lsdcServer_amx.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -l
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_amx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the ${CONFIGDIR}daq_env_amx.txt controlled by us or the user? If it is the later anything we are going to rely on being what we set it to should probably be set after the bl specific file.

Similarly, activating a conda env can set ENVS so maybe do that first?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the entire ${CONFIGDIR} should not be editable by the user, we have full control of it.

I have found that it can be tricky to set ENVs, so would rather not touch them if this works

export LSDCHOME=${PROJDIR}lsdc_amx_prod
export PYTHONPATH=".:${CONFIGDIR}:/usr/lib64/edna-mx/mxv1/src:/usr/lib64/edna-mx/kernel/src:${LSDCHOME}:${PROJDIR}/RobotControlLib"
export PATH=/usr/local/bin:/usr/bin:/bin:${PROJDIR}/software/bin:/opt/ccp4/bin
source ${CONFIGDIR}daq_env_amx.txt
Expand Down
2 changes: 1 addition & 1 deletion bin/lsdcServer_fmx.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -l
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_fmx
export LSDCHOME=${PROJDIR}lsdc_fmx_prod
export PYTHONPATH=".:${CONFIGDIR}:/usr/lib64/edna-mx/mxv1/src:/usr/lib64/edna-mx/kernel/src:${LSDCHOME}:${PROJDIR}/RobotControlLib"
export PATH=/usr/local/bin:/usr/bin:/bin:${PROJDIR}/software/bin:/opt/ccp4/bin
source ${CONFIGDIR}daq_env.txt
Expand Down
2 changes: 1 addition & 1 deletion bin/lsdcServer_nyx.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -l
export PROJDIR=/nsls2/software/mx/daq/
export CONFIGDIR=${PROJDIR}bnlpx_config/
export LSDCHOME=${PROJDIR}lsdc_nyx
export LSDCHOME=${PROJDIR}lsdc_nyx_prod
export EPICS_CA_AUTO_ADDR_LIST=NO
export PYTHONPATH=".:${CONFIGDIR}:/usr/lib64/edna-mx/mxv1/src:/usr/lib64/edna-mx/kernel/src:${LSDCHOME}:${PROJDIR}/RobotControlLib"
export PATH=/usr/local/bin:/usr/bin:/bin:${PROJDIR}/software/bin:/opt/ccp4/bin
Expand Down
0