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, just to fill in some more details, I got back from the hdf5 people (as > per your suggestion) and they pointed me to this: > http://www.hdfgroup.org/HDF5/release/known_problems5.html > Specifically, the problem with -O on gcc3 or gcc4. > I fixed the config as per the instructions and rebuilt hdf5 and it tested > with no errors. However, when I rebuilt netcdf4 on top of that it gave me > the same errors as before. > > -Andy. > As you say, your errors seem to be caused by not finding the gfortran libraries. Some suggestions: don't set F77 - just set F90 to your mpif90 compiler and let it do all the fortran. Also, I have to set CPPFLAGS to -DgFortran to get this combination to work on my machine, but that's version dependent on gfortran so may not apply to you. Also, if you are doing 64-bit builds make sure the gfortran lib64 directory is in your LD_LIBRARY_PATH. Thanks, Ed Ticket Details =================== Ticket ID: UOD-815952 Department: Support netCDF Priority: Emergency Status: Closed