if ( ! -e /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017 || ! -e /gza/g3/yincq/zxue/model/cmaq_5.2/lib/AIX/xlf ) then echo Model repository base path: /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017 Model repository base path: /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017 echo library path: /gza/g3/yincq/zxue/model/cmaq_5.2/lib/AIX/xlf library path: /gza/g3/yincq/zxue/model/cmaq_5.2/lib/AIX/xlf if ( 0 ) then set BLD_OS = `uname -s` uname -s if ( AIX != AIX ) then set ICON_SRC = /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/PREP/icon/src setenv REPOROOT /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/PREP/icon/src set Mechs = /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/CCTM/src/MECHS set VRSN = v52 set INPT = profile set EXEC = ICON_v52_profile.exe set CFG = ICON_v52_profile.cfg set CompileBLDMAKE set CopySrc set Opt = verbose set ModCommon = common set ModType = profile set ModMech = prof_data/cb05_ae6_aq set Mechanism = cb05e51_ae6_aq/ set Tracer = trac0 set FC = xlf90_r set FP = xlf90_r setenv BLDER /gza/g3/yincq/zxue/model/cmaq_5.2/UTIL/bldmake/bldmake_xlf.exe set xLib_Base = /gza/g3/yincq/zxue/model/cmaq_5.2/lib/AIX/xlf set xLib_1 = ioapi/modules set xLib_2 = ioapi/include_files set xLib_4 = ioapi/lib set F_FLAGS = -qfixed=132 -O3 -qarch=auto -qtune=auto -qstrict -bmaxdata=-1 -bmaxmem=-1 set F90_FLAGS = -qfree -O3 -qarch=auto -qtune=auto -qstrict -bmaxdata=-1 -bmaxmem=-1 set CPP_FLAGS = set CPP_FLAGS = set LINK_FLAGS = -bstatic set LIB1 = -lioapi set LIB2 = -lnetcdf -lnetcdff -lnetcdff -lnetcdf set Bld = /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf if ( ! -e /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf ) then if ( ! -d /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf ) then endif cd /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf if ( 1 ) then /bin/cp -fp /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/CCTM/src/MECHS/cb05e51_ae6_aq//AE_cb05e51_ae6_aq.nml /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/CCTM/src/MECHS/cb05e51_ae6_aq//GC_cb05e51_ae6_aq.nml /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/CCTM/src/MECHS/cb05e51_ae6_aq//NR_cb05e51_ae6_aq.nml /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf /bin/cp -fp /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/CCTM/src/MECHS/trac0/Species_Table_TR_0.nml /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf else set Cfile = ICON_v52_profile.cfg.bld set quote = " echo echo model ICON_v52_profile.exe; echo echo repo /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/PREP/icon/src; echo echo mechanism cb05e51_ae6_aq/; echo echo lib_base /gza/g3/yincq/zxue/model/cmaq_5.2/lib/AIX/xlf; echo echo lib_1 ioapi/modules; echo echo lib_2 ioapi/include_files; echo echo lib_4 ioapi/lib; echo set text = ""; echo cpp_flags ""; echo echo f_compiler xlf90_r; echo echo echo f_flags "-qfixed=132 -O3 -qarch=auto -qtune=auto -qstrict -bmaxdata=-1 -bmaxmem=-1"; echo echo f90_flags "-qfree -O3 -qarch=auto -qtune=auto -qstrict -bmaxdata=-1 -bmaxmem=-1"; echo echo link_flags "-bstatic"; echo echo ioapi "-lioapi"; echo echo netcdf "-lnetcdf -lnetcdff -lnetcdff -lnetcdf "; echo set text=// mechanism: echo // mechanism: cb05e51_ae6_aq/ echo // project repository: /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/PREP/icon/src echo set text = common echo // required common echo Module common; echo set text = profile, m3conc, tracer echo // options are profile, m3conc, tracer echo Module profile; echo set text = cb05, saprc99, saprc07t echo // options are cb05, saprc99, saprc07t echo Module prof_data/cb05_ae6_aq; echo if ( 0 ) then unalias mv rm if ( 1 || ! -f /gza/g3/yincq/zxue/model/cmaq_5.2/UTIL/bldmake/bldmake_xlf.exe ) then cd /gza/g3/yincq/zxue/model/CMAQ-CMAQv5.2_30June2017/UTIL/bldmake/scripts ./bldit_bldmake.csh rm: /gza/g3/yincq/zxue/model/cmaq_5.2/UTIL/bldmake/bldmake_xlf.exe: No such file or directory "cfg_module.f", line 409.10: 1512-001 (S) Input file n_includes was not found or is not defined. 1501-511 Compilation failed for file cfg_module.f. "bldmake.f", line 41.11: 1514-219 (S) Unable to access module symbol file for module modelcfg. Check path and file permissions of file. Use association not done for this module. 1501-511 Compilation failed for file bldmake.f. ** getnumberoffields === End of Compilation 1 === ** getfieldcount === End of Compilation 2 === ** getparsednumber === End of Compilation 3 === ** getfield === End of Compilation 4 === ** getfield2 === End of Compilation 5 === ** getparsedfield === End of Compilation 6 === ** lefttrim === End of Compilation 7 === ** righttrim === End of Compilation 8 === ** rmquots === End of Compilation 9 === ** replace === End of Compilation 10 === ** ucase === End of Compilation 11 === 1501-510 Compilation successful for file parser.f. "utils.f", line 31.11: 1514-219 (S) Unable to access module symbol file for module modelcfg. Check path and file permissions of file. Use association not done for this module. 1501-511 Compilation failed for file utils.f. ld: 0711-317 ERROR: Undefined symbol: .main ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ***ERROR*** BLDMAKE Compile failed endif set Blder = /gza/g3/yincq/zxue/model/cmaq_5.2/UTIL/bldmake/bldmake_xlf.exe -serial -verbose cd /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf if ( 0 ) then if ( 1 ) then /gza/g3/yincq/zxue/model/cmaq_5.2/UTIL/bldmake/bldmake_xlf.exe -serial -verbose ICON_v52_profile.cfg.bld /gza/g3/yincq/zxue/model/cmaq_5.2/UTIL/bldmake/bldmake_xlf.exe: Command not found. else endif mv Makefile Makefile.xlf ln -s Makefile.xlf Makefile if ( 0 != 0 ) then if ( -e /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf/ICON_v52_profile.cfg ) then echo >>> previous ICON_v52_profile.cfg exists, re-naming to ICON_v52_profile.cfg.old <<< >>> previous ICON_v52_profile.cfg exists, re-naming to ICON_v52_profile.cfg.old <<< unalias mv mv /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf/ICON_v52_profile.cfg /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf/ICON_v52_profile.cfg.old endif mv ICON_v52_profile.cfg.bld /gza/g3/yincq/zxue/model/cmaq_5.2/PREP/icon/scripts/BLD_ICON_v52_profile_xlf/ICON_v52_profile.cfg exit