Installing --disable-netcdf-4 --disable-dap NEVER works and instructions in CMAQ documentation regarding this seem misleading

Look at OMPFLAGS in your ioapi-3.2/ioapi/Makeinclude.Linux2_x86_64ifort: Intel changed the flag between different versions of the compiler. It used to be (v15 or earlier) -openmp; for v16 and later, it preferred -qopenmp but still accepted -openmp; and then in the latest version it accepts -qopenmp only.

It makes it difficult for software authors who don’t know which version their clients are using, or whose clients may actually be (for various reasons, including both testing and avoiding bugs in specific compiler versions for particular programs) using multiple versions of the compiler.