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:38] pereira [S800 SpecTcl installation in S800 computer] |
s800_spectcl [2018/03/09 14:54] pereira |
||
---|---|---|---|
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 108: | Line 110: | ||
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: '' | + | - Check that the environment variable SPECTCLBINDIR is well defined: '' |
- | - Go to ~/ | + | - Go to **~/ |
- | - Clone the master branch from the remote repository: git clone git@git.nscl.msu.edu: | + | - Clone the master branch from the remote repository: |
- | - Type "Make -f Make.s800 Install". This Makefile does the following: | + | - Type '' |
- | - 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 | + | - Goes to subdirectory |
- | - 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=/ | + | - Creates SpecTcl-running directory defined in **SPECTCLBINDIR=/ |
- | - Moves " | + | - Moves " |
- | - This gets the software necessary to run SpecTcl ready in directory / | + | - This gets the software necessary to run SpecTcl ready in directory |
- | - I added a script | + | - SpecTcl can now be run just by typing '' |
+ | |||
+ | |||
+ | ===== S800 SpecTcl deployment ===== | ||
+ | This section describes the procedure and scripts (Makefiles) | ||
+ | |||
+ | * " | ||
+ | * **/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: | ||
+ | |||
+ | - Check that the environment variable SPECTCLDEPLOY is well defined: '' | ||
+ | - Go to **~/ | ||
+ | - Clone the master branch from the remote repository: '' | ||
+ | - Type '' | ||
+ | - Goes to subdirectory **/ | ||
+ | - Creates deployment directory defined in **SPECTCLDEPLOY=/ | ||
+ | - Moves " | ||
+ | - Compresses directory **/ | ||
+ | - Removes **/ | ||
+ | - The compressed file s800spectcl_deploy.tar.gz can now be distributed to any user | ||
- | ............................. | ||