Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Tue Nov 21, 2017 11:56 am




Post new topic Reply to topic  [ 9 posts ] 

All times are UTC

Author Message
 Post subject: error in oa make file
PostPosted: Mon Mar 15, 2010 11:48 am 
Offline

Joined: Mon Jun 22, 2009 3:46 pm
Posts: 135
Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Dear frds,

when i compile make file as
make -f Makefile_GNU...........it gives me following error

make -f Makefile.Gnu
gfortran -DNO_EXIT -g -O2 -o /home/sadmin/bin/oa oamain.o acor.o asm.o atg.o bcintrp.o bcucof.o caldate.o day_code.o def_oa.o dhlev.o diagn.o down_shift.o dynht.o exitus.o filter.o geodesic_dist.o get_date.o get_clima.o get_grid.o get_dynht.o get_obs.o gregorian.o hindices.o ierinv.o indepen.o inside.o invmtx.o lintrp.o lenstr.o locate.o lubksb.o ludcmp.o oamean.o oapar.o objan.o outlier.o ptem.o press.o qtrap.o readhydro.o remove.o se_grid.o selectclm.o selectobs.o sort.o svafunc.o svan.o svel.o trapzd.o trend.o trendcoef.o try_range.o xclima.o xhydro.o -lnetcdf
oamain.o: In function `oamain':
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/oamain.F:267: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/oamain.F:273: undefined reference to `nf_put_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/oamain.F:279: undefined reference to `nf_put_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/oamain.F:287: undefined reference to `nf_put_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/oamain.F:294: undefined reference to `nf_sync_'
def_oa.o: In function `def_oa':
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:58: undefined reference to `nf_create_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:70: undefined reference to `nf_def_dim_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:71: undefined reference to `nf_def_dim_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:72: undefined reference to `nf_def_dim_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:73: undefined reference to `nf_def_dim_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:108: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:111: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:114: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:125: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:128: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:136: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:138: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:140: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:142: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:153: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:155: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:156: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:157: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:159: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:160: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:164: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:166: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:168: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:170: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:172: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:174: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:178: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:180: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:181: undefined reference to `ncvdef_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:183: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:184: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:185: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:187: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:188: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:192: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:194: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:195: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:196: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:198: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:199: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:203: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:205: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:206: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:210: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:212: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:214: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:218: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:220: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:221: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:222: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:224: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:225: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:226: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:228: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:229: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:230: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:232: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:233: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:237: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:239: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:240: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:241: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:243: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:244: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:245: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:247: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:248: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:249: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:251: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:252: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:256: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:258: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:259: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:260: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:262: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:263: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:267: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:269: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:270: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:271: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:273: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:274: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:275: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:277: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:279: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:283: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:285: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:286: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:288: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:292: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:294: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:295: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:296: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:297: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:298: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:302: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:304: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:306: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:307: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:311: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:313: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:314: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:316: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:348: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:350: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:351: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:355: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:357: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:358: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:360: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:361: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:363: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:364: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:366: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:384: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:386: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:388: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:390: undefined reference to `nf_put_att_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:407: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:411: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:414: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:419: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:431: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:437: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:450: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:463: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:469: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:472: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:477: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:485: undefined reference to `nf_enddef_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:493: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:494: undefined reference to `nf_put_var1_int_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:501: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:502: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:503: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:504: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:508: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:509: undefined reference to `nf_put_var1_int_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:513: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:514: undefined reference to `nf_put_var1_int_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:515: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:516: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:517: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:518: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:522: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:523: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:524: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:525: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:529: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:530: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:534: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:535: undefined reference to `nf_put_var1_int_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:539: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:540: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:541: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:542: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:543: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:544: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:545: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:546: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:550: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:551: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:552: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:553: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:554: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:555: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:556: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:557: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:561: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:562: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:566: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:567: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:568: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:569: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:570: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:571: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:575: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:576: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:577: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:578: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:582: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:583: undefined reference to `nf_put_var1_int_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:587: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:588: undefined reference to `nf_put_var1_int_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:592: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:593: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:594: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:595: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:600: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:601: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:602: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:603: undefined reference to `nf_put_var1_int_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:611: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:612: undefined reference to `nf_put_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:624: undefined reference to `nf_put_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:629: undefined reference to `nf_put_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:404: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:440: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:442: undefined reference to `nf_put_att_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:444: undefined reference to `nf_put_att_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:321: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:323: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:324: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:325: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:327: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:329: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:331: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:333: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:335: undefined reference to `nf_put_att_text_'
def_oa.o:/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:337: more undefined references to `nf_put_att_text_' follow
def_oa.o: In function `def_oa':
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:371: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:373: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:374: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:375: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:642: undefined reference to `nf_put_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:144: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:146: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:147: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:148: undefined reference to `nf_def_var_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:150: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:151: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:118: undefined reference to `nf_put_att_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:496: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:497: undefined reference to `nf_put_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:498: undefined reference to `nf_inq_varid_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/def_oa.F:499: undefined reference to `nf_put_var1_double_'
exitus.o: In function `exitus':
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/exitus.F:41: undefined reference to `nf_close_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/exitus.F:50: undefined reference to `nf_strerror_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/exitus.F:42: undefined reference to `nf_close_'
get_grid.o: In function `get_grid':
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:49: undefined reference to `nf_open_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:60: undefined reference to `nf_inq_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:67: undefined reference to `nf_inq_dim_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:178: undefined reference to `nf_get_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:185: undefined reference to `nf_get_var1_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:195: undefined reference to `nf_get_var1_text_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:223: undefined reference to `nf_get_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:230: undefined reference to `nf_get_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:240: undefined reference to `nf_get_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:247: undefined reference to `nf_get_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:257: undefined reference to `nf_get_vara_double_'
/home/mahesh/Desktop/ROMS_PKGS/OA/oa/get_grid.F:105: undefined reference to `nf_inq_var_'
collect2: ld returned 1 exit status
make: *** [oa] Error 1

so please tell me how to solve this error


thanking you in advance.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 15, 2010 12:16 pm 
Offline

Joined: Mon Jun 22, 2009 3:46 pm
Posts: 135
Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Dear frds,

the error is gone......but i did not find the exe file 'extr_hdat' which is in the shell script 'xhdat_job'

if anybody knows where i have to look/get this exe file. ?

thank you in advance


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 21, 2017 5:48 am 
Offline

Joined: Wed Dec 07, 2016 3:03 pm
Posts: 4
Location: University of Allahabad
hello sir,

When I run Makfile.Gnu, I get the same error.
[nishtha@localhost oa]$ make -f Makefile.Gnu
gfortran -DNO_EXIT -g -O2 -o /home/kbcaos/netcdf/bin/oa oamain.o acor.o asm.o atg.o bcintrp.o bcucof.o caldate.o day_code.o def_oa.o dhlev.o diagn.o down_shift.o dynht.o exitus.o filter.o geodesic_dist.o get_date.o get_clima.o get_grid.o get_dynht.o get_obs.o gregorian.o hindices.o ierinv.o indepen.o inside.o invmtx.o lintrp.o lenstr.o locate.o lubksb.o ludcmp.o oamean.o oapar.o objan.o outlier.o ptem.o press.o qtrap.o readhydro.o remove.o se_grid.o selectclm.o selectobs.o sort.o svafunc.o svan.o svel.o trapzd.o trend.o trendcoef.o try_range.o xclima.o xhydro.o -lnetcdf
oamain.o: In function `MAIN__':
/home/nishtha/ROMS/matlab/oa/oamain.F:267: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/oamain.F:273: undefined reference to `nf_put_vara_double_'
/home/nishtha/ROMS/matlab/oa/oamain.F:279: undefined reference to `nf_put_vara_double_'
/home/nishtha/ROMS/matlab/oa/oamain.F:287: undefined reference to `nf_put_vara_double_'
/home/nishtha/ROMS/matlab/oa/oamain.F:294: undefined reference to `nf_sync_'
def_oa.o: In function `def_oa_':
/home/nishtha/ROMS/matlab/oa/def_oa.F:58: undefined reference to `nf_create_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:70: undefined reference to `nf_def_dim_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:71: undefined reference to `nf_def_dim_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:72: undefined reference to `nf_def_dim_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:73: undefined reference to `nf_def_dim_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:108: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:111: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:114: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:125: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:128: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:136: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:138: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:140: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:142: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:153: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:155: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:156: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:157: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:159: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:160: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:164: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:166: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:168: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:170: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:172: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:174: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:178: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:180: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:181: undefined reference to `ncvdef_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:183: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:184: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:185: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:187: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:188: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:192: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:194: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:195: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:196: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:198: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:199: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:203: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:205: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:206: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:210: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:212: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:214: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:218: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:220: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:221: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:222: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:224: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:225: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:226: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:228: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:229: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:230: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:232: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:233: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:237: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:239: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:240: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:241: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:243: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:244: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:245: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:247: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:248: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:249: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:251: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:252: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:256: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:258: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:259: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:260: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:262: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:263: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:267: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:269: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:270: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:271: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:273: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:274: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:275: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:277: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:279: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:283: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:285: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:286: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:288: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:292: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:294: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:295: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:296: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:297: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:298: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:302: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:304: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:306: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:307: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:311: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:313: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:314: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:316: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:348: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:350: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:351: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:355: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:357: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:358: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:360: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:361: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:363: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:364: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:366: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:384: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:386: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:388: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:390: undefined reference to `nf_put_att_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:407: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:411: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:414: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:419: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:431: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:437: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:450: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:463: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:469: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:472: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:477: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:404: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:485: undefined reference to `nf_enddef_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:493: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:494: undefined reference to `nf_put_var1_int_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:501: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:502: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:503: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:504: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:508: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:509: undefined reference to `nf_put_var1_int_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:513: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:514: undefined reference to `nf_put_var1_int_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:515: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:516: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:517: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:518: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:522: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:523: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:524: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:525: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:529: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:530: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:534: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:535: undefined reference to `nf_put_var1_int_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:539: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:540: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:541: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:542: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:543: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:544: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:545: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:546: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:550: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:551: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:552: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:553: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:554: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:555: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:556: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:557: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:561: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:562: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:566: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:567: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:568: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:569: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:570: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:571: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:575: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:576: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:577: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:578: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:582: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:583: undefined reference to `nf_put_var1_int_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:587: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:588: undefined reference to `nf_put_var1_int_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:592: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:593: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:594: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:595: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:600: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:601: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:602: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:603: undefined reference to `nf_put_var1_int_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:611: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:612: undefined reference to `nf_put_vara_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:624: undefined reference to `nf_put_vara_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:629: undefined reference to `nf_put_vara_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:440: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:442: undefined reference to `nf_put_att_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:444: undefined reference to `nf_put_att_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:642: undefined reference to `nf_put_vara_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:321: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:323: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:324: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:325: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:327: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:329: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:331: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:333: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:335: undefined reference to `nf_put_att_text_'
def_oa.o:/home/nishtha/ROMS/matlab/oa/def_oa.F:337: more undefined references to `nf_put_att_text_' follow
def_oa.o: In function `def_oa_':
/home/nishtha/ROMS/matlab/oa/def_oa.F:371: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:373: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:374: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:375: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:144: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:146: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:147: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:148: undefined reference to `nf_def_var_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:150: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:151: undefined reference to `nf_put_att_text_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:496: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:497: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:498: undefined reference to `nf_inq_varid_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:499: undefined reference to `nf_put_var1_double_'
/home/nishtha/ROMS/matlab/oa/def_oa.F:118: undefined reference to `nf_put_att_text_'
collect2: ld returned 1 exit status
make: *** [oa] Error 1


could you please tell me what should I do to resolve this problem?


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 21, 2017 8:22 am 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3252
Location: IMS/UAF, USA
Where the Makefile has "-lnetcdf", try adding "-lnetcdff".


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 22, 2017 7:17 am 
Offline

Joined: Wed Dec 07, 2016 3:03 pm
Posts: 4
Location: University of Allahabad
Thank you for your reply. I changed -lnetcdf to -lnetcdff in Makefile.Gnu...now I get the following error

[nishtha@localhost oa]$ make -f Makefile.Gnu
gfortran -DNO_EXIT -g -O2 -o /home/kbcaos/netcdf/bin/oa oamain.o acor.o asm.o atg.o bcintrp.o bcucof.o caldate.o day_code.o def_oa.o dhlev.o diagn.o down_shift.o dynht.o exitus.o filter.o geodesic_dist.o get_date.o get_clima.o get_grid.o get_dynht.o get_obs.o gregorian.o hindices.o ierinv.o indepen.o inside.o invmtx.o lintrp.o lenstr.o locate.o lubksb.o ludcmp.o oamean.o oapar.o objan.o outlier.o ptem.o press.o qtrap.o readhydro.o remove.o se_grid.o selectclm.o selectobs.o sort.o svafunc.o svan.o svel.o trapzd.o trend.o trendcoef.o try_range.o xclima.o xhydro.o -lnetcdff
/usr/bin/ld: cannot find -lnetcdff
collect2: ld returned 1 exit status
make: *** [oa] Error 1

what should I do?

Thank you in advance


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 22, 2017 8:31 am 
Offline

Joined: Wed Jan 02, 2008 3:15 pm
Posts: 67
Location: University of Copenhagen
Dear,

When you use "gfortran" instead of "ifort" compiler, as Kate commented you should be add 'lnetcdf' and 'lnetcdff' together as follow,
'-lnetcdf -lnetcdff'

Hope it can help you,
Cheers,


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 23, 2017 5:29 am 
Offline

Joined: Wed Dec 07, 2016 3:03 pm
Posts: 4
Location: University of Allahabad
Dear user fdaryabor,

Thanks for the reply. I had also tried this before, but I was getting the same error

[nishtha@localhost oa]$ make -f Makefile.Gnu
gfortran -DNO_EXIT -g -O2 -o /home/kbcaos/netcdf/bin/oa oamain.o acor.o asm.o atg.o bcintrp.o bcucof.o caldate.o day_code.o def_oa.o dhlev.o diagn.o down_shift.o dynht.o exitus.o filter.o geodesic_dist.o get_date.o get_clima.o get_grid.o get_dynht.o get_obs.o gregorian.o hindices.o ierinv.o indepen.o inside.o invmtx.o lintrp.o lenstr.o locate.o lubksb.o ludcmp.o oamean.o oapar.o objan.o outlier.o ptem.o press.o qtrap.o readhydro.o remove.o se_grid.o selectclm.o selectobs.o sort.o svafunc.o svan.o svel.o trapzd.o trend.o trendcoef.o try_range.o xclima.o xhydro.o -lnetcdf -lnetcdff
/usr/bin/ld: cannot find -lnetcdff
collect2: ld returned 1 exit status
make: *** [oa] Error 1


Thank you


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 23, 2017 8:04 am 
Offline

Joined: Wed Jan 02, 2008 3:15 pm
Posts: 67
Location: University of Copenhagen
Dear,

In this case, make sure defined the LD_LIBRARY_PATH environment variables. Use the following command in the home directory that the path of your libraries is defined or not?

[nishtha@localhost oa]$ echo $LD_LIBRARY_PATH

Then you should to have the library path "/usr/local/lib" and "/usr/local/share", otherwise should to define environment variables
in ~/.bashrc and ~/.bash_profile, to do this follow the comment below,

[nishtha@localhost oa]$ vim ~/.bashrc is command to open the files, then add following command lines


export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/lib"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/share"

[nishtha@localhost oa]$ vim ~/.bash_profile

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/lib"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/share"


Hope can help you,
Cheers,


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 23, 2017 9:19 am 
Offline

Joined: Wed Dec 07, 2016 3:03 pm
Posts: 4
Location: University of Allahabad
Thanks a ton!

I have updated ~/.bashrc by adding

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/share"

then I wrote the path of library before '-lnetcdf -lnetcdff' and it really worked!!

Thanks again


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group