netcdf-fortan out of sync with gfortran? Fixed operator error... :(

Robert Broome robert.broome at
Tue Feb 18 06:39:42 PST 2014

I had changed the link to gfortran to gfortran-mp-4.7. That didn't update when I updated my ports (naturally).
I now point to gfortran-mp-4.8 and it works.
Sorry to post before debugging.

On Feb 18, 2014, at 8:17 AM, Robert Broome wrote:

> I have recently had trouble with versioning of hdf5 and netcdf4 and gfortran.
> In trying to fix things, I uninstalled and reinstalled several ports. Now I have a mismatch 
> between gfortran (gcc48) and netcdf-fortran:
> when compiling a fortran program that uses netcdf library:
> use netcdf
>        1
> Fatal Error: Wrong module version '10' (expected '9') for file netcdf.mod opened at 1
> Is there a mismatch with netcdf and gfortran?
> I used to have to limit myself the gcc47, but I believe that now conflicts with the latest hdf5 
> release.
> Thanks
> Robert

More information about the macports-users mailing list