Thanks for reply.
Now it said,
ERROR: /gpfs/alpine/cli138/world-shared/ckuo6/CMAQ/CMAQ-master/lib/x86_64/intel/netcdf/lib/libnetcdf.a does not exist in your CMAQ_LIB directorysource config_cmaq.csh intel! Check your installation before proceeding with CMAQ build.
It seems I need to modify the lline 85-89
setenv NETCDF_LIB_DIR netcdf_lib_intel #> netCDF C directory path
setenv NETCDF_INCL_DIR netcdf_inc_intel #> netCDF C directory path
setenv NETCDFF_LIB_DIR netcdff_lib_intel #> netCDF Fortran directory path
setenv NETCDFF_INCL_DIR netcdff_inc_intel #> netCDF Fortran directory path
And I know in the manual it said,
If you encounter errors about libraries not being found, check the settings of the
config_cmaq.csh script variables IOAPI, NETCDF, or MPI to ensure that they correctly point to the locations of these libraries on your Linux system.
But how do I know where the “netCDF C directory path” is ? I have already loaded module “netcdf/4.6.2”.