make -j 4 run problem

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
mashinde
Posts: 135
Joined: Mon Jun 22, 2009 3:46 pm
Location: Indian Institute of Tropical Meteorology, Pune, INDIA

make -j 4 run problem

#1 Unread post by mashinde »

this error still persist when i run make -j 4
cd Build; /usr/local//mpich/mpich2-1.1/bin/mpif90 -c -frepack-arrays -g -fbounds-check master.f90
/usr/local//mpich/mpich2-1.1/bin/mpif90 -frepack-arrays -g -fbounds-check Build/esmf_roms.o Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o Build/roms_export.o Build/roms_import.o -o oceanG Build/libNLM.a Build/libANA.a Build/libUTIL.a Build/libMODS.a -L/usr/local/netcdf4/lib -lnetcdf -L/usr/local/hdf5/lib -lhdf5_hl -lhdf5 -lz
Build/libUTIL.a(close_io.o): In function `close_io':
/home/mashinde/ROMS/src/Build/close_io.f90:101: undefined reference to `__netcdf_MOD_nf90_strerror'
/home/mashinde/ROMS/src/Build/close_io.f90:103: undefined reference to `__netcdf_MOD_nf90_strerror'
Build/libUTIL.a(def_dim.o): In function `def_dim':
/home/mashinde/ROMS/src/Build/def_dim.f90:59: undefined reference to `__netcdf_MOD_nf90_def_dim'
Build/libUTIL.a(def_info.o): In function `def_info':
/home/mashinde/ROMS/src/Build/def_info.f90:155: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_info.f90:167: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_info.f90:181: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_info.f90:230: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_info.f90:242: undefined reference to `__netcdf_MOD_nf90_put_att_text'
Build/libUTIL.a(def_info.o):/home/mashinde/ROMS/src/Build/def_info.f90:251: more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
Build/libUTIL.a(def_var.o): In function `def_var':
/home/mashinde/ROMS/src/Build/def_var.f90:115: undefined reference to `__netcdf_MOD_nf90_def_var_scalar'
/home/mashinde/ROMS/src/Build/def_var.f90:118: undefined reference to `__netcdf_MOD_nf90_def_var_manydims'
/home/mashinde/ROMS/src/Build/def_var.f90:135: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:152: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:170: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:188: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:206: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
/home/mashinde/ROMS/src/Build/def_var.f90:209: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:212: undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:232: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
/home/mashinde/ROMS/src/Build/def_var.f90:235: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:238: undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:260: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:265: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:291: undefined reference to `__netcdf_MOD_nf90_put_att_fourbyteint'
/home/mashinde/ROMS/src/Build/def_var.f90:294: undefined reference to `__netcdf_MOD_nf90_put_att_fourbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:297: undefined reference to `__netcdf_MOD_nf90_put_att_eightbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:303: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:327: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:344: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:361: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:378: undefined reference to `__netcdf_MOD_nf90_put_att_text'
Build/libUTIL.a(def_var.o):/home/mashinde/ROMS/src/Build/def_var.f90:395: more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
Build/libUTIL.a(def_var.o): In function `def_var':
/home/mashinde/ROMS/src/Build/def_var.f90:430: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
/home/mashinde/ROMS/src/Build/def_var.f90:433: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:436: undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:456: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
/home/mashinde/ROMS/src/Build/def_var.f90:459: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:462: undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:482: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
/home/mashinde/ROMS/src/Build/def_var.f90:485: undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:488: undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
/home/mashinde/ROMS/src/Build/def_var.f90:507: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:524: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:591: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:609: undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/mashinde/ROMS/src/Build/def_var.f90:626: undefined reference to `__netcdf_MOD_nf90_put_att_text'
Build/libUTIL.a(distribute.o): In function `mp_ncwrite':
/home/mashinde/ROMS/src/Build/distribute.f90:2106: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/distribute.f90:2108: undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
/home/mashinde/ROMS/src/Build/distribute.f90:2152: undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
Build/libUTIL.a(distribute.o): In function `mp_ncread':
/home/mashinde/ROMS/src/Build/distribute.f90:1896: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/distribute.f90:1913: undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libUTIL.a(nf_fread2d.o): In function `nf_fread2d':
/home/mashinde/ROMS/src/Build/nf_fread2d.f90:199: undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libUTIL.a(nf_fread3d.o): In function `nf_fread3d':
/home/mashinde/ROMS/src/Build/nf_fread3d.f90:172: undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libUTIL.a(nf_fread4d.o): In function `nf_fread4d':
/home/mashinde/ROMS/src/Build/nf_fread4d.f90:174: undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libUTIL.a(nf_fwrite2d.o): In function `nf_fwrite2d':
/home/mashinde/ROMS/src/Build/nf_fwrite2d.f90:139: undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
Build/libUTIL.a(nf_fwrite3d.o): In function `nf_fwrite3d':
/home/mashinde/ROMS/src/Build/nf_fwrite3d.f90:150: undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_sync':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4497: undefined reference to `__netcdf_MOD_nf90_sync'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_redef':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4435: undefined reference to `__netcdf_MOD_nf90_redef'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_open':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4309: undefined reference to `__netcdf_MOD_nf90_open'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4311: undefined reference to `__netcdf_MOD_nf90_open'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4313: undefined reference to `__netcdf_MOD_nf90_open'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_enddef':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4244: undefined reference to `__netcdf_MOD_nf90_enddef'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_create':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4182: undefined reference to `__netcdf_MOD_nf90_create'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_close':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4104: undefined reference to `__netcdf_MOD_nf90_get_att_text'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4112: undefined reference to `__netcdf_MOD_nf90_close'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_svar_1d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4004: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:4022: undefined reference to `__netcdf_MOD_nf90_put_var_1d_text'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_svar_0d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3886: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3902: undefined reference to `__netcdf_MOD_nf90_put_var_text'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_lvar_2d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3757: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3784: undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_lvar_1d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3626: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3651: undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_lvar_0d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3492: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3516: undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3519: undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_ivar_2d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3371: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3385: undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_ivar_1d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3255: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3269: undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_ivar_0d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3134: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3149: undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3152: undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_4d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3017: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:3031: undefined reference to `__netcdf_MOD_nf90_put_var_4d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_3d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2901: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2915: undefined reference to `__netcdf_MOD_nf90_put_var_3d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_2d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2785: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2799: undefined reference to `__netcdf_MOD_nf90_put_var_2d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_1d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2665: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2679: undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_0d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2544: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2559: undefined reference to `__netcdf_MOD_nf90_put_var_eightbytereal'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2562: undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_svar_1d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2427: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2430: undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2432: undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_svar_0d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2308: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2311: undefined reference to `__netcdf_MOD_nf90_get_var_text'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2313: undefined reference to `__netcdf_MOD_nf90_get_var_text'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_ivar_2d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2193: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2196: undefined reference to `__netcdf_MOD_nf90_get_var_2d_fourbyteint'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2198: undefined reference to `__netcdf_MOD_nf90_get_var_2d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_ivar_1d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2072: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2075: undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:2077: undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_ivar_0d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1952: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1955: undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1958: undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_4d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1827: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1830: undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1832: undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_3d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1693: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1696: undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1698: undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_2d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1561: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1564: undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1566: undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_1d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1426: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1429: undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1431: undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_0d':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1290: undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1293: undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1296: undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fatt':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1144: undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1147: undefined reference to `__netcdf_MOD_nf90_inq_attname'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1151: undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_inq_varid':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:1056: undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_inq_var':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:738: undefined reference to `__netcdf_MOD_nf90_inquire'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:754: undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:758: undefined reference to `__netcdf_MOD_nf90_inq_attname'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:864: undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:875: undefined reference to `__netcdf_MOD_nf90_inq_attname'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:880: undefined reference to `__netcdf_MOD_nf90_inquire_attribute'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:885: undefined reference to `__netcdf_MOD_nf90_get_att_one_fourbyteint'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:900: undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:914: undefined reference to `__netcdf_MOD_nf90_get_att_text'
Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_dim':
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:221: undefined reference to `__netcdf_MOD_nf90_inquire'
/home/mashinde/ROMS/src/Build/mod_netcdf.f90:235: undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
collect2: ld returned 1 exit status
make: *** [oceanG] Error 1
mashinde@ubuntu:~/ROMS/src$


*****libnetcdf.a is already there in my /usr/bin directory..
above said problem solved two days back....but today it again shows..

please help...

mahesh

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: make -j 4 run problem

#2 Unread post by kate »

So make works without the '-j 4' but not with it? Then it's a problem in make, not ROMS. You can always do the final linking without the -j 4.

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

Re: make -j 4 run problem

#3 Unread post by m.hadfield »

kate wrote:So make works without the '-j 4' but not with it? Then it's a problem in make, not ROMS. You can always do the final linking without the -j 4.
When make works in serial mode, but not in parallel (-j) mode, it's usually means the dependencies aren't quite right. (A depends on B, but this isn't expressed in the make file. B gets built before A in serial mode, perhaps as a side-effect of something else, but not in parallel mode.) Whatever, unless you fell like debugging the problem, the best solution is to clear everything out and run make in serial mode.

Post Reply