Hi everyone.
Recently, I am trying to install CMAQ 5.0.2 ISAM. ICON, BCON, STENEX and PARIO are installed and runs successfully, but when I try to install CCTM, it stops with an error, looking at the log files, the end lines are
Makefile generated
/usr/local/mpi/pgi/mpich-3.1.2/bin/mpif90 UTILIO_DEFN.o VGRD_DEFN.o HGRD_DEFN.o CGRID_SPCS.o GRID_CONF.o PCGRID_DEFN.o WVEL_DEFN.o BIDI_MOD.o LSM_MOD.o DEPVVARS.o MOSAIC_MOD.o ABFLUX_MOD.o AEROMET_DATA.o BIOG_EMIS.o BEIS_DEFN.o AERO_DATA.o LTNG_DEFN.o UDTYPES.o STK_EMIS.o SA_DEFN.o PTMAP.o STK_PRMS.o SSEMIS.o PTBILIN.o OZVOC_DEFN.o SOA_DEFN.o STD_CONC.o hrdata_mod.o DUST_EMIS.o PRECURSOR_DATA.o PTMET.o DEPV_DEFN.o PT3D_DEFN.o PAGRD_DEFN.o SA_GRD_DEFN.o PCBFOR_DEFN.o PISAMB4_DEFN.o PISAM_DEFN.o PMFRC_DEFN.o PSAEM_DEFN.o AERO_EMIS.o EMIS_DEFN.o SA_IRR_DEFN.o SA_LAYERS.o AVG_CONC.o advstep.o driver.o hveloc.o sciproc.o wr_aconc.o wr_cgrid.o wr_conc.o distr_env.o mpcomm_init.o par_term.o diffmsg.o flcheck.o grdcheck.o initscen.o load_cgrid.o opconc.o couple.o couplewrf.o advbc_map.o hadvyppm.o hcontvel.o hppm.o rdbcon.o x_ppm.o x_yamo.o y_ppm.o y_yamo.o zfdbc.o vppm.o zadvppmwrf.o deform.o hcdiff3d.o hdiff.o rho_j.o VDIFF_MAP.o conv_cgrid.o eddyx.o matrix.o opddep.o opddep_fst.o opddep_mos.o opmet.o rddepv.o rdmet.o tri.o vdiffacm2.o cgrid_depv.o gas_depv_map.o m3dry.o opdepv_diag.o opdepv_fst.o opdepv_mos.o cropcal.o opemis.o tfabove.o tfbelow.o beis3.o checkmem.o chkgrid.o czangle.o getfline.o getparb.o hrno.o parsline.o tmpbeis.o wrdaymsg.o delta_zs.o fire_plmris.o openlayout.o oppt3d_diag.o plmris.o plsprd.o preplm.o ungridb2.o write3_distr.o CSQY_DATA.o PHOT_MOD.o aero_photdata.o o3totcol.o opphot.o phot.o hrcalcks.o hrdriver.o hrg1.o hrg2.o hrg3.o hrg4.o hrinit.o hrprodloss.o hrrates.o hrsolver.o aero_depv.o aero_driver.o aero_subs.o coags.o getpar.o hetchem.o isocom.o isofwd.o isorev.o opdiam.o opvis.o poaage.o AQ_DATA.o acmcld.o aqchem.o aq_map.o cldproc_acm.o convcld_acm.o getalpha.o hlconst.o indexn.o rescld.o scavwdep.o pa_init.o pa_irr_ctl.o pa_irr.o pa_mkhdr.o pa_output.o pa_update.o cksummer.o findex.o get_envlist.o lstepf.o setup_logdev.o subhdomain.o subhfile.o Countcommas.o jac_cb05tucl_ae6_aq.o Locatecommas.o op_sa.o sa_array_init.o sa_dim.o sa_fil_othrtag.o sa_matrix.o sa_opwddep.o SA_RNORM.o sa_tri.o sa_wdep.o SA_WRAP_AE.o sa_wrap_cld.o SA_WRAP_OZ.o s_lu.o wr_avg_sa.o wr_sa_cgrid.o wr_sa.o wr_srcrgn.o -L/home/ISAM/CMAQv5.0.2/lib/x86_64/pgi/se_snl -lse_snl -L/home/ISAM/CMAQv5.0.2/lib/x86_64/pgi/pario -lpario -L/home/ISAM/CMAQv5.0.2/lib/x86_64/pgi/mpich/lib -lmpich -L/home/ISAM/CMAQv5.0.2/lib/x86_64/pgi/ioapi_3.1/Linux2_x86_64pg -lioapi -L/home/ISAM/CMAQv5.0.2/lib/x86_64/pgi/netcdf/lib -lnetcdf -lnetcdff -o CCTM_prof_cb05tucl_ISAM_ae6_Linux2_x86_64pgi
EMIS_DEFN.o: In functionemis_defn_get_emis_': /home/ISAM/CMAQv5.0.2/scripts/cctm_isam/BLD_prof_cb05tucl_ISAM_ae6/./EMIS_DEFN.F:736: undefined reference to
sa_aero_emis_’
make: *** [CCTM_prof_cb05tucl_ISAM_ae6_Linux2_x86_64pgi] Error 2
ERROR while running make command
FORTRAN STOP
mv Makefile Makefile.pgi
mv:Makefile' and
Makefile.pgi’ are the same file
if ( -e Makefile.pgi && -e Makefile ) rm Makefile
rm Makefile
ln -s Makefile.pgi Makefile
if ( 0 != 0 ) then
if ( -e /home/ISAM/CMAQv5.0.2/scripts/cctm_isam/cfg.CCTM_prof_cb05tucl_ISAM_ae6_Linux2_x86_64pgi ) then
mv cfg.CCTM_prof_cb05tucl_ISAM_ae6_Linux2_x86_64pgi.bld cfg.CCTM_prof_cb05tucl_ISAM_ae6_Linux2_x86_64pgi
set is_using_git =ls -alog $M3MODEL | grep git | wc -l
wc -l
grep git
ls -alog /home/ISAM/CMAQv5.0.2/models
if ( 0 ) then
exit
I am wondering if anyone can give some idea to resolve this error. Thanks a lot.