This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
No problems Nie. Cheers, and have fun with netCDF! Sean > Thank you for your kindly help! > > Nie > > 2011/7/27 Unidata netCDF Support <address@hidden> > > > Excellent news! As for the opendap tests, the changes you made essentially > > check to see if netCDF is capable of reading a local netCDF file without > > actually checking the DAP capabilities of the library. Do you have a need > > for remote access to data through a DAP server (on your local machine or > > internal network)? If not, you could simply pass --disable-dap to the > > configure script that you run before compiling and leave that unneeded > > functionality out of your build of netCDF. > > > > Cheers! > > > > Sean > > > > > Greetings, > > > The problem has solved by adding /opt/intel/lib/intel64 in > > LD_LIBRARY_PATH. > > > But there is till another problem: > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > *** Testing netcdf file functions some more. > > > *** testing simple opendap open/close...Sorry! Unexpected result, > > > tst_files6.c, line: 24 > > > FAIL: tst_files6 > > > > > > *** Testing netcdf-4 v2 API functions. > > > *** testing simple opens and creates...ok. > > > *** Tests successful! > > > PASS: tst_v2 > > > ================================================ > > > 1 of 49 tests failed > > > Please report to address@hidden > > > ================================================ > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > and tst_files6.c is as follows: > > > > > > 1 /* This is part of the netCDF package. > > > 2 Copyright 2010 University Corporation for Atmospheric > > > Research/Unidata > > > 3 See COPYRIGHT file for conditions of use. > > > 4 > > > 5 Test netcdf files a bit. > > > 6 */ > > > 7 > > > 8 #include <nc_tests.h> > > > 9 #include "netcdf.h" > > > 10 > > > 11 #define URL "http://test.opendap.org:8080/dods/dts/test.01" > > > 12 > > > 13 int > > > 14 main(int argc, char **argv) > > > 15 { > > > 16 printf("\n*** Testing netcdf file functions some more.\n"); > > > 17 #ifdef USE_DAP > > > 18 #ifdef ENABLE_DAP_REMOTE_TESTS > > > 19 printf("*** testing simple opendap open/close..."); > > > 20 { > > > 21 int ncid; > > > 22 > > > 23 /* Test with URL. */ > > > 24 if (nc_open(URL, 0, &ncid)) ERR; > > > 25 if (nc_close(ncid)) ERR; > > > 26 } > > > 27 SUMMARIZE_ERR; > > > 28 #endif /*ENABLE_DAP_REMOTE_TESTS*/ > > > 29 #endif /* USE_DAP */ > > > 30 FINAL_RESULTS; > > > 31 } > > > > > > This computer can not get directly access to the internet, so I modified > > > line 11 (define the variable URL to a local nc file). > > > Thus 'make check' passed. > > > Is that ok? > > > > > > > > > > > > 2011/7/26 Unidata netCDF Support <address@hidden> > > > > > > > Greetings Nie! > > > > > > > > Do you have /opt/intel/lib/intel64/ in your LD_LIBRARY_PATH? To check, > > use > > > > the following at the command line: > > > > > > > > echo LD_LIBRARY_PATH > > > > > > > > If the path does not show up, then try adding it to the environmental > > > > variable and run make check again. Let me know how it goes! > > > > > > > > Cheers! > > > > > > > > Sean > > > > > > > > > Hello, > > > > > I am trying to build netcdf-4.1.2 on a linux redhat computer. > > > > > When i type 'make check', it give message as followed: > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-f90tst_vars_vlen: > > > > error > > > > > while loading shared libraries: libifport.so.5: cannot open shared > > object > > > > > file: No such file or directory > > > > > FAIL: f90tst_vars_vlen > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-tst_f90_nc4: > > error > > > > while > > > > > loading shared libraries: libifport.so.5: cannot open shared object > > file: > > > > No > > > > > such file or directory > > > > > FAIL: tst_f90_nc4 > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-f90tst_grps: > > error > > > > while > > > > > loading shared libraries: libifport.so.5: cannot open shared object > > file: > > > > No > > > > > such file or directory > > > > > FAIL: f90tst_grps > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-f90tst_fill: > > error > > > > while > > > > > loading shared libraries: libifport.so.5: cannot open shared object > > file: > > > > No > > > > > such file or directory > > > > > FAIL: f90tst_fill > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-f90tst_fill2: > > error > > > > > while loading shared libraries: libifport.so.5: cannot open shared > > object > > > > > file: No such file or directory > > > > > FAIL: f90tst_fill2 > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-f90tst_vars3: > > error > > > > > while loading shared libraries: libifport.so.5: cannot open shared > > object > > > > > file: No such file or directory > > > > > FAIL: f90tst_vars3 > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-ftst_v2: error > > while > > > > > loading shared libraries: libifport.so.5: cannot open shared object > > file: > > > > No > > > > > such file or directory > > > > > FAIL: ftst_v2 > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-ftest: error > > while > > > > > loading shared libraries: libifport.so.5: cannot open shared object > > file: > > > > No > > > > > such file or directory > > > > > FAIL: ftest > > > > > /users/niegz/software/netcdf-4.1.2/nf_test/.libs/lt-tst_f90: error > > while > > > > > loading shared libraries: libifport.so.5: cannot open shared object > > file: > > > > No > > > > > such file or directory > > > > > FAIL: tst_f90 > > > > > ================================================ > > > > > 24 of 25 tests failed > > > > > Please report to address@hidden > > > > > ================================================ > > > > > make[2]: *** [check-TESTS] Error 1 > > > > > make[2]: Leaving directory > > `/users/niegz/software/netcdf-4.1.2/nf_test' > > > > > make[1]: *** [check-am] Error 2 > > > > > make[1]: Leaving directory > > `/users/niegz/software/netcdf-4.1.2/nf_test' > > > > > make: *** [check-recursive] Error 1 > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > The file /opt/intel/lib/intel64/libifport.so.5 is actually exist, so > > what > > > > > should I do to make it right? > > > > > > > > > > Thank you! > > > > > > > > > > > > > > > ====================================== > > > > > Nie Gaozhen > > > > > National Meteorological Center/CMA > > > > > Email: address@hidden > > > > > address@hidden > > > > > Tel: 86-010-58995842 > > > > > ======================================= > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > > =================== > > > > Ticket ID: LIH-141353 > > > > Department: Support netCDF > > > > Priority: Normal > > > > Status: Open > > > > > > > > > > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: LIH-141353 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > > Ticket Details =================== Ticket ID: LIH-141353 Department: Support netCDF Priority: Normal Status: Open