See https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html#cmaq:
According to the ISO Fortran Standard, there are two “source formats” for Fortran source code – the older (
f77
) “fixed” format with code in columns 7-72 and continuation markers in column 6, and the (f90
) “free” format, with source in columns 1-132 and ampersand (“&”) for trailing continuation markers, as well as a specification for code which is acceptable to both forms.Since it is used by various models that use “free” format, the I/O API carefully follows the Standard in this regard, and uses the ISO-approved “both-form” format for its Fortran
INCLUDE
files.Some of the models—in particular, CMAQ and SMOKE however, do not—instead using a non-Standard “fixed-132” format. The I/O API Makefile has a way of dealing with this; the commands
cd /ioapi
make fixed_srcwill create a new directory ioapi/fixed_src and populate it with copies of the
INCLUDE
files that have been edited to work with the non-Standard “fixed-132” format. You will need to use theseINCLUDE
files with CMAQ and SMOKE.