Difference between revisions of "CODA support files detailed notes"
From HallCWiki
Jump to navigationJump to search(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
== CODA related scripts == | == CODA related scripts == | ||
* Start of run GUI: the script is added at the jceidt PEB process. For "HMS" at coda@cdaql5, the start of run GUI script is /home/coda/coda/scripts/start_logruninfo.sh. The run number is obtained as an argument in jcedit or using getCurrentRunNumber; $DISPLAY in start_logruninfo.sh determines where the GUI shows up, and it's based on $HOST. Note: if running two CODAs same time, /home/coda/coda/datafile/rcRunNumber will be overwritten by each other. | * Start of run GUI: the script is added at the jceidt PEB process. For "HMS" at coda@cdaql5, the start of run GUI script is /home/coda/coda/scripts/start_logruninfo.sh. The run number is obtained as an argument in jcedit or using getCurrentRunNumber; $DISPLAY in start_logruninfo.sh determines where the GUI shows up, and it's based on $HOST. Note: if running two CODAs same time, /home/coda/coda/datafile/rcRunNumber will be overwritten by each other. | ||
+ | * End of run log: the script is added at the jceidit PEB process. For "HMS" at coda@cdaql5, the end of run script is /home/coda/coda/scripts/end_of_run-master.sh | ||
+ | * Prescale GUI script: bin/go_prescale_* |
Latest revision as of 14:08, 25 June 2024
- This is intended to document the CODA migration from "coda" account to "hccoda" account
CODA configuration
- CODA setup shell script is defined in the log in shell script: .cshrc; The current setup script is: $HOME/bin/coda_user_setup. It defines the CODA software path, EXPID, SESSION etc. It should be merged with coda/coda_scripts/setupCODA3.tcsh. It's better to keep bin/coda_user_setup and leave coda/coda_scirpts/setupCODA3.tcsh as an example.
- "platform" is a system service. It's in /etc/systemd/system/platform.service. The shell script is /home/coda/coda/coda_scripts/coda_platform.sh. Somehow, root uses bash shell, so here CODA variables have to be exported again in bash shell. This should be fixed.
- Start of run GUI: the script is added at the jceidt PEB process. For "HMS" at coda@cdaql5, the start of run GUI script is /home/coda/coda/scripts/start_logruninfo.sh. The run number is obtained as an argument in jcedit or using getCurrentRunNumber; $DISPLAY in start_logruninfo.sh determines where the GUI shows up, and it's based on $HOST. Note: if running two CODAs same time, /home/coda/coda/datafile/rcRunNumber will be overwritten by each other.
- End of run log: the script is added at the jceidit PEB process. For "HMS" at coda@cdaql5, the end of run script is /home/coda/coda/scripts/end_of_run-master.sh
- Prescale GUI script: bin/go_prescale_*