FS#44880 - [openmpi] not compiled with correct gfortran version
Attached to Project:
Arch Linux
Opened by Immo Huismann (eigenspace) - Wednesday, 06 May 2015, 19:13 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 07 May 2015, 18:07 GMT
Opened by Immo Huismann (eigenspace) - Wednesday, 06 May 2015, 19:13 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 07 May 2015, 18:07 GMT
|
Details
Description:
The Fortran MPI_F08 library module included in openmpi-1.8.5.1 (testing) was compiled with an outdated compiler. Compiling the following program with 'mpifort' (MPI compiler wrapper for gfortran in Arch) returns the compiler message mpi_program.f90:2:6: use MPI_F08 1 Fatal Error: Cannot read module file ‘mpi_f08.mod’ opened at (1), because it was created by a different version of GNU Fortran compilation terminated The gfortran module versions are typically incremented with every GCC version (see e.g. https://gcc.gnu.org/gcc-5/changes.html , search for '*.mod'). Recompiling the package ('yaourt -Sb extra/openmpi' , yes, I am a cretin :-P) with current testing compilers (gcc-5.1, gfortran-5.1) solves the issue (though that is openmpi-1.8.4.4 atm). Additional info: * package version(s) gcc 5.1 gfortran 5.1 openmpi 1.8.5.1 * effect No Fortran MPI programs compilable with Arch. Steps to reproduce: mpifort mpi_program.f90 -o test |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Thursday, 07 May 2015, 18:07 GMT
Reason for closing: Fixed
Additional comments about closing: openmpi-1.8.5-2
Thursday, 07 May 2015, 18:07 GMT
Reason for closing: Fixed
Additional comments about closing: openmpi-1.8.5-2
I just rebuilt openmpi against gcc-5.1. openmpi-1.8.5-2 now in [testing]. Please let me know if you see any other issues with openmpi.
Thank you :-)