https://github.com/USEPA/CMAQ/blob/5.2.1/DOCS/User_Manual/CMAQ_OGD_ch05_sys_req.md
Compile BldmakeIn CMAQv5.2.1, bldmake is compiled automatically the first time you run any of the CMAQ build scripts. If you prefer to run the build as a separate step, the bldmake build script is in $CMAQ_REPO/UTIL/bldmake/scripts. Compile the CMAQ programsCreate the model executables for ICON, BCON, MCIP, and CCTM. ICON and BCON can be configured for different chemical mechanisms and for different kinds of input data. The configuration options for ICON and BCON are discussed in detail in Chapter 7. Use the following commands to compile ICON and BCON: cd $CMAQ_HOME/PREP/iconbldit_icon.csh [compiler] [version] |& tee build_icon.logcd $CMAQ_HOME/PREP/bconbldit_bcon.csh [compiler] [version] |& tee build.bcon.logwhere,[compiler] can be either intel, pgi, or gcc[version] is the version number of the compiler, e.g. 4.8.1Like the program Bldmake, MCIP is compiled using a Fortran Makefile. Use the following commands to compile MCIP: cd $CMAQ_HOME/PREP/mcip/srcsource ../../../config_cmaq.cshmake |& tee make.mcip.logThe CCTM has multiple configuration options that can be changed to optimize model performance for different applications. In addition to selecting the chemical mechanism to model gas-phase chemistry, the user can also select from several different science modules. The science configuration options for CCTM are discussed in detail in Chapter 4 and Chapter 7. The distribution CCTM build script is configured to create a multiprocessor executable for the installation test simulation. For multiprocessor applications, CMAQ uses the message passing interface (MPI) to manage communication between processors in a clustered multiprocessor computing environment. The location of the MPI include and library files on your Linux system are specified in the config_cmaq.csh script. For single-processor (serial) systems, configure the CCTM build script to create a single-processor executable by commenting out the line that activates the variable “ParOpt” of the CCTM build script. Use the following commands to compile CCTM: cd $CMAQ_HOME/CCTM/scriptsbldit_cctm.csh [compiler] [version] |& tee build_cctm.logThe programs CHEMMECH and CALMAP are also not needed for the test simulation but can be compiled using Makefiles.
|