Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
s800_spectcl [2018/03/10 14:07] pereira [S800 SpecTcl installation in S800 computer] |
s800_spectcl [2018/03/10 14:11] pereira [S800 SpecTcl deployment] |
- 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 **/user/s800/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 assistance. | - 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 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 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: |
- 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 |
| |
| |
| |