Steps for installing SMOKE:
Make sure that the three files you downloaded from the CMAS website are in the same directory.
Choose the directory where you want to install SMOKE and the data files. This directory will be known as your
directory.
SMK_HOME
At the command line, type:
setenv
SMK_HOME
<your selected directory for SMOKE installation>
NOTE: the SMOKE scripts are designed to run under the UNIX C-shell (either csh or tcsh); the scripts will not work with other shells such as bash.
Make sure your
directory exists by typing the following command on the command line:
SMK_HOME
mkdir -p
$SMK_HOME
Go to the directory when you have saved the SMOKE installation files.
Type the following at the command line:
source
smoke_install.csh
This command will unzip and install the SMOKE files in your
directory. If the script encounters any problems, it will print an error message to point you to the problem.
SMK_HOME
The SMK_HOME
setting is needed by the SMOKE scripts. Therefore, it is best to always have this setting defined when you log into your
computer. To do this, perform the following additional steps before proceeding:
Go to your home directory, then use a text editor to view the .cshrc
file (note that this file is a hidden file, which can be listed in UNIX using the ls -a command at the prompt).
In the .cshrc
file, add the following line:
setenv
SMK_HOME
<your selected directory for SMOKE installation>
Save and close the .cshrc
file. Your
directory will now be defined automatically when you log into the computer or when you open a new xterm window.
SMK_HOME
Now you are ready to run the SMOKE nctox case. Running SMOKE is described in Chapter 4, Using SMOKE Scripts, which discusses using the SMOKE scripts. Please refer to Section 4.3, “Running the SMOKE test case” for instructions on running the example scripts for the nctox case. The current SMOKE documentation can be found online at http://www.smoke-model.org.