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.
Hi Christopher, > Thanks again. That's now worked. > > Just one final thing. A couple of my programs require netcdf-4 to be enabled. > I've installed HDF5 libraries and attempted to re-compile nedcdf-c but a > couple of the tests fail. I've attached the test_suite.log and the > configure.log files to have a look at. Otherwise, without Netcdf-4 enabled, > the installation runs smoothly. I suspect the test failures are due to your using an old version of HDF5 (1.8.4-patch1, Feb 2010), because we don't see the errors you are seeing when we link against HDF5-1.8.11. If it's convenient, could you build netCDF-4.3.1-rc2 (or later) again, after installing a more recent version of the HDF5 libraries? --Russ > From: Unidata netCDF Support [address@hidden] > Sent: 23 August 2013 16:36 > To: Christopher Steele (SCI) > Subject: [netCDF #PRR-729955]: netcdf fortran libraries > > Hi Christopher, > > Thank you for reporting the issue; I see now that in the migration from > subversion to github, 'empty' directories were not preserved. I will > fix that as well. You should be able to create an empty m4 directory > and autoreconf should work. m4 is a target directory which the > autotools use to store various scripts, so you aren't missing anything > except the directory. > > Sorry for the inconvenience, > > -Ward > > On 8/23/13 3:38 AM, Christopher Steele (SCI) wrote: > > New Client Reply: netcdf fortran libraries > > > > Hi Ward, > > > > Thanks for that. Yes, I downloaded the libraries from github and have > > attempted to use 'autoreconf -i -f' to generate the configure script. > > However, it appears that the 'm4' directory is not present in the tar > > bundle either and the build falls over. > > > > > > > > $ autoreconf -i -f > > aclocal: couldn't open directory `m4': No such file or directory > > autoreconf: aclocal failed with exit status: 1 > > > > regards > > > > Christopher Steele > > School of Environmental Sciences > > University of East Anglia > > Norwich > > ________________________________________ > > From: Unidata netCDF Support [address@hidden] > > Sent: 20 August 2013 21:40 > > To: Christopher Steele (SCI) > > Subject: [netCDF #PRR-729955]: netcdf fortran libraries > > > > Hi Christopher, > > > > Assuming you have downloaded the libraries from the github repository, > > you will need to run 'autoreconf -i -f' in the root fortran directory to > > generate the configure script. Our apologies for the inconvenience; > > this was fixed yesterday for the C library (in release candidate 2) and > > will be corrected in the Fortran repository in the near future. > > > > -Ward > > > > On 8/20/13 2:08 PM, Christopher Steele (SCI) wrote: > >> New Ticket: netcdf fortran libraries > >> > >> Hi, > >> > >> I'm trying to add the netcdf fortran libraries to my Ubuntu 12.04 LTS > >> (32-bit) machine but I'm also relatively inexperienced in compiling > >> software. I have installed both sets of libraries (C and fortran) > >> in the past on an older machine but I'm hitting problems with this > >> one. In the tar download, as far as I understand it, there should be a > >> configure executable but I can't find it in either of the two sets of > >> netcdf libraries. I've managed to find it in a C tar download of the > >> same version and have successfully installed it, but I can't find it > >> in the Fortran version. Is there something that's different that I've > >> overlooked to generate the configure executable? > >> > >> cheers > >> > >> Christopher Steele, > >> School of Environmental Sciences > >> University of East Anglia > >> Norwich > >> > >> > >> Ticket Details > >> =================== > >> Ticket ID: PRR-729955 > >> Department: Support netCDF > >> Priority: Normal > >> Status: Open > >> Link: > >> https://www.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=22595 > > > > > > Ticket Details > > =================== > > Ticket ID: PRR-729955 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > > > > Ticket Details > > =================== > > Ticket ID: PRR-729955 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > Link: > > https://www.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=22595 > > > > Ticket Details > =================== > Ticket ID: PRR-729955 > Department: Support netCDF > Priority: Normal > Status: Open > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: PRR-729955 Department: Support netCDF Priority: Normal Status: Closed