[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #XHX-916907]: Error while using " make check"
- Subject: [netCDF #XHX-916907]: Error while using " make check"
- Date: Thu, 02 Apr 2015 11:13:08 -0600
Keerthi,
I think the configure script in the old netCDF-4.1.3 software you are
using is not recognizing "gfortran-4.4" as the gfortran compiler, so is
instead treating it as the f2cFortran compiler, which has a different
convention for calling C from Fortran than gfortran.
I think if you explicitly tell configure that it's the gfortran compiler, either
by renaming it to "gfortran" or by setting the environment variable
CPPFLAGS=-DgFortran
before running the configure script, make all, and make check. Note that
the above "-DgFortran" is correct, it won't work to just use "-Dgfortran".
I think you would not have encountered this problem with the current
version of the netCDF C library (4.3.3.1) and the netCDF Fortran library
(4.4.2), which don't depend on the name of the Fortran compiler to determine
how C functions are called from Fortran, though you would still have to
use FC to identify which Fortran compiler to use.
--Russ
> I am getting the following error during make check
>
> /usr/local/netcdf-4.1.3/nf_
> test/test_read.F:163: undefined reference to `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:139: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:146: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:150: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:152: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:158: undefined reference to
> `nf_delete_'
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:156: undefined reference to
> `nf_close_'
> test_read.o: In function `test_nf_strerror':
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:82: undefined reference to
> `nf_strerror_'
> /usr/local/netcdf-4.1.3/nf_test/test_read.F:89: undefined reference to
> `nf_strerror_'
> test_write.o: In function `test_nf_set_default_format':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1369: undefined reference to
> `nf_set_default_format_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1379: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1382: undefined reference to
> `nf_put_att_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1384: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1376: undefined reference to
> `nf_set_default_format_'
> test_write.o: In function `test_nf_set_fill':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1172: undefined reference to
> `nf_set_fill_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1177: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1180: undefined reference to
> `nf_set_fill_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1183: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1188: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1195: undefined reference to
> `nf_set_fill_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1200: undefined reference to
> `nf_set_fill_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1205: undefined reference to
> `nf_set_fill_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1216: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1219: undefined reference to
> `nf_set_fill_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1227: undefined reference to
> `nf_inq_varid_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1232: undefined reference to
> `nf_put_var1_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1265: undefined reference to
> `nf_get_var1_double_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1260: undefined reference to
> `nf_get_var1_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1279: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1282: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1300: undefined reference to
> `nf_put_att_double_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1295: undefined reference to
> `nf_put_att_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1307: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1311: undefined reference to
> `nf_put_var1_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1328: undefined reference to
> `nf_get_var1_double_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1323: undefined reference to
> `nf_get_var1_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1342: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1345: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_del_att':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1046: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1051: undefined reference to
> `nf_del_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1072: undefined reference to
> `nf_inq_attid_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1084: undefined reference to
> `nf_inq_varnatts_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1063: undefined reference to
> `nf_del_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1066: undefined reference to
> `nf_del_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1069: undefined reference to
> `nf_del_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1095: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1098: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1101: undefined reference to
> `nf_inq_natts_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1108: undefined reference to
> `nf_inq_varnatts_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1076: undefined reference to
> `nf_inq_natts_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1116: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1120: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1129: undefined reference to
> `nf_del_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1135: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1138: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_rename_att':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:896: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:901: undefined reference to
> `nf_rename_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:922: undefined reference to
> `nf_inq_attid_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:912: undefined reference to
> `nf_rename_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:915: undefined reference to
> `nf_rename_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:919: undefined reference to
> `nf_rename_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:931: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:934: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:945: undefined reference to
> `nf_inq_attname_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:950: undefined reference to
> `nf_inq_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:972: undefined reference to
> `nf_get_att_double_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1008: undefined reference to
> `nf_inq_attid_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1002: undefined reference to
> `nf_rename_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1005: undefined reference to
> `nf_rename_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1016: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:1020: undefined reference to
> `nf_delete_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:958: undefined reference to
> `nf_get_att_text_'
> test_write.o: In function `test_nf_copy_att':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:745: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:748: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:780: undefined reference to
> `nf_copy_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:761: undefined reference to
> `nf_copy_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:765: undefined reference to
> `nf_copy_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:768: undefined reference to
> `nf_copy_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:771: undefined reference to
> `nf_copy_att_'
> test_write.o:/usr/local/netcdf-4.1.3/nf_test/test_write.F:774: more
> undefined references to `nf_copy_att_' follow
> test_write.o: In function `test_nf_copy_att':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:786: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:791: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:794: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:802: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:805: undefined reference to
> `nf_put_att_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:814: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:819: undefined reference to
> `nf_rename_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:823: undefined reference to
> `nf_copy_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:828: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:833: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:838: undefined reference to
> `nf_inq_att_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:845: undefined reference to
> `nf_get_att_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:853: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:856: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_rename_var':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:657: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:662: undefined reference to
> `nf_rename_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:680: undefined reference to
> `nf_inq_varid_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:670: undefined reference to
> `nf_rename_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:673: undefined reference to
> `nf_rename_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:677: undefined reference to
> `nf_rename_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:689: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:700: undefined reference to
> `nf_inq_varid_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:694: undefined reference to
> `nf_rename_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:697: undefined reference to
> `nf_rename_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:710: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:714: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_def_var':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:562: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:567: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:572: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:576: undefined reference to
> `nf_inq_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:585: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:588: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:591: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:594: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:597: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:600: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:603: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:606: undefined reference to
> `nf_delete_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:611: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:619: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:628: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:631: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:635: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_rename_dim':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:503: undefined reference to
> `nf_rename_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:508: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:514: undefined reference to
> `nf_rename_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:517: undefined reference to
> `nf_rename_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:520: undefined reference to
> `nf_inq_dimname_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:523: undefined reference to
> `nf_rename_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:527: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:530: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_def_dim':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:412: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:417: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:422: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:425: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:430: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:433: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:438: undefined reference to
> `nf_inq_unlimdim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:443: undefined reference to
> `nf_inq_dimlen_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:446: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:453: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:456: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:460: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:463: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:472: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:480: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:483: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_abort':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:304: undefined reference to
> `nf_abort_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:309: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:317: undefined reference to
> `nf_abort_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:320: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:323: undefined reference to
> `nf_delete_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:331: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:336: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:339: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:345: undefined reference to
> `nf_abort_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:348: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:351: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:354: undefined reference to
> `nf_inq_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:363: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:368: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:376: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:380: undefined reference to
> `nf_abort_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:383: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:387: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_sync':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:236: undefined reference to
> `nf_sync_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:241: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:246: undefined reference to
> `nf_sync_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:254: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:258: undefined reference to
> `nf_sync_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:263: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:266: undefined reference to
> `nf_sync_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:274: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:277: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:281: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_redef':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:114: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:117: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:122: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:125: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:128: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:131: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:136: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:144: undefined reference to
> `nf_inq_varid_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:148: undefined reference to
> `nf_put_var1_double_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:151: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:154: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:158: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:161: undefined reference to
> `nf_redef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:164: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:167: undefined reference to
> `nf_def_var_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:171: undefined reference to
> `nf_put_att_text_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:174: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:178: undefined reference to
> `nf_put_var1_double_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:181: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:187: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:190: undefined reference to
> `nf_inq_dim_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:197: undefined reference to
> `nf_get_var1_double_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:203: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:207: undefined reference to
> `nf_delete_'
> test_write.o: In function `test_nf_create':
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:29: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:33: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:37: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:41: undefined reference to
> `nf_inq_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:61: undefined reference to
> `nf_close_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:69: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/test_write.F:73: undefined reference to
> `nf_delete_'
> util.o: In function `internal_min':
> /usr/local/netcdf-4.1.3/nf_test/util.F:1292: undefined reference to
> `max_double_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1285: undefined reference to
> `max_float_'
> util.o: In function `check_file':
> /usr/local/netcdf-4.1.3/nf_test/util.F:1152: undefined reference to
> `nf_open_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1159: undefined reference to
> `nf_close_'
> util.o: In function `check_atts':
> /usr/local/netcdf-4.1.3/nf_test/util.F:1082: undefined reference to
> `nf_inq_attname_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1090: undefined reference to
> `nf_inq_att_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1119: undefined reference to
> `nf_get_att_double_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1103: undefined reference to
> `nf_get_att_text_'
> util.o: In function `check_vars':
> /usr/local/netcdf-4.1.3/nf_test/util.F:991: undefined reference to
> `nf_inq_var_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1005: undefined reference to
> `nf_inq_dim_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1033: undefined reference to
> `nf_get_var1_double_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1022: undefined reference to
> `nf_get_var1_text_'
> util.o: In function `check_dims':
> /usr/local/netcdf-4.1.3/nf_test/util.F:948: undefined reference to
> `nf_inq_dim_'
> util.o: In function `write_file':
> /usr/local/netcdf-4.1.3/nf_test/util.F:913: undefined reference to
> `nf_create_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:921: undefined reference to
> `nf_enddef_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:927: undefined reference to
> `nf_close_'
> util.o: In function `put_vars':
> /usr/local/netcdf-4.1.3/nf_test/util.F:881: undefined reference to
> `nf_put_vara_text_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:887: undefined reference to
> `nf_put_vara_double_'
> util.o: In function `put_atts':
> /usr/local/netcdf-4.1.3/nf_test/util.F:815: undefined reference to
> `nf_put_att_double_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:815: undefined reference to
> `nf_put_att_double_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:800: undefined reference to
> `nf_put_att_text_'
> util.o: In function `def_vars':
> /usr/local/netcdf-4.1.3/nf_test/util.F:755: undefined reference to
> `nf_def_var_'
> util.o: In function `def_dims':
> /usr/local/netcdf-4.1.3/nf_test/util.F:734: undefined reference to
> `nf_def_dim_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:731: undefined reference to
> `nf_def_dim_'
> util.o: In function `internal_max':
> /usr/local/netcdf-4.1.3/nf_test/util.F:1358: undefined reference to
> `max_double_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1321: undefined reference to
> `max_schar_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1334: undefined reference to
> `max_short_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1344: undefined reference to
> `max_int_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1351: undefined reference to
> `max_float_'
> util.o: In function `internal_min':
> /usr/local/netcdf-4.1.3/nf_test/util.F:1255: undefined reference to
> `min_schar_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1268: undefined reference to
> `min_short_'
> /usr/local/netcdf-4.1.3/nf_test/util.F:1278: undefined reference to
> `min_int_'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nf_set_base_pe_'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nf__open_mp_'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_base_pe_'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nf__enddef_'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nf__create_mp_'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nf__open_'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nf__create_'
> collect2: ld returned 1 exit status
> make[2]: *** [nf_test] Error 1
> make[2]: Leaving directory `/usr/local/netcdf-4.1.3/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/usr/local/netcdf-4.1.3/nf_test'
> make: *** [check-recursive] Error 1
>
>
> Please assist me for the same.
>
>
> --
>
> Keerthi Priya Kasturi
> PhD Research Scholar,
> Civil Engineering Department
> IIT Gandhinagar
>
>
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: XHX-916907
Department: Support netCDF
Priority: Normal
Status: Closed