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.
> Dear Russ, > Thank you. It does finish but give me error: > I attached config.log, and test-suite.log (and the pdf where I have > update the installation I followed) As you can see, 31 one tested and > only one passed. I think this previous answer to a similar problem describes what must be done to fix this gfortran problem, because you are getting error messages about "libquadmath.so.0" not found: http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11949.html If you Google for "netcdf libquadmath.so.0: cannot open shared object file", you may find an easier solution. It is not a netcdf problem, but a gfortran problem. --Russ > FAIL: nf_test > PASS: create_fills.sh > FAIL: tst_f77_v2 > FAIL: ftst_vars > FAIL: ftst_vars2 > FAIL: ftst_vars3 > FAIL: ftst_vars4 > FAIL: ftst_vars5 > FAIL: ftst_vars6 > FAIL: ftst_types > FAIL: ftst_types2 > FAIL: ftst_types3 > FAIL: ftst_groups > FAIL: ftst_path > FAIL: ftst_rengrps > FAIL: f90tst_vars > FAIL: tst_types > FAIL: tst_types2 > FAIL: f90tst_vars_vlen > FAIL: tst_f90_nc4 > FAIL: f90tst_grps > FAIL: f90tst_fill > FAIL: f90tst_fill2 > FAIL: f90tst_vars3 > FAIL: f90tst_vars4 > FAIL: f90tst_vars2 > FAIL: f90tst_path > FAIL: f90tst_rengrps > FAIL: ftst_v2 > FAIL: ftest > FAIL: tst_f90 > make[4]: Entering directory > `/data/users/carlos/shares/apps/gfortran/gcc4.7.2/netcdf-fortran-4.4.1/nf_test' > make[4]: Warning: File `.deps/fortlib.Po' has modification time 6.8e+02 > s in the future > make[4]: Nothing to be done for `all'. > make[4]: warning: Clock skew detected. Your build may be incomplete. > make[4]: Leaving directory > `/data/users/carlos/shares/apps/gfortran/gcc4.7.2/netcdf-fortran-4.4.1/nf_test' > ============================================================================ > Testsuite summary for netCDF-Fortran 4.4.1 > ============================================================================ > # TOTAL: 31 > # PASS: 1 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 30 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See nf_test/test-suite.log > Please report to address@hidden > ============================================================================ > > > > On 23/09/2014 19:13, Unidata netCDF Support wrote: > > Carlos, > > > >> I attached here the pdf with the instructions I used to build netcdf and > >> the config.log > >> I don't understand because all seems to be built ok and now this is not > >> giving me the desire libraries. > > I think I see the problem. When you configure the Fortran libraries, > > you don't need to specify all those library paths in LDFLAGS, because > > you apparently built the netCDF C library as a shared library, which > > means all you have to specify is where to find that C library: > > > > > > LDFLAGS=-L/data/users/carlos/shares/apps/gfortran/gcc4.7.2/netcdf-C-libraries/4.3.3/lib > > > > and > > > > > > LD_LIBRARY_PATH=/data/users/carlos/shares/apps/gfortran/gcc4.7.2/netcdf-C-libraries/4.3.3/lib > > > > as well as the definition you already have for > > > > > > CPPFLAGS=-I/data/users/carlos/shares/apps/gfortran/gcc4.7.2/netcdf-C-libraries/4.3.3/include > > > > before your configure command. You could simplify this a bit by defining > > those long paths > > in environment variables used to define the other variables, as in > > > > $ > > NCDIR=/data/users/carlos/shares/apps/gfortran/gcc4.7.2/netcdf-C-libraries/4.3.3 > > $ > > NFDIR=/data/users/carlos/shares/apps/gfortran/gcc4.7.2/netcdf-fortran/4.4.1 > > $ CPPFLAGS=-I${NCDIR}/include LDFLAGS=-L${NCDIR}/lib > > LD_LIBRARY_PATH=${NCDIR}/lib ./configure --prefix=${NFDIR} > > > > --Russ > > > > Russ Rew UCAR Unidata Program > > address@hidden http://www.unidata.ucar.edu > > > > > > > > Ticket Details > > =================== > > Ticket ID: SEL-204074 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: SEL-204074 Department: Support netCDF Priority: Normal Status: Closed