Undefined references when compiling MCIP

Hi

I have a problem when I compile make file. my log file is:

make[1]: Entering directory ‘/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/PREP/mcip/src’
make[1]: ‘const_mod.o’ is up to date.
make[1]: ‘const_pbl_mod.o’ is up to date.
make[1]: ‘coord_mod.o’ is up to date.
make[1]: ‘date_time_mod.o’ is up to date.
make[1]: ‘date_pack_mod.o’ is up to date.
make[1]: ‘files_mod.o’ is up to date.
make[1]: ‘groutcom_mod.o’ is up to date.
make[1]: ‘luvars_mod.o’ is up to date.
make[1]: ‘mcipparm_mod.o’ is up to date.
make[1]: ‘mcoutcom_mod.o’ is up to date.
make[1]: ‘mdoutcom_mod.o’ is up to date.
make[1]: ‘metinfo_mod.o’ is up to date.
make[1]: ‘metvars_mod.o’ is up to date.
make[1]: ‘vgrd_mod.o’ is up to date.
make[1]: ‘wrf_netcdf_mod.o’ is up to date.
make[1]: ‘xvars_mod.o’ is up to date.
make[1]: ‘sat2mcip_mod.o’ is up to date.
make[1]: Leaving directory ‘/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/PREP/mcip/src’
make[1]: Entering directory ‘/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/PREP/mcip/src’
ifort -o mcip.exe “-free” -I/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/lib/x86_64/intel/netcdf/include -I/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/lib/x86_64/intel/ioapi/include_files -qopenmp mcip.o alloc_ctm.o alloc_met.o alloc_x.o bcldprc_ak.o blddesc.o chkwpshdr.o chkwrfhdr.o close_files.o collapx.o comheader.o cori.o dealloc_ctm.o dealloc_met.o dealloc_x.o detangle_soil_px.o e_aerk.o dynflds.o getgist.o getluse.o getmet.o getpblht.o getsdt.o getversion.o graceful_stop.o gridout.o init_io.o init_met.o init_x.o julian.o layht.o ll2xy_lam.o ll2xy_lam_sec.o ll2xy_lam_tan.o ll2xy_merc.o ll2xy_ps.o locate.o mapfac_lam.o mapfac_merc.o mapfac_ps.o metcro.o metdot.o metgrid2ctm.o metvars2ctm.o mm5v3opts.o pblsup.o ptemp.o pvs.o qsat.o rdmm5v3.o rdwrfem.o readnml.o readter.o refstate.o resistcalc.o setgriddefs.o setup.o setup_mm5v3.o setup_wrfem.o sfclayer.o statflds.o vertarys.o vertnhy.o vertnhy_wrf.o vstamp.o vtemp.o wind.o wrfemopts.o wrgdesc.o xy2ll_lam.o xy2ll_merc.o const_mod.o const_pbl_mod.o coord_mod.o date_time_mod.o date_pack_mod.o files_mod.o groutcom_mod.o luvars_mod.o mcipparm_mod.o mcoutcom_mod.o mdoutcom_mod.o metinfo_mod.o metvars_mod.o vgrd_mod.o wrf_netcdf_mod.o xvars_mod.o sat2mcip_mod.o -L/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/lib/x86_64/intel/ioapi/lib -L/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/lib/x86_64/intel/netcdf/lib
chkwpshdr.o: In function chkwpshdr_': chkwpshdr.f90:(.text+0x44): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwpshdr.f90:(.text+0x22d): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' chkwpshdr.f90:(.text+0x416): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwpshdr.f90:(.text+0x611): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwpshdr.f90:(.text+0x80c): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwpshdr.f90:(.text+0x9f5): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwpshdr.f90:(.text+0xbf0): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwpshdr.f90:(.text+0xdeb): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwpshdr.f90:(.text+0xfe6): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwpshdr.f90:(.text+0x11e1): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwpshdr.o:chkwpshdr.f90:(.text+0x13dc): more undefined references to netcdf_mp_nf90_get_att_one_fourbytereal_’ follow
chkwpshdr.o: In function chkwpshdr_': chkwpshdr.f90:(.text+0x15dd): undefined reference to netcdf_mp_nf90_get_att_text_’
chkwpshdr.f90:(.text+0x1856): undefined reference to netcdf_mp_nf90_get_att_text_' chkwpshdr.f90:(.text+0x18fd): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwpshdr.f90:(.text+0x1b76): undefined reference to netcdf_mp_nf90_strerror_' chkwpshdr.f90:(.text+0x1c41): undefined reference to netcdf_mp_nf90_strerror_’
chkwpshdr.f90:(.text+0x1d4e): undefined reference to netcdf_mp_nf90_strerror_' chkwpshdr.f90:(.text+0x1e47): undefined reference to netcdf_mp_nf90_strerror_’
chkwpshdr.f90:(.text+0x1f4c): undefined reference to netcdf_mp_nf90_strerror_' chkwpshdr.o:chkwpshdr.f90:(.text+0x2051): more undefined references to netcdf_mp_nf90_strerror_’ follow
chkwrfhdr.o: In function chkwrfhdr_': chkwrfhdr.f90:(.text+0x42): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0x22b): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' chkwrfhdr.f90:(.text+0x414): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0x607): undefined reference to netcdf_mp_nf90_get_att_text_' chkwrfhdr.f90:(.text+0x96d): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwrfhdr.f90:(.text+0xb68): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0xd63): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0xf4c): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x1147): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwrfhdr.f90:(.text+0x1342): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x153d): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwrfhdr.f90:(.text+0x1738): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.o:chkwrfhdr.f90:(.text+0x1933): more undefined references to netcdf_mp_nf90_get_att_one_fourbytereal_’ follow
chkwrfhdr.o: In function chkwrfhdr_': chkwrfhdr.f90:(.text+0x1b34): undefined reference to netcdf_mp_nf90_get_att_text_’
chkwrfhdr.f90:(.text+0x1d95): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' chkwrfhdr.f90:(.text+0x1f78): undefined reference to netcdf_mp_nf90_inq_dimid_’
chkwrfhdr.f90:(.text+0x1fa4): undefined reference to netcdf_mp_nf90_inquire_dimension_' chkwrfhdr.f90:(.text+0x218d): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0x2376): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' chkwrfhdr.f90:(.text+0x255f): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0x2748): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' chkwrfhdr.f90:(.text+0x2931): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.o:chkwrfhdr.f90:(.text+0x2b1a): more undefined references to netcdf_mp_nf90_get_att_one_fourbyteint_' follow chkwrfhdr.o: In function chkwrfhdr_’:
chkwrfhdr.f90:(.text+0x311d): undefined reference to netcdf_mp_nf90_get_att_text_' chkwrfhdr.f90:(.text+0x333f): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0x356c): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x3802): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwrfhdr.f90:(.text+0x3a98): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x3ce0): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0x3f0d): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x4155): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwrfhdr.f90:(.text+0x439d): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x45e5): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
chkwrfhdr.f90:(.text+0x4812): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x4a5a): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
chkwrfhdr.f90:(.text+0x4ca2): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' chkwrfhdr.f90:(.text+0x4f8b): undefined reference to netcdf_mp_nf90_strerror_’
chkwrfhdr.f90:(.text+0x50a1): undefined reference to netcdf_mp_nf90_strerror_' chkwrfhdr.f90:(.text+0x51b2): undefined reference to netcdf_mp_nf90_strerror_’
chkwrfhdr.f90:(.text+0x52c8): undefined reference to netcdf_mp_nf90_strerror_' chkwrfhdr.f90:(.text+0x53de): undefined reference to netcdf_mp_nf90_strerror_’
chkwrfhdr.o:chkwrfhdr.f90:(.text+0x54f4): more undefined references to netcdf_mp_nf90_strerror_' follow close_files.o: In function close_files_’:
close_files.f90:(.text+0x5): undefined reference to shut3_' graceful_stop.o: In function graceful_stop_’:
graceful_stop.f90:(.text+0x88): undefined reference to m3exit_' gridout.o: In function gridout_’:
gridout.f90:(.text+0x240): undefined reference to open3_' gridout.f90:(.text+0xab6): undefined reference to open3_’
gridout.f90:(.text+0xbe7): undefined reference to open3_' gridout.f90:(.text+0xe9b): undefined reference to open3_’
gridout.f90:(.text+0x486b): undefined reference to desc3_' gridout.f90:(.text+0x48ab): undefined reference to write3_’
gridout.f90:(.text+0x497c): undefined reference to desc3_' gridout.f90:(.text+0x4a0b): undefined reference to write3_’
gridout.f90:(.text+0x4b07): undefined reference to desc3_' gridout.f90:(.text+0x4b7e): undefined reference to write3_’
gridout.f90:(.text+0x4c92): undefined reference to desc3_' gridout.f90:(.text+0x4cd2): undefined reference to write3_’
gridout.f90:(.text+0x7e79): undefined reference to m3err_' gridout.f90:(.text+0x7eeb): undefined reference to write3_’
gridout.f90:(.text+0x8015): undefined reference to write3_' gridout.f90:(.text+0x8159): undefined reference to write3_’
gridout.f90:(.text+0x82cd): undefined reference to m3err_' gridout.f90:(.text+0x8357): undefined reference to write3_’
gridout.f90:(.text+0x8499): undefined reference to write3_' gridout.f90:(.text+0x85f5): undefined reference to write3_’
gridout.f90:(.text+0x8763): undefined reference to m3err_' gridout.f90:(.text+0x8804): undefined reference to m3err_’
init_io.o: In function init_io_': init_io.f90:(.text+0x2): undefined reference to init3_’
metcro.o: In function metcro_': metcro.f90:(.text+0x1a4a8): undefined reference to desc3_’
metcro.f90:(.text+0x1a551): undefined reference to write3_' metcro.f90:(.text+0x1a6a3): undefined reference to write3_’
metcro.f90:(.text+0x1a7db): undefined reference to write3_' metcro.f90:(.text+0x1a906): undefined reference to write3_’
metcro.f90:(.text+0x1aa31): undefined reference to write3_' metcro.o:metcro.f90:(.text+0x1ab5c): more undefined references to write3_’ follow
metcro.o: In function metcro_': metcro.f90:(.text+0x1ad8f): undefined reference to desc3_’
metcro.f90:(.text+0x1b5ea): undefined reference to write3_' metcro.f90:(.text+0x1b819): undefined reference to write3_’
metcro.f90:(.text+0x1b976): undefined reference to write3_' metcro.f90:(.text+0x1bab3): undefined reference to write3_’
metcro.f90:(.text+0x1bbf9): undefined reference to write3_' metcro.o:metcro.f90:(.text+0x1bd45): more undefined references to write3_’ follow
metcro.o: In function metcro_': metcro.f90:(.text+0x1be37): undefined reference to desc3_’
metcro.f90:(.text+0x1c4c8): undefined reference to write3_' metcro.f90:(.text+0x1c6c2): undefined reference to write3_’
metcro.f90:(.text+0x1c81f): undefined reference to write3_' metcro.f90:(.text+0x1c95c): undefined reference to write3_’
metcro.f90:(.text+0x1caa2): undefined reference to write3_' metcro.o:metcro.f90:(.text+0x1cbee): more undefined references to write3_’ follow
metcro.o: In function metcro_': metcro.f90:(.text+0x233b0): undefined reference to m3err_’
metcro.f90:(.text+0x234bd): undefined reference to m3err_' metcro.f90:(.text+0x2351d): undefined reference to write3_’
metcro.f90:(.text+0x2369d): undefined reference to m3err_' metcro.f90:(.text+0x271f9): undefined reference to open3_’
metcro.f90:(.text+0x27c60): undefined reference to open3_' metcro.f90:(.text+0x27d9c): undefined reference to open3_’
metdot.o: In function metdot_': metdot.f90:(.text+0x3395): undefined reference to desc3_’
metdot.f90:(.text+0x343c): undefined reference to write3_' metdot.f90:(.text+0x3542): undefined reference to write3_’
metdot.f90:(.text+0x363c): undefined reference to write3_' metdot.f90:(.text+0x4c91): undefined reference to m3err_’
metdot.f90:(.text+0x53a5): undefined reference to open3_' rdwrfem.o: In function rdwrfem_’:
rdwrfem.f90:(.text+0x1050): undefined reference to netcdf_mp_nf90_open_' rdwrfem.f90:(.text+0x117a): undefined reference to netcdf_mp_nf90_open_’
rdwrfem.f90:(.text+0x9192): undefined reference to netcdf_mp_nf90_inq_varid_' rdwrfem.f90:(.text+0x9947): undefined reference to netcdf_mp_nf90_inq_varid_’
rdwrfem.f90:(.text+0xa0f7): undefined reference to netcdf_mp_nf90_inq_varid_' rdwrfem.f90:(.text+0x17957): undefined reference to netcdf_mp_nf90_close_’
rdwrfem.f90:(.text+0x19c71): undefined reference to netcdf_mp_nf90_open_' rdwrfem.f90:(.text+0x1d481): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x1d5f5): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x1d79d): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x1d8ec): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x1de6a): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.o:rdwrfem.f90:(.text+0x1df65): more undefined references to netcdf_mp_nf90_strerror_' follow rdwrfem.o: In function rdwrfem_’:
rdwrfem.f90:(.text+0x1f773): undefined reference to netcdf_mp_nf90_close_' rdwrfem.f90:(.text+0x1f8f7): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x1fa99): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x1fbad): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x2204f): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x221a5): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.o:rdwrfem.f90:(.text+0x222cc): more undefined references to netcdf_mp_nf90_strerror_' follow rdwrfem.o: In function rdwrfem_’:
rdwrfem.f90:(.text+0x2e117): undefined reference to netcdf_mp_nf90_close_' rdwrfem.f90:(.text+0x2e13c): undefined reference to netcdf_mp_nf90_open_’
rdwrfem.f90:(.text+0x2e173): undefined reference to netcdf_mp_nf90_inq_varid_' rdwrfem.f90:(.text+0x2e1f0): undefined reference to netcdf_mp_nf90_inquire_variable_’
rdwrfem.f90:(.text+0x2e219): undefined reference to netcdf_mp_nf90_inquire_dimension_' rdwrfem.f90:(.text+0x2e23f): undefined reference to netcdf_mp_nf90_inquire_dimension_’
rdwrfem.f90:(.text+0x2e3fa): undefined reference to netcdf_mp_nf90_get_var_1d_text_' rdwrfem.f90:(.text+0x2e4c3): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x2e5c2): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x2e6c5): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x2e7c8): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x2e8c7): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.o:rdwrfem.f90:(.text+0x2fb63): more undefined references to netcdf_mp_nf90_strerror_' follow rdwrfem.o: In function rdwrfem_’:
rdwrfem.f90:(.text+0x2ff98): undefined reference to netcdf_mp_nf90_close_' rdwrfem.f90:(.text+0x2ffbd): undefined reference to netcdf_mp_nf90_open_’
rdwrfem.f90:(.text+0x2fff4): undefined reference to netcdf_mp_nf90_inq_varid_' rdwrfem.f90:(.text+0x3006b): undefined reference to netcdf_mp_nf90_inquire_variable_’
rdwrfem.f90:(.text+0x30094): undefined reference to netcdf_mp_nf90_inquire_dimension_' rdwrfem.f90:(.text+0x300ba): undefined reference to netcdf_mp_nf90_inquire_dimension_’
rdwrfem.f90:(.text+0x30299): undefined reference to netcdf_mp_nf90_get_var_1d_text_' rdwrfem.f90:(.text+0x30358): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x30457): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x3055a): undefined reference to netcdf_mp_nf90_strerror_’
rdwrfem.f90:(.text+0x3065d): undefined reference to netcdf_mp_nf90_strerror_' rdwrfem.f90:(.text+0x3075c): undefined reference to netcdf_mp_nf90_strerror_’
setup.o: In function setup_': setup.f90:(.text+0x27): undefined reference to netcdf_mp_nf90_open_’
setup.f90:(.text+0x62): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup.f90:(.text+0x9c): undefined reference to netcdf_mp_nf90_get_att_text_’
setup.f90:(.text+0x1c1): undefined reference to netcdf_mp_nf90_get_att_text_' setup.f90:(.text+0x36d): undefined reference to netcdf_mp_nf90_close_’
setup.f90:(.text+0x66d): undefined reference to netcdf_mp_nf90_strerror_' setup.f90:(.text+0x78e): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.o: In function setup_wrfem_': setup_wrfem.f90:(.text+0x1b1): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0x1dd): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0x20c): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0x3ab): undefined reference to netcdf_mp_nf90_get_att_text_' setup_wrfem.f90:(.text+0x3da): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x409): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x554): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0x580): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x5ac): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x5d8): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x610): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x648): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.o:setup_wrfem.f90:(.text+0x674): more undefined references to netcdf_mp_nf90_get_att_one_fourbytereal_’ follow
setup_wrfem.o: In function setup_wrfem_': setup_wrfem.f90:(.text+0x9dc): undefined reference to netcdf_mp_nf90_get_att_text_’
setup_wrfem.f90:(.text+0xa08): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0xa31): undefined reference to netcdf_mp_nf90_inq_dimid_’
setup_wrfem.f90:(.text+0xa5a): undefined reference to netcdf_mp_nf90_inquire_dimension_' setup_wrfem.f90:(.text+0xaad): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0xad9): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0xb05): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0xb31): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0xb5f): undefined reference to netcdf_mp_nf90_inq_dimid_’
setup_wrfem.f90:(.text+0xe27): undefined reference to netcdf_mp_nf90_inquire_dimension_' setup_wrfem.f90:(.text+0xe53): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0xe7f): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0xeab): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0xed7): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0xf03): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.o:setup_wrfem.f90:(.text+0xf2f): more undefined references to netcdf_mp_nf90_get_att_one_fourbyteint_' follow setup_wrfem.o: In function setup_wrfem_’:
setup_wrfem.f90:(.text+0x10d7): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x1133): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x12f0): undefined reference to netcdf_mp_nf90_get_att_text_' setup_wrfem.f90:(.text+0x1368): undefined reference to netcdf_mp_nf90_get_att_text_’
setup_wrfem.f90:(.text+0x13c9): undefined reference to netcdf_mp_nf90_inq_varid_' setup_wrfem.f90:(.text+0x1445): undefined reference to netcdf_mp_nf90_inquire_variable_’
setup_wrfem.f90:(.text+0x1475): undefined reference to netcdf_mp_nf90_inquire_dimension_' setup_wrfem.f90:(.text+0x14a1): undefined reference to netcdf_mp_nf90_inquire_dimension_’
setup_wrfem.f90:(.text+0x1694): undefined reference to netcdf_mp_nf90_get_var_1d_text_' setup_wrfem.f90:(.text+0x1862): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0x18d9): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x1959): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x19d9): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x1a59): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x1b3a): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0x1b8a): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0x1c01): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x1c81): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x1d01): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x1d7e): undefined reference to netcdf_mp_nf90_inq_varid_’
setup_wrfem.f90:(.text+0x1ee8): undefined reference to netcdf_mp_nf90_open_' setup_wrfem.f90:(.text+0x1ff1): undefined reference to netcdf_mp_nf90_inq_varid_’
setup_wrfem.f90:(.text+0x201f): undefined reference to netcdf_mp_nf90_close_' setup_wrfem.f90:(.text+0x2107): undefined reference to netcdf_mp_nf90_inq_varid_’
setup_wrfem.f90:(.text+0x2142): undefined reference to netcdf_mp_nf90_inq_varid_' setup_wrfem.f90:(.text+0x2186): undefined reference to netcdf_mp_nf90_inq_varid_’
setup_wrfem.f90:(.text+0x21a5): undefined reference to netcdf_mp_nf90_inq_varid_' setup_wrfem.f90:(.text+0x21e4): undefined reference to netcdf_mp_nf90_inq_varid_’
setup_wrfem.o:setup_wrfem.f90:(.text+0x2224): more undefined references to netcdf_mp_nf90_inq_varid_' follow setup_wrfem.o: In function setup_wrfem_’:
setup_wrfem.f90:(.text+0x265b): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_' setup_wrfem.f90:(.text+0x26d1): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0x2880): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x298c): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x2a98): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x2ba4): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x2d5e): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.o:setup_wrfem.f90:(.text+0x3188): more undefined references to netcdf_mp_nf90_strerror_’ follow
setup_wrfem.o: In function setup_wrfem_': setup_wrfem.f90:(.text+0x3ac8): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x3af4): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_' setup_wrfem.f90:(.text+0x3b20): undefined reference to netcdf_mp_nf90_get_att_one_fourbytereal_’
setup_wrfem.f90:(.text+0x3be1): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x3ced): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x3df9): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x3f05): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x4011): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.o:setup_wrfem.f90:(.text+0x411d): more undefined references to netcdf_mp_nf90_strerror_’ follow
setup_wrfem.o: In function setup_wrfem_': setup_wrfem.f90:(.text+0x4741): undefined reference to netcdf_mp_nf90_open_’
setup_wrfem.f90:(.text+0x476f): undefined reference to netcdf_mp_nf90_inq_varid_' setup_wrfem.f90:(.text+0x47f0): undefined reference to netcdf_mp_nf90_inquire_variable_’
setup_wrfem.f90:(.text+0x4825): undefined reference to netcdf_mp_nf90_inquire_dimension_' setup_wrfem.f90:(.text+0x4856): undefined reference to netcdf_mp_nf90_inquire_dimension_’
setup_wrfem.f90:(.text+0x4a82): undefined reference to netcdf_mp_nf90_get_var_1d_text_' setup_wrfem.f90:(.text+0x4ba7): undefined reference to netcdf_mp_nf90_close_’
setup_wrfem.f90:(.text+0x4d2c): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x4e3d): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x4f53): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x5069): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x517f): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.o:setup_wrfem.f90:(.text+0x5295): more undefined references to netcdf_mp_nf90_strerror_’ follow
setup_wrfem.o: In function setup_wrfem_': setup_wrfem.f90:(.text+0x5a65): undefined reference to netcdf_mp_nf90_get_att_one_fourbyteint_’
setup_wrfem.f90:(.text+0x5b22): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x5c27): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x5d33): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.f90:(.text+0x5e3f): undefined reference to netcdf_mp_nf90_strerror_’
setup_wrfem.f90:(.text+0x5f4b): undefined reference to netcdf_mp_nf90_strerror_' setup_wrfem.o:setup_wrfem.f90:(.text+0x6057): more undefined references to netcdf_mp_nf90_strerror_’ follow
wrf_netcdf_mod.o: In function wrf_netcdf_mp_get_var_3d_real_cdf_': wrf_netcdf_mod.f90:(.text+0x46): undefined reference to netcdf_mp_nf90_inq_varid_’
wrf_netcdf_mod.f90:(.text+0x120): undefined reference to netcdf_mp_nf90_get_var_3d_fourbytereal_' wrf_netcdf_mod.o: In function wrf_netcdf_mp_get_var_2d_real_cdf_’:
wrf_netcdf_mod.f90:(.text+0x171): undefined reference to netcdf_mp_nf90_inq_varid_' wrf_netcdf_mod.f90:(.text+0x23d): undefined reference to netcdf_mp_nf90_get_var_2d_fourbytereal_’
wrf_netcdf_mod.o: In function wrf_netcdf_mp_get_var_2d_int_cdf_': wrf_netcdf_mod.f90:(.text+0x291): undefined reference to netcdf_mp_nf90_inq_varid_’
wrf_netcdf_mod.f90:(.text+0x35d): undefined reference to netcdf_mp_nf90_get_var_2d_fourbyteint_' wrf_netcdf_mod.o: In function wrf_netcdf_mp_get_var_1d_real_cdf_’:
wrf_netcdf_mod.f90:(.text+0x3ac): undefined reference to netcdf_mp_nf90_inq_varid_' wrf_netcdf_mod.f90:(.text+0x468): undefined reference to netcdf_mp_nf90_get_var_1d_fourbytereal_’
wrf_netcdf_mod.o: In function wrf_netcdf_mp_get_var_real_cdf_': wrf_netcdf_mod.f90:(.text+0x4ab): undefined reference to netcdf_mp_nf90_inq_varid_’
wrf_netcdf_mod.f90:(.text+0x4c3): undefined reference to netcdf_mp_nf90_get_var_fourbytereal_' sat2mcip_mod.o: In function sat2mcip_mp_readsat_’:
sat2mcip_mod.f90:(.text+0xa7d): undefined reference to netcdf_mp_nf90_get_var_2d_fourbytereal_' sat2mcip_mod.f90:(.text+0xbb1): undefined reference to netcdf_mp_nf90_get_var_2d_fourbytereal_’
sat2mcip_mod.f90:(.text+0xce5): undefined reference to netcdf_mp_nf90_get_var_2d_fourbytereal_' sat2mcip_mod.f90:(.text+0xe19): undefined reference to netcdf_mp_nf90_get_var_2d_fourbytereal_’
sat2mcip_mod.f90:(.text+0xf4d): undefined reference to netcdf_mp_nf90_get_var_2d_fourbytereal_' sat2mcip_mod.o:sat2mcip_mod.f90:(.text+0x1081): more undefined references to netcdf_mp_nf90_get_var_2d_fourbytereal_’ follow
sat2mcip_mod.o: In function sat2mcip_mp_init_sat_': sat2mcip_mod.f90:(.text+0x77b9): undefined reference to netcdf_mp_nf90_close_’
sat2mcip_mod.f90:(.text+0x7827): undefined reference to upcase_' sat2mcip_mod.f90:(.text+0x7967): undefined reference to netcdf_mp_nf90_open_’
sat2mcip_mod.f90:(.text+0x79a2): undefined reference to netcdf_mp_nf90_inq_varid_' sat2mcip_mod.f90:(.text+0x7a18): undefined reference to netcdf_mp_nf90_inquire_variable_’
sat2mcip_mod.f90:(.text+0x7a4e): undefined reference to netcdf_mp_nf90_inq_varid_' sat2mcip_mod.f90:(.text+0x7abc): undefined reference to netcdf_mp_nf90_inquire_variable_’
sat2mcip_mod.f90:(.text+0x7b18): undefined reference to netcdf_mp_nf90_inquire_dimension_' sat2mcip_mod.f90:(.text+0x7c5c): undefined reference to netcdf_mp_nf90_inquire_dimension_’
sat2mcip_mod.f90:(.text+0x7da0): undefined reference to netcdf_mp_nf90_inquire_dimension_' sat2mcip_mod.f90:(.text+0x7edf): undefined reference to netcdf_mp_nf90_inquire_dimension_’
sat2mcip_mod.f90:(.text+0x8a61): undefined reference to netcdf_mp_nf90_inq_varid_' sat2mcip_mod.f90:(.text+0x8a7f): undefined reference to netcdf_mp_nf90_inq_varid_’
sat2mcip_mod.f90:(.text+0x8a9d): undefined reference to netcdf_mp_nf90_inq_varid_' sat2mcip_mod.f90:(.text+0x8abb): undefined reference to netcdf_mp_nf90_inq_varid_’
sat2mcip_mod.f90:(.text+0x8ad9): undefined reference to netcdf_mp_nf90_inq_varid_' sat2mcip_mod.o:sat2mcip_mod.f90:(.text+0x8af7): more undefined references to netcdf_mp_nf90_inq_varid_’ follow
sat2mcip_mod.o: In function sat2mcip_mp_init_sat_': sat2mcip_mod.f90:(.text+0x8d17): undefined reference to netcdf_mp_nf90_get_var_1d_fourbytereal_’
sat2mcip_mod.f90:(.text+0x8e4d): undefined reference to netcdf_mp_nf90_get_var_1d_text_' sat2mcip_mod.f90:(.text+0x8f7a): undefined reference to netcdf_mp_nf90_get_var_1d_fourbytereal_’
sat2mcip_mod.f90:(.text+0x90ae): undefined reference to netcdf_mp_nf90_get_var_1d_fourbytereal_' sat2mcip_mod.f90:(.text+0x91e2): undefined reference to netcdf_mp_nf90_get_var_2d_fourbytereal_’
sat2mcip_mod.f90:(.text+0x9316): undefined reference to `netcdf_mp_nf90_get_var_2d_fourbytereal_’
Makefile:134: recipe for target ‘mcip.exe’ failed
make[1]: *** [mcip.exe] Error 1
make[1]: Leaving directory ‘/home/ensiyeh/WRF-CMAQ/CMAQ_REPO/PREP/mcip/src’
Makefile:130: recipe for target ‘all’ failed
make: *** [all] Error 2

Could you help me please?

Hi all
I changed Makefile of mcip and add -lnetcdff -lnetcdff and -lioapi and some flags and directory and it was installed.
My changes are:

IOAPI_DIR = /home/ensiyeh/WRF-CMAQ/CMAQ_REPO/lib/x86_64/intel/ioapi
NETCDF_DIR = /home/ensiyeh/WRF-CMAQ/CMAQ_REPO/lib/x86_64/intel/netcdf
myFC =ifort
myFRFLAGS ="-free"
FC = {myFC} FFLAGS = (myFRFLAGS) -I$(NETCDF_DIR)/include -I$(IOAPI_DIR)/include_files -qopenmp
LIBS = -L$(IOAPI_DIR)/lib -lioapi (ioapi_lib) \ -L(NETCDF_DIR)/lib -lnetcdff -lnetcdf $(extra_lib)

Hi @CMAQ_user!

WRFv4.0+ is not supported by MCIPv4.5 and earlier because the default vertical coordinate in WRFv4 is the hybrid coordinate. Beginning with MCIPv5.0 (which will be released imminently alongside CMAQv5.3), WRFv4.0+ is supported with MCIP.

If you do not know whether you are using the hybrid vertical coordinate, you can exercise the command “ncdump -h wrfout” on your wrfout file, and look for the setting of the global attribute, HYBRID_OPT. If it is set to 2, then you are using the hybrid vertical coordinate. If it is set to 0, you are using the traditional terrain-following (sigma-type) coordinate.

If you are not using the hybrid vertical coordinate in WRFv4.0, then you can comment out the error checking in MCIP and proceed as normal. Otherwise, please wait for MCIPv5.0…which will be released VERY SOON.

1 Like

I see all the -L directives, indicating what directories should contain the libraries, but I don’t see any of the '-l directives indicating what the libraries are.

I should expect at least

-lioapi -lnetcdff -lnetcdf

at the end of that command-line.

1 Like

Thank you, for the information. Hope to see MCIPv5.0 soon!

Hi
I have a question. What is the difference between -openmp and -qopenmp? Could you guide me, please?
Thank you

Foir whatever reason, Intyel decided to change the flag with the release of their Version 16 compilers. (At least for now, -openmp still works, but causes the compiler to emit a warning nastygram…

1 Like

Thank you. I got passed those steps and successfully build and run icon and bcon. the problem is now with CCTM.

Can you (or anyone) help on the following?

Does CCTM require running mcip beforehand for Benchmarking CMAQv5.2.1?

I basically followed the steps from CMAQ ‘Tutorial for common tasks’ (which goes directly into cctm after icon and bcon) and was getting error.

I did not understand Why was it looking for output file:

ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_APMDIAG_v521_gcc_SE52BENCH_20110701.nc: No such file or directory

part of ./run_cctm.csh log file below

Error Message in run_cctm.csh
Compiler is set to gcc

model CCTM_v521.exe;

repo /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/src;

mechanism cb6r3_ae6_aq;

lib_base /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/lib/x86_64/gcc;

lib_1 ioapi/modules;

lib_2 ioapi/include_files;

lib_3 “mpi -I.”;

lib_4 ioapi/lib;

cpp_flags " -Dparallel -DSUBST_BARRIER=SE_BARRIER -DSUBST_GLOBAL_MAX=SE_GLOBAL_MAX
.
.
.
-DSUBST_GATHER=SE_GATHER -DSUBST_DATA_COPY=SE_DATA_COPY -DSUBST_IN_SYN=SE_IN_SYN";

f_compiler /home/somedir/cmaq_usr/model_libs/library_cmaq/openmpi-4.0.1/bin/mpif90;

fstd “-O3 -funroll-loops -finit-character=32 -Wtabs -Wsurprising”;

dbg “-Wall -O0 -g -fcheck=all -ffpe-trap=invalid,zero,overflow -fbacktrace”;

f_flags “-ffixed-form -ffixed-line-length-132 -funroll-loops -finit-character=32”;

f90_flags “-ffree-form -ffree-line-length-none -funroll-loops -finit-character=32”;

c_compiler /home/somedir/cmaq_usr/softwares/anaconda3/bin/gcc;

c_flags “-O2 -DFLDMN -I”;

link_flags “-fopenmp”;

ioapi “-lioapi”;

netcdf “-lnetcdff -lnetcdf”;

mpich "-lmpi ";

include SUBST_PE_COMM ./PE_COMM.EXT;
include SUBST_CONST ./CONST.EXT;
include SUBST_FILES_ID ./FILES_CTM.EXT;
include SUBST_EMISPRM ./EMISPRM.EXT;

// Parallel / Include message passing definitions
include SUBST_MPI ./mpif.h;

// options are stenex or se_noop
Module STENEX/se;
// parallel executable; stenex and pario included
Module PARIO;

// options are par, par_nodistr and par_noop
Module par/mpi;

// options are wrf and yamo
Module driver/wrf;

// options are cartesian
Module grid/cartesian;

// options are yamo
Module init/yamo;

// options are gencoor_wrf and gencoor
Module couple/gencoor_wrf;

// options are yamo
Module hadv/yamo;

// options are wrf and yamo
Module vadv/wrf;

// options are multiscale
Module hdiff/multiscale;

// options are acm2
Module vdiff/acm2;

// options are m3dry
Module depv/m3dry;

// options are emis
Module emis/emis;

// options are beis3
Module biog/beis3;

// options are smoke
Module plrise/smoke;

// options are cgrid_spcs_nml and cgrid_spcs_icl
Module spcs/cgrid_spcs_nml;

// options are inline and table
Module phot/inline;

// gas chemistry solvers
// options are smvgear, ros3, and ebi_; see ‘gas chemistry mechanisms’ for
Module gas/ebi_cb6r3_ae6_aq;

// gas chemistry mechanisms
// options are cb05e51_ae6_aq, cb05e51_ae6nvPOA_aq, cb05eh51_ae6_aq, cb05mp51_ae6_aq, cb05tucl_ae6_aq, cb05tump_ae6_aq, cb6r3_ae6_aq, cb6r3_ae6nvPOA_aq, racm2_ae6_aq, saprc07tb_ae6_aq, saprc07tc_ae6_aq, saprc07tc_ae6nvPOA_aq, saprc07tic_ae6i_aq, saprc07tic_ae6i_aqkmti, saprc07tic_ae6invPOA_aq
Module MECHS/cb6r3_ae6_aq;

// tracer modules
// options are trac0, trac1
Module MECHS/trac0;
// options are aero6
Module aero/aero6;

// options are acm_ae6, acm_ae6_kmt, and acm_ae6_mp
Module cloud/acm_ae6;

// compile for inline process analysis
Module procan/pa;

// options are util
Module util/util;

setenv WORKDIR /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts
setenv OUTDIR /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH
setenv INPDIR /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input
setenv LOGDIR /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/LOGS
setenv NMLpath /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc
setenv NEW_START TRUE
set START_DATE = 2011-07-01
set END_DATE = 2011-07-01
set STTIME = 000000
set NSTEPS = 240000
set TSTEP = 010000
if ( mpi == serial ) then
@ NPCOL = 4
@ NPROW = 2
@ NPROCS = 4 * 2
setenv NPCOL_NPROW 4 2
endif
set NZ = 35
setenv GRID_NAME SE52BENCH
setenv GRIDDESC /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/GRIDDESC
setenv AVG_CONC_SPCS ALL
setenv ACONC_BLEV_ELEV 1 1
setenv AVG_FILE_ENDTIME N
setenv EXECUTION_ID CCTM_v521.exe
setenv CTM_MAXSYNC 300
setenv CTM_MINSYNC 60
setenv SIGMA_SYNC_TOP 0.7
setenv CTM_ADV_CFL 0.95
setenv CTM_WB_DUST Y
setenv CTM_ERODE_AGLAND Y
setenv CTM_WBDUST_BELD BELD3
setenv CTM_LTNG_NO Y
setenv CTM_WVEL Y
setenv KZMIN Y
.
.
.
set METpath = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip
set OMIpath = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc
set LUpath = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land
set SZpath = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land
set ICBC_CASE = 2013ef_v6_13g_s07
set EMIS_CASE = 2013ef_v6_13g_s07_hg
set TODAYG = 2011-07-01
set TODAYJ = date -ud "${START_DATE}" +%Y%j
date -ud 2011-07-01 +%Y%j
set STOP_DAY = date -ud "${END_DATE}" +%Y%j
date -ud 2011-07-01 +%Y%j
while ( 2011182 < = 2011182 )
set YYYYMMDD = date -ud "${TODAYG}" +%Y%m%d
date -ud 2011-07-01 +%Y%m%d
set YYMMDD = date -ud "${TODAYG}" +%y%m%d
date -ud 2011-07-01 +%y%m%d
set YYYYJJJ = 2011182
set YESTERDAY = date -ud "${TODAYG}-1days" +%Y%m%d
date -ud 2011-07-01-1days +%Y%m%d
if ( TRUE == true || TRUE == TRUE ) then
setenv ICFILE ICON_20110630_bench.nc
setenv INITIAL_RUN Y
rm: No match.
mkdir -p /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH
else
set BCFILE = BCON_20110701_bench.nc
set OMIfile = OMI_1979_to_2015.dat
set OPTfile = PHOT_OPTICS.dat
setenv GRID_BDY_2D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/GRIDBDY2D_110701.nc
setenv GRID_CRO_2D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/GRIDCRO2D_110701.nc
setenv GRID_CRO_3D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/GRIDCRO3D_110701.nc
setenv GRID_DOT_2D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/GRIDDOT2D_110701.nc
setenv MET_CRO_2D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/METCRO2D_110701.nc
setenv MET_CRO_3D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/METCRO3D_110701.nc
setenv MET_DOT_3D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/METDOT3D_110701.nc
setenv MET_BDY_3D /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/METBDY3D_110701.nc
setenv LAYER_FILE /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/METCRO3D_110701.nc
if ( Y == N ) then
set STKCASEG = 12US1_2011ek_cb6cmaq_v6_11g
set STKCASEE = 12US1_cmaq_cb6e51_2011ek_cb6cmaq_v6_11g
set EMISfile = emis_mole_all_20110701_cb6_bench.nc
setenv NPTGRPS 5
.
.
.
/single_day/cctm_input/emis/inln_point/stack_groups/stack_groups_othpt_12US1_2011ek_cb6cmaq_v6_11g.nc
setenv STK_GRPS_04 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/inln_point/stack_groups/stack_groups_ptfire_20110701_12US1_2011ek_cb6cmaq_v6_11g.nc
setenv STK_GRPS_05 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/inln_point/stack_groups/stack_groups_pt_oilgas_12US1_2011ek_cb6cmaq_v6_11g.nc
setenv LAYP_STTIME 000000
setenv LAYP_NSTEPS 240000
setenv STK_EMIS_01 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/inln_point/ptnonipm/inln_mole_ptnonipm_20110701_12US1_cmaq_cb6e51_2011ek_cb6cmaq_v6_11g.nc
setenv STK_EMIS_02 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/inln_point/ptegu/inln_mole_ptegu_20110701_12US1_cmaq_cb6e51_2011ek_cb6cmaq_v6_11g.nc
setenv STK_EMIS_03 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/inln_point/othpt/inln_mole_othpt_20110701_12US1_cmaq_cb6e51_2011ek_cb6cmaq_v6_11g.nc
setenv STK_EMIS_04 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/inln_point/ptfire/inln_mole_ptfire_20110701_12US1_cmaq_cb6e51_2011ek_cb6cmaq_v6_11g.nc
setenv STK_EMIS_05 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/inln_point/pt_oilgas/inln_mole_pt_oilgas_20110701_12US1_cmaq_cb6e51_2011ek_cb6cmaq_v6_11g.nc
setenv LAYP_STDATE 2011182
endif
if ( Y == Y ) then
setenv LTNGNO InLine
setenv USE_NLDN Y
if ( Y == Y ) then
setenv NLDN_STRIKES /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/lightning/NLDN.12US1.20110701_bench.nc
else
setenv LTNGPARMS_FILE /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/lightning/LTNG_AllParms_12US1_bench.nc
endif
if ( Y == Y ) then
set IN_BEISpath = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land
set GSPROpath = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land
setenv GSPRO /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/gspro_biogenics_1mar2017.txt
setenv B3GRD /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/b3grd_bench.nc
setenv BIOG_SPRO B10C6
setenv BIOSW_YN Y
setenv BIOSEASON /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/bioseason.cmaq.2011_12US1_wetland100.ghrsst_bench.ncf
setenv SUMMER_YN Y
setenv PX_VERSION Y
setenv SOILINP /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_SOILOUT_v521_gcc_SE52BENCH_20110630.nc
endif
if ( Y == Y ) then
setenv DUST_LU_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/beld3_12US1_459X299_output_a_bench.nc
setenv DUST_LU_2 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/beld4_12US1_459X299_output_tot_bench.nc
setenv MODIS_FPAR /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/modis_bench.nc
if ( Y == Y ) then
setenv CROPMAP01 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/BeginPlanting_12km_bench.nc
setenv CROPMAP04 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/EndPlanting_12km_bench.nc
setenv CROPMAP08 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/EndHarvesting_12km_bench.nc
endif
endif
setenv OCEAN_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/12US1_surf_bench.nc
if ( Y == Y ) then
setenv E2C_Soilfile /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/2011_US1_soil_bench.nc
setenv E2C_Fertfile /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/2011_US1_time20110701_bench.nc
setenv B4LU_file /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/beld4_12kmCONUS_2006nlcd_bench.nc
setenv E2C_SOIL /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/2011_US1_soil_bench.nc
setenv E2C_FERT /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/2011_US1_time20110701_bench.nc
setenv BELD4_LU /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/land/beld4_12kmCONUS_2006nlcd_bench.nc
endif
setenv CTM_APPL v521_gcc_SE52BENCH_20110701
setenv S_CGRID /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_CGRID_v521_gcc_SE52BENCH_20110701.nc
.
.
.
setenv CTM_CONC_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/
/CCTM_DEPVFST_v521_gcc_SE52BENCH_20110701.nc -v
setenv CTM_DEPV_FST /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPVMOS_v521_gcc_SE52BENCH_20110701.nc -v
setenv CTM_VDIFF_DIAG /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_VDIFF_DIAG_v521_gcc_SE52BENCH_20110701.nc -v
setenv CTM_VSED_DIAG /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_VSED_DIAG_v521_gcc_SE52BENCH_20110701.nc -v
setenv CTM_AOD_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_AOD_DIAG_v521_gcc_SE52BENCH_20110701.nc -v
setenv CTM_LTNGDIAG_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_LTNGHRLY_v521_gcc_SE52BENCH_20110701.nc -v
setenv CTM_LTNGDIAG_2 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_LTNGCOL_v521_gcc_SE52BENCH_20110701.nc -v
setenv FLOOR_FILE /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/FLOOR_v521_gcc_SE52BENCH_20110701.txt
if ( ! -d /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH ) mkdir -p /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH
set log_test = ls CTM_LOG_???.${CTM_APPL}
ls: No match.
set OUT_FILES = ( /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/FLOOR_v521_gcc_SE52BENCH_20110701.txt /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_CGRID_v521_gcc_SE52BENCH_20110701.nc /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_CONC_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_ACONC_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_MEDIA_CONC_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DRYDEP_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPV_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PT3D_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_B3GTS_S_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_SOILOUT_v521_gcc_SE52BENCH_20110701.nc /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_WETDEP1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_WETDEP2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PMVIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_APMVIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PMDIAG_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_APMDIAG_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PHOTDIAG1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PHOTDIAG2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_SSEMIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DUSTEMIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_3_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_3_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DDMOS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DDFST_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPVFST_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPVMOS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_VDIFF_DIAG_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_VSED_DIAG_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_AOD_DIAG_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_LTNGHRLY_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_LTNGCOL_v521_gcc_SE52BENCH_20110701.nc -v )
set OUT_FILES = echo $OUT_FILES | sed "s; -v;;g"
sed s; -v;;g
echo /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/FLOOR_v521_gcc_SE52BENCH_20110701.txt /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_CGRID_v521_gcc_SE52BENCH_20110701.nc /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_CONC_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_ACONC_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_MEDIA_CONC_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DRYDEP_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPV_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PT3D_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_B3GTS_S_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_SOILOUT_v521_gcc_SE52BENCH_20110701.nc /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_WETDEP1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_WETDEP2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PMVIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_APMVIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PMDIAG_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_APMDIAG_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PHOTDIAG1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PHOTDIAG2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_SSEMIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DUSTEMIS_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_3_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_1_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_2_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_3_v521_gcc_SE52BENCH_20110701.nc -v /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH.
.
.
.
/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DRYDEP_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPV_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PT3D_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_B3GTS_S_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_SOILOUT_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_WETDEP1_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_WETDEP2_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PMVIS_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_APMVIS_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PMDIAG_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_APMDIAG_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PHOTDIAG1_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PHOTDIAG2_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_SSEMIS_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DUSTEMIS_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_1_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_2_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_PA_3_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_1_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_2_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_IRR_3_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DDMOS_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DDFST_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPVFST_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_DEPVMOS_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_VDIFF_DIAG_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_VSED_DIAG_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_AOD_DIAG_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_LTNGHRLY_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
ls: cannot access /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/CCTM_LTNGCOL_v521_gcc_SE52BENCH_20110701.nc: No such file or directory
if ( delete == delete ) then
echo ancillary log files being deleted
ancillary log files being deleted
foreach file ( )
echo output files being deleted
output files being deleted
foreach file ( )
else
setenv CTM_STDATE 2011182
setenv CTM_STTIME 000000
setenv CTM_RUNLEN 240000
setenv CTM_TSTEP 010000
setenv EMIS_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/emis/gridded_area/emis_mole_all_20110701_cb6_bench.nc
setenv INIT_GASC_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/ICON_20110630_bench.nc
setenv INIT_AERO_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/ICON_20110630_bench.nc
setenv INIT_NONR_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/ICON_20110630_bench.nc
setenv INIT_TRAC_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/ICON_20110630_bench.nc
setenv BNDY_GASC_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/BCON_20110701_bench.nc
setenv BNDY_AERO_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/BCON_20110701_bench.nc
setenv BNDY_NONR_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/BCON_20110701_bench.nc
setenv BNDY_TRAC_1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/icbc/BCON_20110701_bench.nc
setenv OMI /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/OMI_1979_to_2015.dat
setenv OPTICS_DATA /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/PHOT_OPTICS.dat
set TR_DVpath = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip
set TR_DVfile = /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/SE52BENCH/single_day/cctm_input/met/mcip/METCRO2D_110701.nc
setenv gc_matrix_nml /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/GC_cb6r3_ae6_aq.nml
setenv ae_matrix_nml /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/AE_cb6r3_ae6_aq.nml
setenv nr_matrix_nml /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/NR_cb6r3_ae6_aq.nml
setenv tr_matrix_nml /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/Species_Table_TR_0.nml
setenv CSQY_DATA /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/CSQY_DATA_cb6r3_ae6_aq
if ( ! ( -e /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/CSQY_DATA_cb6r3_ae6_aq ) ) then
if ( ! ( -e /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/PHOT_OPTICS.dat ) ) then
ls -l /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/CCTM_v521.exe
-rwxrwxr-x. 1 somedir somedir 11332056 Aug 4 03:05 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/CCTM_v521.exe
size /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/CCTM_v521.exe
text data bss dec hex filename
6757345 4260480 76456848 87474673 536c1f1 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/CCTM_v521.exe
unlimit
limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize unlimited
coredumpsize unlimited
memoryuse unlimited
vmemoryuse unlimited
descriptors 4096
memorylocked 64 kbytes
maxproc 513459
maxlocks unlimited
maxsignal 513459
maxmessage 819200
maxnice 0
maxrtprio 0
maxrttime unlimited
date
Sun Aug 4 03:05:58 UTC 2019
mpirun -r ssh -np 8 /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/CCTM/scripts/BLD_CCTM_v521_gcc/CCTM_v521.exe
[mpiexec@haze.ydcloud.com.us] match_arg (utils/args/args.c:159): unrecognized argument r
[mpiexec@haze.ydcloud.com.us] HYDU_parse_array (utils/args/args.c:174): argument matching returned error
[mpiexec@haze.ydcloud.com.us] parse_args (ui/mpich/utils.c:1596): error parsing input array
[mpiexec@haze.ydcloud.com.us] HYD_uii_mpx_get_parameters (ui/mpich/utils.c:1648): unable to parse user arguments
[mpiexec@haze.ydcloud.com.us] main (ui/mpich/mpiexec.c:149): error parsing parameters
0.001u 0.001s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
date
Sun Aug 4 03:05:58 UTC 2019
if ( ! -e /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/LOGS ) then
mkdir /home/somedir/cmaq_usr/cmaq_test/CMAQv5.2.1/data/output_CCTM_v521_gcc_SE52BENCH/LOGS
endif
mv: No match.
setenv NEW_START false
set TODAYG = date -ud "${TODAYG}+1days" +%Y-%m-%d
date -ud 2011-07-01+1days +%Y-%m-%d
set TODAYJ = date -ud "${TODAYG}" +%Y%j
date -ud 2011-07-02 +%Y%j
end
while ( 2011183 < = 2011182 )
exit

Thank you

Hi
modify the run.cctm as:
mpirun -np 8
and run it again

many thanks! It’s working

1 Like

I tried to re- run mcip v 4.3, first, by setting hybrid_opt=0 in WRF-ARW v4.0 and producing wrfout files, but still getting the same error! Could you point me where can I comment out the ‘error checking’ as you mentioned?

Thanks

Error

 for conditions of use.                                          
                                                                 
 ioapi-3.2: $Id: init3.F90 120 2019-06-21 14:18:20Z coats $
 Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048
 netCDF version 4.6.1 of Aug 16 2019 02:38:28 $
  
  
 EXECUTION_ID: mcip

==============================================================================

              US EPA COMMUNITY MULTISCALE AIR QUALITY MODEL
                METEOROLOGY-CHEMISTRY INTERFACE PROCESSOR

                       MCIP V4.3 FROZEN 11/06/2015

==============================================================================


*** SUBROUTINE: SETUP
*** UNKNOWN OR UNSUPPORTED WRF OUTPUT VERSION
*** VERSION = OUTPUT FROM WRF V4.0 MODEL


 *** ERROR ABORT in subroutine SETUP
 ABNORMAL TERMINATION IN SETUP
 Date and time  0:00:00   April 10, 2017  (2017100:000000)

Error running mcip

Anyone please, any hints?

@CMAQ_user

In MCIPv4.3, subroutine setup.f90, line 131, please change “==” to “>=”. Recompile and try to run again.

Tanya

1 Like

Thanks but didn’t work!
Got this

Released under the GNU LGPL  License, version 2.1.  See URL

     https://[www.gnu.org](http://www.gnu.org)/licenses/old-licenses/lgpl-2.1.html

 for conditions of use.

 ioapi-3.2: $Id: init3.F90 120 2019-06-21 14:18:20Z coats $

 Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048

 netCDF version 4.6.1 of Aug 16 2019 02:38:28 $

 EXECUTION_ID: mcip

==============================================================================

              US EPA COMMUNITY MULTISCALE AIR QUALITY MODEL
                METEOROLOGY-CHEMISTRY INTERFACE PROCESSOR

                       MCIP V4.3 FROZEN 11/06/2015

==============================================================================

  • SUBROUTINE SETUP_WRFEM - READING WRF HEADER
    WRF GRID DIMENSIONS (X,Y,Z) 259 259 39

*** SUBROUTINE: LL2XY_LAM
*** TANGENT LAMBERT CONFORMAL PROJECTION DETECTED
*** TRUE LATITUDES = 32.800 32.800

*** MAY NOT WORK PROPERLY IN SPATIAL ALLOCATOR


 *** ERROR ABORT in subroutine LL2XY_LAM
 ABNORMAL TERMINATION IN LL2XY_LAM
 Date and time  0:00:00   April 10, 2017  (2017100:000000)

Error running mcip

Does that mean, true latitudes 1 and 2 are not allowed to be the same?

Thanks

@CMAQ_user

The fix I gave you worked to get you past the issue with WRFv4.0 in MCIPv4.3. The issue here is independent. If you are planning to use the Spatial Allocator for any part of your processing, then true latitudes 1 and 2 cannot be the same. If you are not planning to use the Spatial Allocator, then in subroutine ll2xy_lam.f90, comment out lines 72-73 and uncomment line 74.

Tanya

Thanks that worked to one step ahead, but I facing new issue (too much questions, sorry for that!).

Mon Aug 19 20:56:43 UTC 2019

 This program uses the EPA-AREAL/MCNC-EnvPgms/BAMS Models-3      
 I/O Applications Programming Interface, [I/O API] which is      
 built on top of the netCDF I/O library (Copyright 1993, 1996    
 University Corporation for Atmospheric Research/Unidata         
 Program) and the PVM parallel-programming library (from         
 Oak Ridge National Laboratory).                                 
 Copyright (C) 1992-2002 MCNC,                                   
 (C) 1992-2013 Carlie J. Coats, Jr.,                             
 (C) 2003-2012 Baron Advanced Meteorological Systems, LLC, and   
 (C) 2014-2019 UNC Institute for the Environment.                
 Released under the GNU LGPL  License, version 2.1.  See URL     
                                                          a       
     https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html     
                                                                 
 for conditions of use.                                          
                                                                 
 ioapi-3.2: $Id: init3.F90 120 2019-06-21 14:18:20Z coats $
 Version with PARMS3.EXT/PARAMETER::MXVARS3= 2048
 netCDF version 4.6.1 of Aug 16 2019 02:38:28 $
  
  
 EXECUTION_ID: mcip

==============================================================================

              US EPA COMMUNITY MULTISCALE AIR QUALITY MODEL
                METEOROLOGY-CHEMISTRY INTERFACE PROCESSOR

                       MCIP V4.3 FROZEN 11/06/2015

==============================================================================

  • SUBROUTINE SETUP_WRFEM - READING WRF HEADER
    WRF GRID DIMENSIONS (X,Y,Z) 259 259 39

+++ met_pcp_incr = 0


*** SUBROUTINE: SETUP_WRFEM
*** DID NOT FIND FRACTIONAL LAND USE IN wrfout
*** AND DID NOT FIND GEOGRID FILE
*** – WILL NOT USE FRACTIONAL LAND USE DATA



                    USER OPTIONS AND GRID DEFINITIONS

Output start date = 2017-04-10-00:00:00.0000
Output end date = 2017-04-10-18:00:00.0000
Output interval = 60 minutes

LPV = 0: Will not calculate and output 3D potential vorticity
LWOUT = 0: Will not output vertical velocity from the met model
LUVCOUT = 1: Will output u- and v-component winds on C grid
LSAT = 0: Will not use satellite adjustment of clouds for photolysis

LAI was found in the meteorology input file

FRACTIONAL LAND USE was NOT found in the meteorology input file

MONIN-OBUKHOV LENGTH was NOT found in the meteorology input file

MONIN-OBUKHOV LENGTH will NOT be recomputed by MCIP (Only for WRF-ACM2)

AERODYNAMIC AND STOMATAL RESISTANCE was NOT found in the meteorology input file

2-m TEMPERATURE was found in the meteorology input file

2-m MIXING RATIO was found in the meteorology input file

VEGETATION FRACTION was found in the meteorology input file

10-m WIND was found in the meteorology input file

CANOPY WETNESS was found in the meteorology input file

ROUGHNESS LENGTH was NOT found in the meteorology input file

SOIL MOISTURE, TEMPERATURE, AND TYPE was found in the meteorology input file
SOIL MOISTURE, TEMPERATURE, AND TYPE will be in the output file

TURBULENT KINETIC ENERGY was NOT found in the meteorology input file

URBAN CANOPY MODEL (WRF ONLY) was used in the meteorology model

3D RESOLVED CLOUD FRACTION was found in the meteorology input file

Met domain dimensions (col, row, lay): 259 259 39
MCIP X domain dimensions (col, row, lay): 258 258 39
Output domain dimensions (col, row, lay): 256 256 39

Output grid resolution: 1.0000000000000000 km
Window domain origin on met domain (col,row): 1 , 1
Window domain far corner on met domain (col,row): 259 , 259

Cells and points for diagnostic prints
LPRT_COL LPRT_ROW 128 128
LPRT_XCOL LPRT_XROW 129 129
LPRT_METX LPRT_METY 129 129

IOAPI header variables:
GDTYP3D 2
GDNAM3D 12benchCA
P_ALP3D 32.800
P_BET3D 32.800
P_GAM3D -111.500
XCENT3D -111.500
YCENT3D 40.000
XORIG3D -132500.000
YORIG3D -132500.000
XCELL3D 1000.000
YCELL3D 1000.000
VGTYP3D 7
VGTOP3D 5000.000

VGLVS3D   1.00000  0.99381  0.98595  0.97601  0.96356  0.94809
          0.92912  0.90619  0.87894  0.84721  0.81108  0.77095
          0.72753  0.68176  0.63450  0.58603  0.53665  0.48673
          0.43669  0.38740  0.34307  0.30321  0.26737  0.23513
          0.20614  0.18008  0.15663  0.13555  0.11660  0.09955
          0.08422  0.07043  0.05804  0.04689  0.03686  0.02785
          0.01974  0.01245  0.00590  0.00000

~~~ Processing meteorology for time = 2017-04-10-00:00:00.0000

U 2.8045 2.8430 2.9578 3.1036 3.2092
3.2421 3.2870 3.4035 3.6536 4.0624
6.9280 9.0230 10.8594 13.4606 15.6016
19.7141 25.4644 30.1051 33.0878 33.8777
33.1214 35.6098 38.7751 38.8395 38.6576
41.7460 39.2909 38.1554 38.5019 35.3488
31.7831 28.9873 25.9833 22.3442 18.6605
15.1571 12.0954 9.2893 6.7370

V -0.4436 -0.3732 -0.3763 -0.3802 -0.3801
-0.3627 -0.3040 -0.2069 -0.1383 -0.1154
1.3079 0.6053 -0.9094 -0.2035 0.1092
-0.7583 2.3034 6.9940 8.0233 8.0479
9.0784 8.3757 7.9333 12.2468 16.8952
15.0954 9.7593 7.3305 7.3730 5.5786
4.8027 5.5453 5.8204 4.1494 2.2094
0.5773 -0.0784 -0.2362 0.0980

W 0.0036 0.0036 0.0035 0.0035 0.0034
0.0033 0.0031 0.0030 0.0028 0.0026
0.0024 0.0022 0.0019 0.0017 0.0015
0.0013 0.0010 0.0009 0.0007 0.0005
0.0004 0.0003 0.0003 0.0002 0.0002
0.0001 0.0001 0.0001 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000

PH 0.0000 21.2900 46.5029 77.6880 115.6562
161.1143 214.4785 275.5469 342.8525 413.8653
484.8379 556.8281 643.0137 733.4844 812.9219
899.6133 1013.2109 1151.0938 1282.3906 1389.6328
1488.0936 1576.1250 1640.0234 1681.0156 1720.1562
1746.7814 1804.8125 2021.3750 2430.0234 2885.8750
3345.1719 3763.5469 4113.6094 4405.4844 4687.2812
4977.6406 5287.9688 5621.2188 5986.0000 6390.6719

PHB 4628.6665 5112.7222 5731.5703 6519.0332 7515.1318
8765.8076 10321.8164 12236.2266 14560.4336 17338.5391
20600.8281 24357.5293 28594.6895 33273.7852 38359.4023
43879.2695 49861.1680 56332.3047 63318.6289 70779.0938
78074.4531 85204.4922 92168.9688 98967.6172 105600.1953
112066.4297 118366.0703 124498.8281 130486.1484 136461.6875
142424.2031 148372.2656 154304.3750 160218.8125 166113.7500
171987.1406 177836.7656 183660.1719 189454.7031 195217.4219

P 1121.3750 1112.2031 1100.7266 1086.2109 1068.2266
1046.0547 1019.0859 986.7812 948.8516 905.1250
858.7969 812.6094 764.9688 715.3633 663.5430
608.7734 551.3867 493.1797 436.4414 384.3984
338.8281 298.6699 262.8242 230.6504 201.8047
175.9023 152.6113 131.6992 112.8994 95.9541
80.7832 67.1104 54.8154 43.7539 33.8154
24.8555 16.8193 9.5771 3.0796

PB 94288.0859 93658.9219 92861.7656 91858.9531 90608.5703
89066.5391 87190.0625 84942.8125 82301.3906 79262.2422
75847.1719 72105.4844 68111.1719 63945.4141 59658.6172
55276.4922 50829.5586 46353.0117 41904.6289 37712.2266
33942.1484 30551.8398 27503.0488 24761.3770 22295.8828
20078.7480 18084.9531 16292.0000 14679.6602 13229.7354
11925.8682 10753.3438 9698.9336 8750.7383 7898.0576
7131.2705 6441.7246 5821.6406 5264.0210

T 298.3890 297.1417 296.3784 295.4086 294.2005
292.7208 290.9332 288.7317 286.1663 283.1358
280.8837 278.9854 275.8189 271.5748 267.9319
264.6765 260.8299 255.5048 249.3892 243.9037
238.3923 232.3561 226.3149 220.9691 215.2766
211.0428 211.0376 212.8922 214.4102 214.4659
213.0314 210.6654 208.6209 208.1777 208.3531
208.9042 209.5494 210.4811 211.6956

QVAPOR 0.0028 0.0028 0.0028 0.0027 0.0027
0.0027 0.0027 0.0027 0.0027 0.0027
0.0011 0.0003 0.0002 0.0003 0.0006
0.0011 0.0014 0.0013 0.0009 0.0006
0.0003 0.0001 0.0001 0.0001 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000

QCLOUD 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000

QRAIN 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000

QICE 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000

QSNOW 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000

QGRAUP 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000

CLDFRA 0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 0.0000
0.0000 0.0000 0.0000 0.0000 ************
MU 1044.3359 Pa
MUB 89565.0781 Pa
T2 299.0921 K
Q2 0.0029 kg/kg
U10 2.7996 m/s
V10 -0.4942 m/s
PSFC 95690.3750 Pa
MAPFAC_M 1.0000 dimensionless
MAPFAC_U 1.0000 dimensionless
MAPFAC_V 1.0000 dimensionless
HGT 471.8314 m
RAINC 0.0000 cm
RAINNC 0.0000 cm
SWDOWN 0.0000 W m^-2
GLW 0.0000 W m^-2
XLAT 32.7550 degrees
XLAT_U 32.7550 degrees
XLAT_V 32.7505 degrees
XLONG -111.5535 degrees
XLONG_U -111.5588 degrees
XLONG_V -111.5535 degrees
LU_INDEX 10 category
LANDMASK 1.0000 category
HFX 0.0000 W m^-2
LH 0.0000 W m^-2
UST 0.1000 m
PBLH 0.0000 m
LAI 0.2055 area/area
CANWAT 0.0000 kg m^-2
VEGFRA 0.1365 fraction
ISLTYP 8 category
SMOIS 1 0.1266 m^3 m^-3
SMOIS 2 0.1467 m^3 m^-3
TSLB 1 302.6927 K
TSLB 2 294.3582 K
TSK 302.1997 K
ALBEDO 0.2300 fraction


*** SUBROUTINE: RDWRFEM
*** ERROR RETRIEVING VARIABLE FROM WRF FILE
*** VARIABLE = FRC_URB
*** RCODE = NetCDF: Variable not found


SNOWC 0.0000 category
SEAICE 0.0000 fraction

 Value for IOAPI_CHECK_HEADERS:  T returning TRUE
 Value for IOAPI_OFFSET_64:  YES returning TRUE
 Value for IOAPI_CFMETA not defined;returning default:   FALSE
 Value for IOAPI_CMAQMETA not defined; returning defaultval ':  'NONE'
 Value for IOAPI_CMAQMETA not defined; returning defaultval ':  'NONE'
 Value for IOAPI_SMOKEMETA not defined; returning defaultval ':  'NONE'
 Value for IOAPI_SMOKEMETA not defined; returning defaultval ':  'NONE'
 Value for IOAPI_TEXTMETA not defined; returning defaultval ':  'NONE'
 Value for IOAPI_TEXTMETA not defined; returning defaultval ':  'NONE'
  
 "GRID_DOT_2D" opened as UNKNOWN(R-W)    
 File name "/home/somedir/CMAQ_user/mcip_test/MCIP/mc_iout/GRIDDOT2D_110701"
 File type GRDDED3 
 Execution ID "mcip"
 Grid name "GRIDOUT_12benchC"
 Dimensions: 257 rows, 257 cols, 1 lays, 9 vbles
 NetCDF ID:     65536  opened as READWRITE           
 Time-independent data.
  
 "GRID_CRO_2D" opened as UNKNOWN(R-W)    
 File name "/home/somedir/CMAQ_user/mcip_test/MCIP/mc_iout/GRIDCRO2D_110701"
 File type GRDDED3 
 Execution ID "mcip"
 Grid name "GRIDOUT_12benchC"
 Dimensions: 256 rows, 256 cols, 1 lays, 6 vbles
 NetCDF ID:    131072  opened as READWRITE           
 Time-independent data.
  
 "GRID_BDY_2D" opened as UNKNOWN(R-W)    
 File name "/home/somedir/CMAQ_user/mcip_test/MCIP/mc_iout/GRIDBDY2D_110701"
 File type BNDARY3 
 Execution ID "mcip"
 Grid name "GRIDOUT_12benchC"
 Dimensions: 256 rows, 256 cols, 1 lays, 7 vbles, 1 cells thick
 NetCDF ID:    196608  opened as READWRITE           
 Time-independent data.

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x2ad905a2b27f in ???
#1 0x424176 in ???
#2 0x403620 in ???
#3 0x40315c in ???
#4 0x2ad905a173d4 in ???
#5 0x40318c in ???
#6 0xffffffffffffffff in ???
Segmentation fault (core dumped)
Error running mcip

@CMAQ_user

From your log file, you are using an urban canopy parameterization in WRF. MCIPv4.3 (and previous versions) had been coded to find the fraction of urban area as “FRC_URB”, but it really should be “FRC_URB2D”. This was corrected in MCIPv4.4.

To make the correction in MCIPv4.3, modify subroutine rdwrfem.f90 to change “FRC_URB” to “FRC_URB2D” in lines 1544, 1549, and 1551. In line 1549, be sure to leave the length of the character string fixed, so there will not be any blanks at the end of the string when you make the change.

Tanya

Didn’t improve, but will try with newer version of MCIP (i.e., MCIP 4.5).

Thanks

The new version got error in the make. Error details just below this post.

gfortran -O3 -I/home/somedir/cmaq_user/softwares/cmaq_libsgcc72/netcdf/include -I/home/somedir/cmaq_user/softwares/cmaq_libsgcc72/ioapi3.2/Linux2_x86_64gfort -c mcoutcom_mod.f90
mcoutcom_mod.f90:146:58:

    'SNOCOV',     'VEG   ',     'LAI   ',     'SEAICE',      &
                                                      1

Error: Different CHARACTER lengths (6/5) in array constructor at (1)
mcoutcom_mod.f90:157:62:

    'DECIMAL   ', 'DECIMAL   ', 'AREA/AREA ', 'FRACTION  ',  &
                                                          1

Error: Different CHARACTER lengths (10/1) in array constructor at (1)
make[1]: *** [mcoutcom_mod.o] Error 1
make[1]: Leaving directory `/home/somedir/user/mcip_test/MCIP/src’

@CMAQ_user

This issue has been corrected in the forthcoming MCIPv5.0, which will accompany CMAQv5.3. The gfortran compiler is more particular about this issue than Intel and PGI. To get around this issue, in mcoutcom_mod.f90, all of the character strings need to be expanded to CHARACTER(16) or CHARACTER(80), i.e., padded with blanks to the exact specifications. The same change applies in mdoutcom_mod.f90, groutcom_mod.f90, luoutcom_mod.f90, soioutcom_mod.f90, and mosoutcom_mod.f90. (Not sure if there are others.) I’m sorry, but it’s a bit tedious to fix. There may be a compiler option you can use, but I don’t know the answer offhand.

You may consider MCIPv4.4 to get around your FRC_URB2D issue.

Let me know if that works for you.
Tanya

Thank you for your reply.
I haven’t been able to find mcip v 4.4. The git command only has access to v4.3 (git clone -b 4.3 https://github.com/CMASCenter/MCIP.git, using 4.4 and 4.5 doesn’t work!) and CMAQv5.2 (also 5.2.1) comes with mcip 4.3 and CMAQv5.3 beta comes with mcip4.5. (I checked the README.releasenotes to guess the versions of mcip)