3.2.3. Locations of input files

Input directories, which contain SMOKE input files, are one of the subdirectory types that make up the $SMKDAT directory shown in Figure 3.1, “Basic SMOKE directories: the first three levels of the directory structure” as $SMK_HOME/data. In this section, we provide the structure of these input directories.

Figure 3.3, “SMOKE input files directory structure” shows all of the input directories that stem from $SMKDAT. In the diagram, note how some paths depend on environment variables set in the Assigns file. For example, the INVID environment variable listed in Section 3.2.1, “Example Assigns file” is defined by the user (as we will describe in Chapter 4, Using SMOKE Scripts) to label the inventory name. This variable is used to build the name of the INVDIR directory as follows:

INVDIR = $SMKDAT/inventory/$INVID

So, if a user decided to label the inventory “nei99”, then the Assigns file would have INVID = nei99 and the INVDIR directory would be $SMKDAT/inventory/nei99. Another example of this in the figure is the SMK_M6PATH directory. The full path depends upon the setting of the MSCEN variable; if MSCEN is set to “case1”, then SMK_M6PATH would be $SMKDAT/run_case1/static/m6.

In some cases, we do not have environment variables associated with a directory name. One example is the $SMKDAT/inventory directory. In these cases, we did not assign variables simply because they were not very useful and we have to limit the number of SMOKE environment variables. Most operating systems have a limit on the number of environment variables (usually 256), so when the variables were not really useful we did not assign them. If desired, you can add environment variables to the Assigns file and/or the set_dirs.scr helper script.

Figure 3.3. SMOKE input files directory structure

SMOKE input files directory structure

In the list below, we describe the purpose of each of these directories, along with the file names and in some cases file descriptions for those files that you may need to change. You can refer to Chapter 8, SMOKE Input Files for more information about each of these files (look under the logical file names). Chapter 4, Using SMOKE Scripts provides step-by-step instructions on how to create and install each of the files listed.