Linking Error In Intel compilers used

Linking Error In Intel compilers used

Hi allI am trying to compile some directory of cfs code with intel compilers. I am getting the error============================mpiifort -o cfs_ncep_post getVariable.o getIVariable.o getVariableB.o getIVariableN.o getVariableRSM.o module_internal_header_util.o kinds_mod.o machine.o physcons.o count_recs_wrf_binary_file.o inventory_wrf_binary_file.o next_buf.o retrieve_index.o ZENSUN.o CLDFRAC_ZHAO.o GFSPOST_EXP.o GETGBANDSCATTER.o VRBLS2D_mod.o VRBLS3D_mod.o MASKS_mod.o SOIL_mod.o BNDLYR.o BOUND.o CALCAPE.o CALDWP.o CALDRG.o CALHEL.o CALLCL.o CALMCVG.o CALMXW.o CALPOT.o CALPW.o CALRH.o CALRCH.o CALSTRM.o CALTAU.o CALTHTE.o CALVOR.o CALWXT.o CALWXT_RAMER.o CALWXT_BOURG.o CALWXT_REVISED.o CALWXT_EXPLICIT.o CALWXT_DOMINANT.o CLDRAD.o CLMAX.o COLLECT.o COLLECT_LOC.o DEWPOINT.o FDLVL.o FIXED.o FRZLVL.o FRZLVL2.o GET_BITS.o GRIBIT_EXP.o INITPOST.o LFMFLD.o INITPOST_BIN.o MISCLN.o MIXLEN.o MDL2P_EXP.o MDLFLD.o MPI_FIRST.o MPI_LAST.o NGMFLD.o NGMSLP.o OTLFT.o OTLIFT.o SLP_new.o SLP_NMM.o EXCH.o PARA_RANGE.o POSTDATA.o PROCESS_EXP.o INITPOST_NMM.o EXCH2.o READCNTRL.o SCLFLD.o SERVER.o SETUP_SERVERS.o SURFCE.o SPLINE.o TABLE.o TABLEQ.o TRPAUS.o TTBLEX.o WETBULB.o WRFPOST_EXP.o INITPOST_NMM_BIN.o CALMICT.o CALVIS.o MICROINIT.o GPVS.o MDL2SIGMA.o ETCALC.o CANRES.o CALGUST.o WETFRZLVL.o SNFRAC.o MDL2AGL.o SNFRAC_GFS.o INITPOST_RSM.o AVIATION.o DEALLOCATE.o INITPOST_NMM_BIN_MPIIO.o CALPBL.o MDL2SIGMA2.o INITPOST_GFS_EXP.o CALRH_GFS.o LFMFLD_GFS.o CALRAD.o CALRAD_WCLOUD.o MDL2THANDPV_EXP.o CALPBLREGIME.o POLEAVG.o xbsrch.o ../../cfs_global_atmos.fd/gfsio_module.o ../../cfs_global_atmos.fd/byteswap.o ../../cfs_global_atmos.fd/bafrio.o -lmpiif -openmp -lpthreadgetVariable.o: In function `getvariable':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getVariable.f:75: undefined reference to `ext_ncd_get_var_info_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getVariable.f:94: undefined reference to `ext_ncd_read_field_'getIVariable.o: In function `getivariable':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getIVariable.f:75: undefined reference to `ext_int_get_var_info_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getIVariable.f:94: undefined reference to `ext_int_read_field_'getVariableB.o: In function `getvariableb':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getVariableB.f:74: undefined reference to `ext_int_get_var_info_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getVariableB.f:94: undefined reference to `ext_int_read_field_'getIVariableN.o: In function `getivariablen':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getIVariableN.f:75: undefined reference to `ext_ncd_get_var_info_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getIVariableN.f:95: undefined reference to `ext_ncd_read_field_'getVariableRSM.o: In function `getvariablersm':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getVariableRSM.f:78: undefined reference to `ext_int_get_var_info_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/getVariableRSM.f:94: undefined reference to `ext_int_read_field_'module_internal_header_util.o: In function `int_get_write_field_header':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:220: undefined reference to `wrf_error_fatal_'module_internal_header_util.o: In function `int_gen_ti_header_integer':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:555: undefined reference to `int_gen_ti_header_c_'module_internal_header_util.o: In function `int_gen_ti_header_real':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:583: undefined reference to `int_gen_ti_header_c_'module_internal_header_util.o: In function `int_get_ti_header_integer':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:613: undefined reference to `int_get_ti_header_c_'module_internal_header_util.o: In function `int_get_ti_header_real':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:642: undefined reference to `int_get_ti_header_c_'module_internal_header_util.o: In function `int_gen_ti_header_char':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:700: undefined reference to `int_gen_ti_header_c_'module_internal_header_util.o: In function `int_get_ti_header_char':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:731: undefined reference to `int_get_ti_header_c_'module_internal_header_util.o: In function `int_gen_td_header_char':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:790: undefined reference to `int_gen_ti_header_c_'module_internal_header_util.o: In function `int_get_td_header_char':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:820: undefined reference to `int_get_ti_header_c_'module_internal_header_util.o: In function `int_gen_td_header_integer':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:876: undefined reference to `int_gen_ti_header_c_'module_internal_header_util.o: In function `int_gen_td_header_real':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:905: undefined reference to `int_gen_ti_header_c_'module_internal_header_util.o: In function `int_get_td_header_integer':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:935: undefined reference to `int_get_ti_header_c_'module_internal_header_util.o: In function `int_get_td_header_real':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:964: undefined reference to `int_get_ti_header_c_'module_internal_header_util.o: In function `int_get_noop_header':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/module_internal_header_util.f:1026: undefined reference to `wrf_error_fatal_'inventory_wrf_binary_file.o: In function `inventory_wrf_binary_file':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/inventory_wrf_binary_file.f:96: undefined reference to `wrf_sizeof_integer_'GETGBANDSCATTER.o: In function `getgbandscatter':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/GETGBANDSCATTER.f:18: undefined reference to `getgb_'CALWXT_BOURG.o: In function `calwxt_bourg':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALWXT_BOURG.f:101: undefined reference to `mersenne_twister_mp_random_number_i_'GRIBIT_EXP.o: In function `gribit':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/GRIBIT_EXP.f:613: undefined reference to `w3fi72_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/GRIBIT_EXP.f:783: undefined reference to `baopenwt_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/GRIBIT_EXP.f:822: undefined reference to `wryte_'INITPOST.o: In function `initpost':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:146: undefined reference to `ext_ncd_ioinit_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:148: undefined reference to `ext_ncd_open_for_read_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:170: undefined reference to `ext_ncd_get_dom_ti_char_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:195: undefined reference to `w3difdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:205: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:210: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:819: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1472: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1476: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1480: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1484: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1488: undefined reference to `ext_ncd_get_dom_ti_real_'INITPOST.o:/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1492: more undefined references to `ext_ncd_get_dom_ti_real_' followINITPOST.o: In function `initpost':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1500: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1538: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST.f:1600: undefined reference to `ext_ncd_ioclose_'INITPOST_BIN.o: In function `initpost_bin':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:149: undefined reference to `ext_int_ioinit_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:151: undefined reference to `ext_int_open_for_read_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:173: undefined reference to `ext_int_get_dom_ti_char_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:198: undefined reference to `w3difdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:208: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:214: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:219: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:224: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:228: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:232: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:236: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:240: undefined reference to `ext_int_get_dom_ti_real_'INITPOST_BIN.o:/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:244: more undefined references to `ext_int_get_dom_ti_real_' followINITPOST_BIN.o: In function `initpost_bin':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:252: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:257: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_BIN.f:1718: undefined reference to `ext_int_ioclose_'INITPOST_NMM.o: In function `initpost_nmm':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:158: undefined reference to `ext_ncd_ioinit_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:160: undefined reference to `ext_ncd_open_for_read_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:182: undefined reference to `ext_ncd_get_dom_ti_char_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:211: undefined reference to `w3difdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:218: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:227: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:249: undefined reference to `w3movdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:684: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:1883: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:1890: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:1897: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:1903: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:1917: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:1950: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:1957: undefined reference to `ext_ncd_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM.f:2117: undefined reference to `ext_ncd_ioclose_'SERVER.o: In function `server':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/SERVER.f:95: undefined reference to `baopen_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/SERVER.f:97: undefined reference to `baopenwt_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/SERVER.f:114: undefined reference to `wryte_'WRFPOST_EXP.o: In function `wrfpost':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:409: undefined reference to `baopenr_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:411: undefined reference to `baopenr_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:346: undefined reference to `ext_int_ioinit_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:348: undefined reference to `ext_int_open_for_read_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:355: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:361: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:364: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:375: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:387: undefined reference to `ext_int_ioclose_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:303: undefined reference to `ext_ncd_ioinit_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:305: undefined reference to `ext_ncd_open_for_read_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:311: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:314: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:317: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:327: undefined reference to `ext_ncd_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/WRFPOST_EXP.f:339: undefined reference to `ext_ncd_ioclose_'INITPOST_NMM_BIN.o: In function `initpost_nmm_bin':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:150: undefined reference to `ext_int_ioinit_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:152: undefined reference to `ext_int_open_for_read_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:174: undefined reference to `ext_int_get_dom_ti_char_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:199: undefined reference to `w3difdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:206: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:239: undefined reference to `w3movdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:257: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:263: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:268: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:272: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:276: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:281: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:286: undefined reference to `ext_int_get_dom_ti_real_'INITPOST_NMM_BIN.o:/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:291: more undefined references to `ext_int_get_dom_ti_real_' followINITPOST_NMM_BIN.o: In function `initpost_nmm_bin':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:299: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN.f:2206: undefined reference to `ext_int_ioclose_'INITPOST_RSM.o: In function `initpost_rsm':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:178: undefined reference to `ext_int_get_dom_ti_char_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:199: undefined reference to `w3difdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:218: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:222: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:226: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:230: undefined reference to `ext_int_get_dom_ti_real_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:234: undefined reference to `ext_int_get_dom_ti_real_'INITPOST_RSM.o:/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:238: more undefined references to `ext_int_get_dom_ti_real_' followINITPOST_RSM.o: In function `initpost_rsm':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:246: undefined reference to `ext_int_get_dom_ti_integer_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:1180: undefined reference to `ext_int_ioclose_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:156: undefined reference to `ext_int_ioinit_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_RSM.f:158: undefined reference to `ext_int_open_for_read_'INITPOST_NMM_BIN_MPIIO.o: In function `initpost_nmm_bin_mpiio':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN_MPIIO.f:399: undefined reference to `w3difdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_NMM_BIN_MPIIO.f:444: undefined reference to `w3movdat_'INITPOST_GFS_EXP.o: In function `initpost_gfs':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_GFS_EXP.f:355: undefined reference to `w3difdat_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_GFS_EXP.f:444: undefined reference to `getgb_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_GFS_EXP.f:447: undefined reference to `r63w72_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_GFS_EXP.f:3963: undefined reference to `baclose_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/INITPOST_GFS_EXP.f:3775: undefined reference to `baclose_'CALRAD.o: In function `calrad':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:152: undefined reference to `crtm_lifecycle_mp_crtm_init_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:207: undefined reference to `crtm_channelinfo_mp_set_channelinfo_f1_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:222: undefined reference to `crtm_atmosphere_define_mp_allocate_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:224: undefined reference to `crtm_surface_define_mp_allocate_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:225: undefined reference to `crtm_rtsolution_define_mp_allocate_rank01_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:414: undefined reference to `crtm_forward_module_mp_crtm_forward_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:132: undefined reference to `iw3jdn_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:440: undefined reference to `crtm_lifecycle_mp_crtm_destroy_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:498: undefined reference to `crtm_atmosphere_define_mp_destroy_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:499: undefined reference to `crtm_surface_define_mp_destroy_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD.f:500: undefined reference to `crtm_rtsolution_define_mp_destroy_rank1_'CALRAD_WCLOUD.o: In function `calrad_wcloud':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:161: undefined reference to `crtm_lifecycle_mp_crtm_init_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:216: undefined reference to `crtm_channelinfo_mp_set_channelinfo_f1_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:231: undefined reference to `crtm_atmosphere_define_mp_allocate_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:233: undefined reference to `crtm_surface_define_mp_allocate_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:234: undefined reference to `crtm_rtsolution_define_mp_allocate_rank01_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:543: undefined reference to `crtm_forward_module_mp_crtm_forward_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:141: undefined reference to `iw3jdn_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:569: undefined reference to `crtm_lifecycle_mp_crtm_destroy_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:669: undefined reference to `crtm_atmosphere_define_mp_destroy_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:670: undefined reference to `crtm_surface_define_mp_destroy_scalar_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_ncep_post.fd/sorc/CALRAD_WCLOUD.f:671: undefined reference to `crtm_rtsolution_define_mp_destroy_rank1_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_open':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:312: undefined reference to `baopenr_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:345: undefined reference to `baopenwt_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_splat8':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2701: undefined reference to `dgetrf_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2707: undefined reference to `dgetrs_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2749: undefined reference to `dgetrf_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2755: undefined reference to `dgetrs_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_close':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:397: undefined reference to `baclose_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_readrecw34':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1054: undefined reference to `getgbm_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_readrec4':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1106: undefined reference to `getgbm_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_readrec8':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1157: undefined reference to `getgbm_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_readrecvw34':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1210: undefined reference to `getgbm_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_readrecv4':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1264: undefined reference to `getgbm_'../../cfs_global_atmos.fd/gfsio_module.o:/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1317: more undefined references to `getgbm_' follow../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_writerecw34':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1380: undefined reference to `putgb_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_splat4':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2524: undefined reference to `dgetrf_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2530: undefined reference to `dgetrs_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2572: undefined reference to `dgetrf_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:2578: undefined reference to `dgetrs_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_writerec4':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1443: undefined reference to `putgb_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_writerec8':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1505: undefined reference to `putgb_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_writerecvw34':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1570: undefined reference to `putgb_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_writerecv4':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1636: undefined reference to `putgb_'../../cfs_global_atmos.fd/gfsio_module.o: In function `gfsio_writerecv8':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/gfsio_module.f:1700: undefined reference to `putgb_'../../cfs_global_atmos.fd/bafrio.o: In function `bafrread':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/bafrio.f:124: undefined reference to `baread_'../../cfs_global_atmos.fd/bafrio.o: In function `bafrindex':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/bafrio.f:48: undefined reference to `baread_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/bafrio.f:55: undefined reference to `baread_'../../cfs_global_atmos.fd/bafrio.o: In function `bafrwrite':/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/bafrio.f:182: undefined reference to `bawrite_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/bafrio.f:189: undefined reference to `bawrite_'/home/sharad/projects/CFS/COLA/cfs_v2/sorc/cfs_global_atmos.fd/bafrio.f:197: undefined reference to `bawrite_'make: *** [cfs_ncep_post] Error 1============================MY make file is like this==================================================TARGET = cfs_ncep_postWRFPATH=/home/$user/projects/WRF/wrf_files/WRFV3NETCDFPATH = /usr/localFC = mpiifortCPP = /usr/bin/cpp -PCPPFLAGS =OPTS = -O2 -g -autoLIST =FREE = -freeTRAPS =PROFILE =DEBUG = -gMAP =W3LIBDIR = ../../../lib/stdNCDLIBS = -L$(NETCDFPATH)/lib -lnetcdfNCDFFLAGS = -I$(NETCDFPATH)/includeWRFFFLAGS = -I$(WRFPATH)/external/io_quiltCRTMFFLAGS = -I../../../crtm2W3FLAGS = -I../../../lib/std/incmod/w3_4GFSIOFLAGS = -I../../../lib/std/incmod/gfsioGFSLIST = ../../cfs_global_atmos.fd/gfsio_module.o ../../cfs_global_atmos.fd/byteswap.o \\../../cfs_global_atmos.fd/bafrio.o#WRFLIB = $(WRFPATH)/main/libwrflib.a $(WRFPATH)/external/io_int/libwrfio_int.a $(WRFPATH)/external/io_netcdf/libwrfio_nf.a $(WRFPATH)/frame/pack_utils.o $(WRFPATH)/external/esmf_time_f90/libesmf_time.a $(WRFPATH)/external/RSL_LITE/librsl_lite.aWRFLIB = $(WRFPATH)/frame/pack_utils.o $(WRFPATH)/frame/wrf_debug.o -L$(WRFPATH)/main -L$(WRFPATH)/external/io_int \\-L$(WRFPATH)/external/io_grib1 -L$(WRFPATH)/external/io_netcdf -lwrfio_nf -L$(WRFPATH)/external/esmf_time_f90 -L$(WRFPATH)/external/RSL_LITE \\-L$(WRFPATH)/external/io_grib_share \\-lwrflib -lwrfio_int -lwrfio_nf -lio_grib1 -lio_grib_share -lesmf_timeCRTMLIB = ../../../lib/std/#LDR = mpiifort -openmp -threads -m64 -mcmodel=small -parallel -g -traceback -debug inline-debug-info#LIBS= -L $(CFS_LIB) -L $(ESMFLIB) -L $(MPI_LIB_DIR) -lw3_d -lbacio_4 -lsp_d -lfftpack_8 -lesmf -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thre ad -lmkl_core -lmpi -lmpiif -lmpi_ilp64 -limf -lsvml -lm -lipgo -lstdc++ -lirc -lgcc_s -lgcc -lirc -lpthread -lgcc_s -lgcc -lirc_s -ldl -lrtSEARCH =## Assemble Options#FFLAGS = $(OPTS) $(LIST) $(TRAPS) $(PROFILE) $(DEBUG) $(NCDFFLAGS) $(WRFFLAGS) $(CRTMFFLAGS) $(W3FLAGS) $(GFSIOFLAGS) TARGET = cfs_ncep_post#WRFPATH = /home1/lmarx/nam_nmm_real_fcst.fd#WRFPATH=/home/satyam/projects/WRF/wrf_files/WRFV3WRFPATH=/home/sharad/projects/WRF/wrf_files/WRFV3#NETCDFPATH = /usr/local#NETCDFPATH = /home/satyam/projects/NETCDFNETCDFPATH = /usr/localFC = mpiifortCPP = /usr/bin/cpp -PCPPFLAGS =OPTS = -O2 -g -autoLIST =FREE = -freeTRAPS =PROFILE =DEBUG = -gMAP =W3LIBDIR = ../../../lib/stdNCDLIBS = -L$(NETCDFPATH)/lib -lnetcdfNCDFFLAGS = -I$(NETCDFPATH)/includeWRFFFLAGS = -I$(WRFPATH)/external/io_quiltCRTMFFLAGS = -I../../../crtm2W3FLAGS = -I../../../lib/std/incmod/w3_4GFSIOFLAGS = -I../../../lib/std/incmod/gfsioGFSLIST = ../../cfs_global_atmos.fd/gfsio_module.o ../../cfs_global_atmos.fd/byteswap.o \\../../cfs_global_atmos.fd/bafrio.o
#WRFLIB = $(WRFPATH)/main/libwrflib.a $(WRFPATH)/external/io_int/libwrfio_int.a $(WRFPATH)/external/io_netcdf/libwrfio_nf.a $(WRFPATH)/frame/pack_utils.o $(WRFPATH)/external/esmf_time_f90/libesmf_time.a $(WRFPATH)/external/RSL_LITE/librsl_lite.aWRFLIB = $(WRFPATH)/frame/pack_utils.o $(WRFPATH)/frame/wrf_debug.o -L$(WRFPATH)/main -L$(WRFPATH)/external/io_int \\-L$(WRFPATH)/external/io_grib1 -L$(WRFPATH)/external/io_netcdf -lwrfio_nf -L$(WRFPATH)/external/esmf_time_f90 -L$(WRFPATH)/external/RSL_LITE \\-L$(WRFPATH)/external/io_grib_share \\-lwrflib -lwrfio_int -lwrfio_nf -lio_grib1 -lio_grib_share -lesmf_timeCRTMLIB = ../../../lib/std/
#LDR = mpiifort -openmp -threads -m64 -mcmodel=small -parallel -g -traceback -debug inline-debug-info#LIBS= -L $(CFS_LIB) -L $(ESMFLIB) -L $(MPI_LIB_DIR) -lw3_d -lbacio_4 -lsp_d -lfftpack_8 -lesmf -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thre ad -lmkl_core -lmpi -lmpiif -lmpi_ilp64 -limf -lsvml -lm -lipgo -lstdc++ -lirc -lgcc_s -lgcc -lirc -lpthread -lgcc_s -lgcc -lirc_s -ldl -lrt

SEARCH =## Assemble Options#FFLAGS = $(OPTS) $(LIST) $(TRAPS) $(PROFILE) $(DEBUG) $(NCDFFLAGS) $(WRFFLAGS) $(CRTMFFLAGS) $(W3FLAGS) $(GFSIOFLAGS)FFLAGST = $(OPTS) $(LIST) $(FREE) $(TRAPS) $(PROFILE) $(DEBUG) $(NCDFFLAGS) $(WRFFLAGS) $(CRTMFFLAGS) $(W3FLAGS) $(GFSIOFLAGS)LDFLAGS = $(MAP) $(SMP) $(PROFILE)LIBS = $(SEARCH) $(NCDLIBS) $(WRFLIB) -L$(W3LIBDIR) -lw3_4 -lbacio_4 -lsp_4 -lfftpack_8 -L$(CRTMLIB) -lcrtm2 \\-lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmpi -lmpiif -lmpi_ilp64 -limf -lsvml -lm -lipgo -lstdc++ -lirc -lgcc_s -lgcc -lirc -lpthread -lgcc_s -lgcc -lirc_s -ldl -lrt -liomp5#-lmkl_lapack95 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lguide -lmpi -lnetcdf -lpthread##SEARCH =## Free-form object files#OBJST= module_internal_header_util.o getVariable.o getIVariable.o getVariableB.o getIVariableN.o getVariableRSM.o \\ kinds_mod.o machine.o physcons.o \\ count_recs_wrf_binary_file.o inventory_wrf_binary_file.o \\ next_buf.o retrieve_index.o ZENSUN.o CLDFRAC_ZHAO.o \\ GFSPOST_EXP.o GETGBANDSCATTER.o## Fixed-form object files#OBJS= VRBLS2D_mod.o VRBLS3D_mod.o MASKS_mod.o SOIL_mod.o \\ BNDLYR.o BOUND.o CALCAPE.o CALDWP.o CALDRG.o CALHEL.o CALLCL.o \\ CALMCVG.o CALMXW.o CALPOT.o CALPW.o CALRH.o CALRCH.o \\ CALSTRM.o CALTAU.o CALTHTE.o CALVOR.o CALWXT.o \\ CALWXT_RAMER.o CALWXT_BOURG.o CALWXT_REVISED.o \\ CALWXT_EXPLICIT.o CALWXT_DOMINANT.o \\ CLDRAD.o CLMAX.o COLLECT.o COLLECT_LOC.o \\ DEWPOINT.o \\ FDLVL.o FIXED.o FRZLVL.o FRZLVL2.o \\ GET_BITS.o GRIBIT_EXP.o INITPOST.o LFMFLD.o INITPOST_BIN.o \\ MISCLN.o MIXLEN.o MDL2P_EXP.o MDLFLD.o MPI_FIRST.o MPI_LAST.o \\ NGMFLD.o NGMSLP.o OTLFT.o OTLIFT.o SLP_new.o SLP_NMM.o EXCH.o \\ PARA_RANGE.o POSTDATA.o PROCESS_EXP.o INITPOST_NMM.o EXCH2.o \\ READCNTRL.o SCLFLD.o SERVER.o SETUP_SERVERS.o SURFCE.o \\ SPLINE.o TABLE.o TABLEQ.o TRPAUS.o TTBLEX.o WETBULB.o WRFPOST_EXP.o \\ INITPOST_NMM_BIN.o CALMICT.o CALVIS.o MICROINIT.o GPVS.o MDL2SIGMA.o \\ ETCALC.o CANRES.o CALGUST.o WETFRZLVL.o SNFRAC.o MDL2AGL.o SNFRAC_GFS.o \\ INITPOST_RSM.o AVIATION.o DEALLOCATE.o INITPOST_NMM_BIN_MPIIO.o \\ CALPBL.o MDL2SIGMA2.o INITPOST_GFS_EXP.o CALRH_GFS.o LFMFLD_GFS.o CALRAD.o \\ CALRAD_WCLOUD.o MDL2THANDPV_EXP.o CALPBLREGIME.o POLEAVG.o xbsrch.o## Includes###INCLUDES= parm.tbl parmeta parmout parmsoil cuparmINCLUDES= parm.tbl cuparm### Common Blocks#COMMS= LOOKUP.comm RQSTFLD.comm CTLBLK.comm \\ GRIDSPEC.comm CMASSI.comm RHGRD.commDEPS= $(COMMS) $(INCLUDES).SUFFIXES: .F .f .o.F.f: $(CPP) $(CPPFLAGS) $< > $*.f$(TARGET): $(OBJST) $(OBJS) $(FC) $(LDFLAGS) -o $@ $(OBJST) $(OBJS) $(GFSLIST) $(LIBS).f.o: $(FC) -fixed $(FFLAGS) -c $<clean: /bin/rm -f $(TARGET) *.o *.mod=================================Any suggestion will be very helpfulThanks and regardsSharad

4 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

Hi Sharad,

There appears to be a discrepancy between the output you posted and the Makefile you posted. The linking line in the Makefile is

$(FC) $(LDFLAGS) -o $@ $(OBJST) $(OBJS) $(GFSLIST) $(LIBS)

And in the Makefile, the variable LIBS is set with

LIBS = $(SEARCH) $(NCDLIBS) $(WRFLIB) -L$(W3LIBDIR) -lw3_4 -lbacio_4 -lsp_4 -lfftpack_8 -L$(CRTMLIB) -lcrtm2 \
-lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmpi -lmpiif -lmpi_ilp64 -limf -lsvml -lm -lipgo -lstdc++ -lirc -lgcc_s -lgcc -lirc -lpthread -lgcc_s -lgcc -lirc_s -ldl -lrt -liomp5

However, in your output, where the LIBS variable should be expanded, it is only showing

-lmpiif -openmp -lpthread

Did you just use make on the command line, or did you supply additional arguments? The main problem appears to be that the link line is not being passed correctly from the Makefile, and thus the linker is unable to find all of the necessary functions. Please verify that you are using the posted Makefile and calling make with no additional command line arguments.

Sincerely,
James Tullos
Technical Consulting Engineer
Intel Cluster Tools

i usedmake LIBS="-lmpiif -openmp -lpthread" insted of make

Hi Sharad,

Does itlinkproperly if you only use make? In your LIBS variable, the two libraries listed are already included in the LIBS variable defined in the Makefile.

Additionally, if you are going to use OpenMP*, youwill need toinclude the -openmp optionin your compile line. I would add it to the OPTS variable in your Makefile, as this will cleanly propagate into the FFLAGS variable, and the link line already contains the linkage to the OpenMP* libraries (-liomp5).

Please let me know if this works for you.

Sincerely,
James Tullos
Technical Consulting Engineer
Intel Cluster Tools

发表评论

登录添加评论。还不是成员?立即加入