4.4. Running SMOKE default cases

4.4.1. nctox case

As mentioned in Section 4.1, “Introduction”, the first step in working with SMOKE is invoking the Assigns file. In this section, we will go beyond that first step to actually running the scripts. In the first section, we describe how to run the nctox case, previously described. But first, we will review the essential steps for running SMOKE each and every time you start to work with the SMOKE system.

First, the EDSS_ROOT environment variable needs to be defined. In Section 12.3, “Installing SMOKE”, we explain that you can configure your UNIX system to set this automatically each time you log into your computer. If you have not done that, then you will need to set the EDSS_ROOT variable manually before invoking an Assigns file:

setenv EDSS_ROOT <directory in which you installed SMOKE>

Second, you must invoke the Assigns file for the case that you want to run. This will make available all of the environment variables that you can use to navigate through the SMOKE directory structure. There is a different Assigns file for each case, so we provide this instruction with the case-specific documentation below. Of course, when you develop an Assigns file for your case, you will use that instead.

4.4.1. nctox case

4.4.1.1. Source the nctox Assigns file

cd $EDSS_ROOT/subsys/smoke/assigns (change to the assigns directory)

source ASSIGNS.nctox.cmaq.cb4p25_wtox.us36-nc (set up for the nctox case)

4.4.1.2. Run the base-year nctox scripts

cd $SCRIPTS/run (change to the run scripts directory)

smk_ar_nctox.csh (invoke the stationary area run script)

smk_bg_nctox.csh (invoke the BEIS2 biogenic run script)

smk_bg_nctox_beis3.csh (invoke the BEIS3 biogenic run script)

smk_mb_nctox.csh (invoke the on-road mobile run script)

smk_nr_nctox.csh (invoke the nonroad mobile run script)

smk_pt_nctox.csh (invoke the point run script)

smk_mrgall_nctox.csh (invoke the all-sources merge script)

4.4.1.3. Run the future-year nctox scripts

smk_ar_nctox_18.csh (invoke the 2018 stationary area run script)

smk_mb_nctox_18.csh (invoke the 2018 on-road mobile run script)

smk_nr_nctox_18.csh (invoke the 2018 nonroad mobile run script)

smk_pt_nctox_18.csh (invoke the 2018 point run script)

smk_mrgall_nctox_18.csh (invoke the 2018 all-sources merge script)

4.4.1.4. Check your results against the distributed nctox files

cd $SCRIPTS/install (change to the install scripts directory)

check_smk_install (invoke the installation check script)