This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
s800_spectcl [2018/03/09 14:29] pereira [S800 SpecTcl installation in S800 computer] |
s800_spectcl [2018/05/02 16:24] pereira [S800 SpecTcl installation in S800 computer] |
||
---|---|---|---|
Line 2: | Line 2: | ||
SpecTcl is the NSCL's event data analysis tool used for online and offline data analysis during experiments involving the S800 spectrograph. The documentation is accessible at: http:// | SpecTcl is the NSCL's event data analysis tool used for online and offline data analysis during experiments involving the S800 spectrograph. The documentation is accessible at: http:// | ||
- | The S800 SpecTcl is run from the main directory **/ | + | **Important NOTES**: |
+ | * The S800 SpecTcl is run from the main directory **/ | ||
+ | * A S800 SpecTcl packet (compressed tar file) can be created for distribution to users. Instructions on how to create this packet can be found [[S800 SpecTcl# | ||
- | The SpecTcl Control has been adapted for special functions required for the analysis of S800 data. SpecTcl can be open by from computer [[Software# | + | The SpecTcl Control has been adapted for special functions required for the analysis of S800 data. SpecTcl can be open by from computer [[Software# |
Spectra definition files can be found in directory **/ | Spectra definition files can be found in directory **/ | ||
Line 104: | Line 106: | ||
===== S800 SpecTcl installation in S800 computer ===== | ===== S800 SpecTcl installation in S800 computer ===== | ||
- | Before installing the S800 SpecTcl make sure to contact the S800 Device Physicist (Jorge Pereira). | + | Before installing the S800 SpecTcl make sure to contact the S800 Device Physicist (Jorge Pereira). |
In order to install S800 SpecTcl in the S800 computer, follow the following steps: | In order to install S800 SpecTcl in the S800 computer, follow the following steps: | ||
- | - Check that the environment variable SPECTCLBINDIR is well defined: echo $SPECTCLBINDIR should give you / | + | |
- | - Go to ~/ | + | |
- | - Clone the master branch from the remote repository: git clone git@git.nscl.msu.edu: | + | - Go to **/ |
- | - Type Make -f Make.s800 Install. This Makefile does the following: | + | - Clone the master branch from the remote repository: |
- | - Goes to subdirectory /libnumrec, runs make clean, and make LIBLITE (to clear objects and create library libnumreclite.a and moves the library to the ../src subdirectory | + | - Type '' |
- | - Goes to subdirectory /src, runs make clean, and make (this creates the SpecTcl binary) and moves it to the Main directory (up) | + | - Goes to subdirectory |
- | - Creates SpecTcl-running directory defined in SPECTCLBINDIR=/ | + | - Goes to subdirectory |
- | - Moves " | + | - Creates SpecTcl-running directory defined in **SPECTCLBINDIR=/ |
+ | - Moves " | ||
+ | - This gets the software necessary to run SpecTcl ready in directory **/ | ||
+ | - SpecTcl can now be run just by typing '' | ||
+ | |||
+ | |||
+ | ===== S800 SpecTcl deployment ===== | ||
+ | This section describes the procedure and scripts (Makefiles) to create a tar file with the S800 SpecTcl source files that any user may need to run S800 SpecTcl by themselves. This tar file contains: | ||
+ | |||
+ | * " | ||
+ | * **/src** subdirectory with source cpp and h files, Makefile, and libnumreclite.a library from Numerical Recipes | ||
+ | * **/ | ||
+ | * **/ | ||
+ | |||
+ | |||
+ | The procedure to deploy this software works as follows: | ||
- | - This gets the software necessary | + | - Connect to s800 account, preferably from u6pc5. |
- | - I added a script gospectcl | + | - Check that the environment variable SPECTCLDEPLOY is well defined: '' |
+ | - Go to **/user/s800/ | ||
+ | - Clone the master branch from the remote repository: '' | ||
+ | - Type '' | ||
+ | - Goes to subdirectory **/ | ||
+ | - Creates deployment | ||
+ | - Moves " | ||
+ | - Compresses directory **/ | ||
+ | - Removes **/ | ||
+ | - The compressed file s800spectcl_deploy.tar.gz is located in the home directory **/ | ||
- | ............................. | ||