-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOCS: trying to get docs formatting fixed
- Loading branch information
1 parent
aeeb248
commit 3e9304f
Showing
7 changed files
with
63 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,38 +6,39 @@ | |
# Step-by-step to get running quick! | ||
* First, follow steps **1** through **7**: [Github and Git Setup](https://slaclab.github.io/beamtime-calibration-suite/setup/) | ||
* Next, run the following commands in a terminal (linux or mac terminal should work): | ||
 -_(note: lines starting with '#' are comments with explanation and don't need to be ran)_ | ||
 -_(note: in the 1st command: replace \<slac-username> with your slac linux-username)_ | ||
 -_(note: lines starting with '//' are comments with explanation and don't need to be ran)_ | ||
 -_(note: in the 1st command: replace \<slac-username> with your slac linux-username)_ | ||
``` | ||
# ssh into the s3df machines | ||
// ssh into the s3df machines | ||
ssh -Yt <slac-username>@s3dflogin.slac.stanford.edu | ||
ssh psana | ||
# do setup for s3df environment | ||
// do setup for s3df environment | ||
source /sdf/group/lcls/ds/ana/sw/conda2/manage/bin/psconda.sh | ||
# download the code | ||
// download the code | ||
mkdir repos && cd repos | ||
git clone [email protected]:slaclab/beamtime-calibration-suite.git | ||
cd beamtime-calibration-suite | ||
git fetch | ||
git switch development | ||
# do more environment setup for suite-scripts | ||
// do more environment setup for suite-scripts | ||
source setup.sh | ||
# run an example script | ||
// setup for running an example script | ||
mkdir setup_test_output | ||
cd suite_scripts | ||
python EventScanParallel.py -r 457 | ||
``` | ||
If everything is working, the script should start spitting terminal-output like: | ||
``` | ||
... | ||
3259 True | ||
3257 True | ||
3256 True | ||
3260 True | ||
Event number foo | ||
// run an example script | ||
OUTPUT_ROOT= python EventScanParallelSlice.py -r 457 -p ../setup_test_output | ||
//let the script run to completion... | ||
// now check the example ran correctly | ||
ls ../setup_test_output | ||
//if things are working correctly, you should see these non-empty files: | ||
eventNumbers_c0_r457_rixx1003721.npy means_c0_r457_rixx1003721.npy | ||
EventScanParallel_c0_r457_n1.h5 | ||
``` | ||
|
||
## Developers: | ||
|
@@ -46,4 +47,4 @@ If you are new to git/github, start [here](https://slaclab.github.io/beamtime-ca | |
|
||
An overview of the development process is found [here](https://slaclab.github.io/beamtime-calibration-suite/workflow/) | ||
|
||
For commit messages, we can try to follow the PyDM guidelines: https://slaclab.github.io/pydm/development/development.html#commit-guidelines | ||
For commit messages, we can try to follow the PyDM guidelines: https://slaclab.github.io/pydm/development/development.html#commit-guidelines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters