Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
s800_spectcl [2018/05/02 16:24] pereira [S800 SpecTcl installation in S800 computer] |
s800_spectcl [2023/04/24 09:44] swartzj |
| |
===== The TreeParameter class ===== | ===== The TreeParameter class ===== |
The TreeParameter class provides a mean to implement parameters in SpecTcl in a tree-like structure and without the need to specify parameter identification numbers. The parameters are referred to by their names only, which at the same time indicate their location in the tree. This reference mechanism is valid for both the coding part of SpecTcl (C++ code) and the interpreter part (Tcl/Tk shell). It eliminates the confusion induced by the use of numerals to refer to the parameters, and allows the user to organize the parameters in a logical fashion. | The TreeParameter class provides a means of implementing parameters in SpecTcl in a tree-like structure and without the need to specify parameter identification numbers. The parameters are referred to by their names only, which at the same time indicate their location in the tree. This reference mechanism is valid for both the coding part of SpecTcl (C++ code) and the interpreter part (Tcl/Tk shell). It eliminates the confusion induced by the use of numerals to refer to the parameters, and allows the user to organize the parameters in a logical fashion. |
| |
| |
- Connect to s800 account, preferably from u6pc5. | - 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 **/user/s800/s800develop/** and remove directory **s800spectcl_develop** | - Go to **/user/s800/s800develop/** and remove directory **s800spectcl** |
- 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) | - 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: |