CMAQv5.3.2 rel Compiler Test
Obtained the code using
git clone -b 20200813 https://github.com/kmfoley/CMAQ.git CMAQ_REPO
Followed the instructions to download the latest ioapi32 tagged version tar.gz
wget http://github.com/cjcoats/ioapi-3.2/archive/2020220.tar.gz tar -xzvf 2020220.tar.gz cd ioapi-3.2-2020220
Built the ioapi library. The instructions on how to build this need to be updated from what is availaable here: https://github.com/lizadams/CMAQ/blob/master/DOCS/Users_Guide/Tutorials/CMAQ-WRF_tutorial_build_gcc.md
Ran the bldit_project.csh script to create an optimized and a debug environment.
/proj/ie/proj/CMAS/CMAQ/CMAQv5.3.2_rel/openmpi_4.0.1_gcc_9.1.0
/proj/ie/proj/CMAS/CMAQ/CMAQv5.3.2_rel/openmpi_4.0.1_gcc_9.1.0_debug
for the debug environment, changed the config_cmaq.csh to use the -Og option.
setenv myFSTD "-Og" setenv myCFLAGS "-Og"
For the optimized version, used the default flags provided.
setenv myFSTD "-O3 -funroll-loops -finit-character=32 -Wtabs -Wsurprising -march=native -ftree-vectorize -ftree-loop-if-convert -finline-limit=512" setenv myCFLAGS "-O2"