Error running MCIP V5.4

Hello, everyone.
I am running the MCIP program in CMAQ 5.4 and I am getting the following error when I run the run_mcip.csh file:
I use –disable-netcdf-4 --enable-largefile --disable-dap to compile netcdf-c-4.7.4 and netcdf-fortran-4.5.3, compiler is intel.When I compile netcdf-c with [–enable-netcdf-4 --enable-largefile --disable-dap], my CMAQ will not install successfully.

Thank you for any help in advance.

I use –disable-netcdf-4 --enable-largefile --disable-dap to compile netcdf-c-4.7.4 and netcdf-fortran-4.5.3, compiler is intel.

Did you build WRF the same way?

Thank you for your reply,

I build WRF with –enable-fortran --enable-netcdf4

I’m not sure if I should use the same compilation for the same tool library?

You need to use the same for both.

But see https://cjcoats.github.io/ioapi/AVAIL.html#ncf4: If you don’t build netCDF with --disable-netcdf4 --disable-dap, you will need to modify all Makefiles and build systems to use additional libraries that may be discovered by running the netCDF commands

nc-config --libs
nf-config --flibs

I apologize for only getting back to you now, I reinstalled WRF as you said and it has now fixed the problem. Thank you very much for your reply!