FS#29267 - [openmpi] gfortran compilation error due to wrong mpi.mod version
Attached to Project:
Arch Linux
Opened by Ralf (ram) - Wednesday, 04 April 2012, 07:23 GMT
Last edited by Stéphane Gaudreault (stephane) - Wednesday, 04 April 2012, 11:29 GMT
Opened by Ralf (ram) - Wednesday, 04 April 2012, 07:23 GMT
Last edited by Stéphane Gaudreault (stephane) - Wednesday, 04 April 2012, 11:29 GMT
|
Details
Description:
When compile fortran application using openmpi, gfortran complains about wrong module version of mpi.mod: USE mpi 1 Fatal Error: Wrong module version '6' (expected '9') for file 'mpi.mod' opened at (1) with gcc-4.3/fcc-gfortran and openmpi-1.5.4 I had no problems Additional info: * package version(s): gcc-4.7.0, openmpi-1.5.5 Steps to reproduce: I can reproduce this with simple test programm: USE mpi program main end program and compile it with: gfortran -I/usr/include -I/usr/lib/openmpi -c test.f90 |
This task depends upon
Closed by Stéphane Gaudreault (stephane)
Wednesday, 04 April 2012, 11:29 GMT
Reason for closing: Fixed
Wednesday, 04 April 2012, 11:29 GMT
Reason for closing: Fixed
Comment by Ralf (ram) - Wednesday,
04 April 2012, 09:45 GMT
I rebuilt the openmpi-1.5.5 package with gcc-4.7 and the
openmpi/trunk/PKGBUILD from the package repository. It created the
mpi.mod file with the correct module version.