FS#23957 - f90 netcdf and openmpi modules broken by gcc-gfortran update
Attached to Project:
Arch Linux
Opened by Graziano Giuliani (Graziano) - Wednesday, 27 April 2011, 09:17 GMT
Last edited by Ronald van Haren (pressh) - Friday, 06 May 2011, 11:12 GMT
Opened by Graziano Giuliani (Graziano) - Wednesday, 27 April 2011, 09:17 GMT
Last edited by Ronald van Haren (pressh) - Friday, 06 May 2011, 11:12 GMT
|
Details
Description:
Recent update of gfortran broke all fortran 90 compiled packages. Fatal Error: Wrong module version '4' (expected '6') Additional info: * GNU Fortran (GCC) 4.6.0 20110415 (prerelease) * Any F90 module (problems on my system with netcdf and openmpi) Steps to reproduce: Compile with new gfortran any software with a use statement. |
This task depends upon
Closed by Ronald van Haren (pressh)
Friday, 06 May 2011, 11:12 GMT
Reason for closing: Fixed
Additional comments about closing: openmpi and netcdf are built against gcc-fortan>=4.6.0
Friday, 06 May 2011, 11:12 GMT
Reason for closing: Fixed
Additional comments about closing: openmpi and netcdf are built against gcc-fortan>=4.6.0
By modules you mean *.mod file, yes? Then, you have to regenerate all *.mod files again, and do so after each gfort major upgrade.
EDIT: Sounds like the openmpi packaging problem: (i) the package should be recompiled with gfort 4.6 (ii) shouldn't /usr/lib/openmpi/mpi.mod be instead in /usr/include?
(ii) No. mpif90 search for mpi.mod in /usr/lib/openmpi.
Not tested with netcdf.
Understood, thanks...