Created attachment 464800 [details]
Test program, compile with "gfortran -I /usr/lib64/gfortran/modules test_netcdf.f90"
Description of problem:
Compiling a Fortran 90 program that uses the NetCDF module netcdf.mod fails with a "Wrong module version" error. This is probably because the netcdf package was compiled with gfortran 4.4.3 (if I understand the koji logs  correctly), whereas the current version of gfortran in Fedora 14 is 4.5.1.
This should be fixed by rebuilding the package.
Version-Release number of selected component (if applicable):
How reproducible: Always
Steps to Reproduce:
1. Make the file test_netcdf.f90 (also attached) containing:
end program test_netcdf
2. Run the command:
gfortran -I /usr/lib64/gfortran/modules test_netcdf.f90
Fatal Error: Wrong module version '0' (expected '4') for file 'netcdf.mod' opened at (1)
Sorry for the additional noise, but I just checked in the source of gcc-fortran-4.4.3 and gcc-fortran-4.5.1 as distributed from GNU and the MOD_VERSION has indeed changed from '0' to '4' between these two versions.
I'm thus pretty confident that a simple rebuild is all that's necessary.
Do these rebuild packages fix it for you?
Yes, that fixes it just fine.
My Fortran code compiles and links fine against this new build of netcdf, and passes its own test-cases (which are very reliant on netcdf).
Thanks for the fast response!
netcdf-4.1.1-5.fc14 has been submitted as an update for Fedora 14.
netcdf-4.1.1-5.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update netcdf'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/netcdf-4.1.1-5.fc14
netcdf-4.1.1-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.