Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
s800_spectcl [2018/03/09 14:54] pereira [S800 SpecTcl deployment] |
s800_spectcl [2018/05/02 16:21] pereira [S800 SpecTcl installation in S800 computer] |
**Important NOTES**: | **Important NOTES**: |
* The S800 SpecTcl is run from the main directory **/user/s800/s800spectcl**. Instruction on how to install this software can be found [[S800 SpecTcl#S800 SpecTcl installation in S800 computer|here]]. | * The S800 SpecTcl is run from the main directory **/user/s800/s800spectcl**. Instruction on how to install this software can be found [[S800 SpecTcl#S800 SpecTcl installation in S800 computer|here]]. |
* An 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#S800 SpecTcl deployment|here]]. | * 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#S800 SpecTcl deployment|here]]. |
| |
| |
| |
===== 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). |
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: |
| |
| - Connect to s800 account, preferably from u6pc5. |
- 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). |
- Go to **~/s800develop/s800spectcl_develop** and clean its content | - Go to **/user/s800/s800develop/** and remove directory **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) | - Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git -b 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 assistance). |
- Type ''Make -f Make.s800 Install''. This Makefile does the following: | - Type ''Make -f Make.s800 Install''. 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 | - 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 |
The procedure to deploy this software works as follows: | The procedure to deploy this software works as follows: |
| |
| - Connect to s800 account, preferably from u6pc5. |
- 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). | - 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 | - Go to **/user/s800/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) | - Clone the master branch from the remote repository: ''git clone git@git.nscl.msu.edu:pereira/s800spectcl.git -b 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: | - 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 | - 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 |
- Compresses directory **/user/s800/s800spectcl_deploy** (''tar -zcvf $(HOME)/s800spectcl_deploy.tar.gz $(SPECTCLDEPLOY)'') | - Compresses directory **/user/s800/s800spectcl_deploy** (''tar -zcvf $(HOME)/s800spectcl_deploy.tar.gz $(SPECTCLDEPLOY)'') |
- Removes **/user/s800/s800spectcl_deploy** | - Removes **/user/s800/s800spectcl_deploy** |
- The compressed file s800spectcl_deploy.tar.gz can now be distributed to any user | - The compressed file s800spectcl_deploy.tar.gz is located in the home directory **/user/s800** and can now be distributed to any user |
| |
| |
| |