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
> 

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to