[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #UOD-815952]: MPI & NetCDF



> 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