I am using the gfortran compiler, with netcdf-c version 4.8.1 and netcdf-fortran version 4.5.4. I am also using ioapi version 3.2. I have completed the environment setup according to the official reference files for CMAQ 5.4. I successfully compiled MCIP, but encountered the following errors when compiling ICON. For specific error messages and my config_cmaq.csh file, please refer to the document.
Thank you everyone for your help.
icon.error.txt (7.9 KB)
config_cmaq.csh (11.7 KB)
icon_error_message:
Building file list for module m3conc
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/m3conc/m3_ck_ctmmet.F added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/m3conc/m3_ck_ctms.F added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/m3conc/m3_ck_icmet.F added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/m3conc/m3_driver.F added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/m3conc/m3_icout.F added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/m3conc/m3_vinterp.F added to make list
Building file list for module profile
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/avprofile_cb6r3m_ae7_kmtbr_hemi2016_v53beta2_m3dry_
col051_row068.csv added to make list file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/avprofile_racm_ae6_aq_derived_from_cb6r3m_ae7_kmtbr
hemi2016_v53beta2_m3dry_col051_row068.csv added to make list file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/avprofile_saprc07tc_ae6_aq_derived_from_cb6r3m_ae7
kmtbr_hemi2016_v53beta2_m3dry_col051_row068.csv added to make list file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/avprofile_saprc07tic_ae7i_aq_derived_from_cb6r3m_ae
7_kmtbr_hemi2016_v53beta2_m3dry_col051_row068.csv added to make list file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/legacy_PM_toxics_profile.csv added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/prof_driver.F added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/prof_icout.F added to make list
file /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/PREP/icon/src/profile/prof_vinterp.F added to make list
Determining global module files
file HGRD_DEFN.F determined to be global
file IC_PARMS.F determined to be global
file VGRD_DEFN.F determined to be global
*** Program terminated on Error ***
Cannot create FILE [Makefile]
else
endif
mv Makefile Makefile.gcc
mv: failed to access ‘Makefile.gcc’: Too many levels of symbolic links
if ( -e Makefile.gcc && -e Makefile ) rm Makefile
ln -s Makefile.gcc Makefile
ln: failed to access ‘Makefile’: Too many levels of symbolic links
if ( 1 != 0 ) then
echo *** failure in /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/UTIL/bldmake/bldmake_gcc.exe -serial -verbose ***
*** failure in /public/lapc/Tgq/CMAQ-5.4/CMAQ-main/UTIL/bldmake/bldmake_gcc.exe -serial -verbose ***
exit 1