ruk15@psu_edu
New Member
Hello,I am trying to build a test case with CESM 1_0_5 generic_machine and things seem to be ok, until I get the following error. I have already installed both NetCDF 'C' and 'Fortran' successfully (at least the message says I have installed successfully). My 'include' and 'lib' directories are in '~/work/local' (and 'libnetcf.a' and 'libnetcdff.a' are in '~/work/local/lib'). I thought I gave the correct path in both 'env_mach_specific' and 'Macros.generic....". I am not sure what's causing this error. Thanks in advance for any helpRavi*****************mpif90 -o /gpfs/home/ruk15/work/OUTPUT//test1/run/ccsm.exe ccsm_comp_mod.o ccsm_driver.o map_atmatm_mct.o map_atmice_mct.o map_atmlnd_mct.o map_atmocn_mct.o map_glcglc_mct.o map_iceice_mct.o map_iceocn_mct.o map_lndlnd_mct.o map_ocnocn_mct.o map_rofocn_mct.o map_rofrof_mct.o map_snoglc_mct.o map_snosno_mct.o mrg_x2a_mct.o mrg_x2g_mct.o mrg_x2i_mct.o mrg_x2l_mct.o mrg_x2o_mct.o mrg_x2s_mct.o seq_avdata_mod.o seq_diag_mct.o seq_domain_mct.o seq_flux_mct.o seq_frac_mct.o seq_hist_mod.o seq_rearr_mod.o seq_rest_mod.o -L/gpfs/home/ruk15/work/OUTPUT//test1/lib -latm -llnd -lice -locn -lglc -L/gpfs/home/ruk15/work/OUTPUT//test1/lib -lcsm_share -lmct -lmpeu -lpio -L/gpfs/home/ruk15/work/local/lib -lnetcdf -L/lib -lmpi -lcurl
/gpfs/home/ruk15/work/OUTPUT//test1/lib/libcsm_share.a(shr_mct_mod.o): In function `shr_mct_smatreadnc':
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:105: undefined reference to `nf_open_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:112: undefined reference to `nf_inq_dimid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:113: undefined reference to `nf_inq_dimlen_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:114: undefined reference to `nf_inq_dimid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:115: undefined reference to `nf_inq_dimlen_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:116: undefined reference to `nf_inq_dimid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:117: undefined reference to `nf_inq_dimlen_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:140: undefined reference to `nf_inq_varid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:141: undefined reference to `nf_get_var_double_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:142: undefined reference to `nf_strerror_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:154: undefined reference to `nf_inq_varid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:155: undefined reference to `nf_get_var_int_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:156: undefined reference to `nf_strerror_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:165: undefined reference to `nf_inq_varid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:166: undefined reference to `nf_get_var_int_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:167: undefined reference to `nf_strerror_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:174: undefined reference to `nf_close_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:107: undefined reference to `nf_strerror_'
/gpfs/home/ruk15/work/OUTPUT//test1/lib/libcsm_share.a(shr_mct_mod.o): In function `shr_mct_smatreaddnc':
/gpfs/home/ruk15/work/OUTPUT//test1/lib/libcsm_share.a(shr_mct_mod.o): In function `shr_mct_smatreadnc':
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:105: undefined reference to `nf_open_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:112: undefined reference to `nf_inq_dimid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:113: undefined reference to `nf_inq_dimlen_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:114: undefined reference to `nf_inq_dimid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:115: undefined reference to `nf_inq_dimlen_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:116: undefined reference to `nf_inq_dimid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:117: undefined reference to `nf_inq_dimlen_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:140: undefined reference to `nf_inq_varid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:141: undefined reference to `nf_get_var_double_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:142: undefined reference to `nf_strerror_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:154: undefined reference to `nf_inq_varid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:155: undefined reference to `nf_get_var_int_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:156: undefined reference to `nf_strerror_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:165: undefined reference to `nf_inq_varid_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:166: undefined reference to `nf_get_var_int_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:167: undefined reference to `nf_strerror_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:174: undefined reference to `nf_close_'
/gpfs/work/r/ruk15/CESM/cesm1_0_5/models/csm_share/shr/shr_mct_mod.F90:107: undefined reference to `nf_strerror_'
/gpfs/home/ruk15/work/OUTPUT//test1/lib/libcsm_share.a(shr_mct_mod.o): In function `shr_mct_smatreaddnc':