User Tools

Site Tools


s800_spectcl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
s800_spectcl [2018/03/09 14:48]
pereira
s800_spectcl [2018/03/09 14:54]
pereira [S800 SpecTcl deployment]
Line 123: Line 123:
  
 ===== S800 SpecTcl deployment ===== ===== 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:
 +
 +  * "Control" SpecTcl files (e.g. SpecTclControl.tcl, SpecTclInit.tcl, SpecTclRC.tcl etc.)
 +  * **/src** subdirectory with source cpp and h files, Makefile, and libnumreclite.a library from Numerical Recipes
 +  * **/Windows** subdirectory with standard SpecTcl windows files
 +  * **/Definitions** subdirectory with file s800xdt.tcl spectra definition file.
 +
 +
 +The procedure to deploy this software works as follows:
 +
 +  - Check that the environment variable SPECTCLDEPLOY is well defined: ''echo $SPECTCLDEPLOY'' should give you **/user/s800/s800spectcl_deploy**. If that's not the case, edit .bashrc and define the variable (make sure to source .bashrc afterwards).
 +  - Go to **~/s800develop/s800spectcl_develop** and clean its content
 +  - Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git master'' (NOTE: the deployment of this repository is password protected. Contact Jorge Pereira (pereira@nscl.msu.edu), Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for help)
 +  - Type ''Make -f Make.s800 Deploy''. This Makefile does the following:
 +              - 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 
 +              - Creates deployment directory defined in **SPECTCLDEPLOY=/user/s800/s800spectcl_deploy**, along with subdirectories **/src**, **/Windows** and **/Definitions**. 
 +              - Moves "control" tcl files from Main directory into **/user/s800/s800spectcl_deploy**, along with files from **/src** directory; SpecTcl windows files to **/Windows** and s800xdt.tcl to **/Definitions**.
 +              - Compresses directory **/user/s800/s800spectcl_deploy** (''tar -zcvf $(HOME)/s800spectcl_deploy.tar.gz $(SPECTCLDEPLOY)'')
 +              - Removes **/user/s800/s800spectcl_deploy**
 +  - The compressed file s800spectcl_deploy.tar.gz can now be distributed to any user
 +
 +
 +
s800_spectcl.txt ยท Last modified: 2023/09/20 16:00 by swartzj