veera_atmsc@gmail_com
New Member
Hello,
I am trying to create domains and I am fine up to creating mapping files.But I am facing issues on installing gen_domain for creating domain files.I loaded the required modules (Fortran, NetCDF, ESMF, CC, etc.,.) and created the required machine files as well. (I hope the problem is with linking netcdf with FORTRAN 90 - but I have loaded the module correctly)But after configuring, during gmake, I am getting following errors. pgf95 -o ../gen_domain gen_domain.o -time -Wl,--allow-multiple-definition gen_domain.o: In function `gen_domain':/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:234: undefined reference to `nf_open_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:242: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:243: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:245: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:247: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:250: undefined reference to `nf_get_att_text_'gen_domain.o:/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:252: more undefined references to `nf_get_att_text_' followgen_domain.o: In function `gen_domain':/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:264: undefined reference to `nf_inq_varid_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:265: undefined reference to `nf_get_var_int_' ###############################################################################################I have cut down the errors here.. In the code everything which starts with 'nf_' are undefined############################################################################################### gmake: *** [../gen_domain] Error 2 Kindly help me to solve this issue. Thanks,Veeramanikandan
I am trying to create domains and I am fine up to creating mapping files.But I am facing issues on installing gen_domain for creating domain files.I loaded the required modules (Fortran, NetCDF, ESMF, CC, etc.,.) and created the required machine files as well. (I hope the problem is with linking netcdf with FORTRAN 90 - but I have loaded the module correctly)But after configuring, during gmake, I am getting following errors. pgf95 -o ../gen_domain gen_domain.o -time -Wl,--allow-multiple-definition gen_domain.o: In function `gen_domain':/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:234: undefined reference to `nf_open_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:242: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:243: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:245: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:247: undefined reference to `nf_get_att_text_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:250: undefined reference to `nf_get_att_text_'gen_domain.o:/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:252: more undefined references to `nf_get_att_text_' followgen_domain.o: In function `gen_domain':/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:264: undefined reference to `nf_inq_varid_'/scratch/cas/staff/veeru1.cstaff/cam/cesm1_2_0/mapping/gen_domain_files/src/./gen_domain.F90:265: undefined reference to `nf_get_var_int_' ###############################################################################################I have cut down the errors here.. In the code everything which starts with 'nf_' are undefined############################################################################################### gmake: *** [../gen_domain] Error 2 Kindly help me to solve this issue. Thanks,Veeramanikandan