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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Stéphane Gaudreault (stephane)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Leonid Isaev (lisaev) - Wednesday, 27 April 2011, 19:10 GMT
Your issue is not a bug.

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?
Comment by Stéphane Gaudreault (stephane) - Thursday, 28 April 2011, 16:06 GMT
(i) openmpi rebuilded with gfortran 4.6.0
(ii) No. mpif90 search for mpi.mod in /usr/lib/openmpi.

Not tested with netcdf.
Comment by Leonid Isaev (lisaev) - Thursday, 28 April 2011, 17:58 GMT
> No. mpif90 search for mpi.mod in /usr/lib/openmpi.

Understood, thanks...

Loading...