Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
s800_spectcl [2018/03/09 14:27] pereira [S800 SpecTcl installation in S800 computer] |
s800_spectcl [2018/03/09 14:37] pereira [S800 SpecTcl installation in S800 computer] |
| |
===== 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). The process requires special password permits. Make sure to contact Jorge Pereira (Pereira@nscl.msu.edu) or, Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for assistance. | Before installing the S800 SpecTcl make sure to contact the S800 Device Physicist (Jorge Pereira). The process requires special password permits. Make sure to contact Jorge Pereira (pereira@nscl.msu.edu) or, Ron Fox (fox@nscl.msu.edu), or Giordano Cerizza (cerizza@nscl.msu.edu) for assistance. |
| |
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: |
| |
1. Check that the environment variable SPECTCLBINDIR is well defined: echo $SPECTCLBINDIR should give you /user/s800/s800spectcl. If that's not the case, edit .bashrc and define the variable (make sure to source .bashrc afterwards). | - Check that the environment variable SPECTCLBINDIR is well defined: echo $SPECTCLBINDIR should give you /user/s800/s800spectcl. If that's not the case, edit .bashrc and define the variable (make sure to source .bashrc afterwards). |
2. Go to ~/s800develop/s800spectcl_develop and clean its content | - Go to ~/s800develop/s800spectcl_develop and clean its content |
3. 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) | - 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) |
4. Type Make -f Make.s800 Install. This Makefile does the following: | - Type "Make -f Make.s800 Install". This Makefile does the following: |
1. 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 /libnumrec, runs make clean, and make LIBLITE (to clear objects and create library libnumreclite.a and moves the library to the ../src subdirectory |
2. 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 /src, runs make clean, and make (this creates the SpecTcl binary) and moves it to the Main directory (up) |
3. Creates SpecTcl-running directory defined in SPECTCLBINDIR=/user/s800/s800spectcl, along with subdirectories /Windows and /Definitions. | - Creates SpecTcl-running directory defined in SPECTCLBINDIR=/user/s800/s800spectcl, along with subdirectories /Windows and /Definitions. |
4. Moves "control" tcl files from Main directory into /user/s800/s800spectcl, along with executable SpecTcl; Xamine6.ctbl to the home directory; windows files to /Windows and s800xdt.tcl to /Definitions . | - Moves "control" tcl files from Main directory into /user/s800/s800spectcl, along with executable SpecTcl; Xamine6.ctbl to the home directory; windows files to /Windows and s800xdt.tcl to /Definitions . |
| - This gets the software necessary to run SpecTcl ready in directory /user/s800/s800spectcl. |
5. This gets the software necessary to run SpecTcl ready in directory /user/s800/s800spectcl. | - I added a script gospectcl to the binary directory /users/s800/bin. This allows to run SpecTcl from anywhere, just by typing gospectcl |
6. I added a script gospectcl to the binary directory /users/s800/bin. This allows to run SpecTcl from anywhere, just by typing gospectcl | |
| |
| |
| |
............................. | ............................. |
| |