Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- From: kargl@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Steven G. Kargl)
- Date: Tue, 30 Oct 2007 21:13:24 +0000 (UTC)
In article <x1NVi.182146$eZ1.8950807@xxxxxxxxxxxxxxxxxxxxx>,
Bart Vandewoestyne <MyFirstName.MyLastName@xxxxxxxxxx> writes:
On 2007-10-30, Steven G. Kargl <kargl@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Did you compile 0pen MPI with gcc and gfortran 4.1.2 as bundled
with Ubuntu, and now you're trying to use gfortran 4.3.0?
We did not compile OpenMPI ourselves. We are using the Kubuntu
package:
bartv@kortrijk:~$ dpkg --list | grep openmpi
ii openmpi-bin 1.1-2.3 high performance message passing library
ii openmpi-common 1.1-2.3 high performance message passing library
ii openmpi-dev 1.1-2.3 high performance message passing library
ii openmpi-libs0 1.1-2.3
According to http://www.open-mpi.org/software/ompi/v1.2/,
there isn't a 1.1-2.3 version of Open MPI. This must
be some hacked up version.
This suggests that you may be using a module compiled with
gfortran 4.1.2 with gfortran 4.3.0 (or vice-versa). What does
mpif90 --version show?
bartv@kortrijk:~$ mpif90 --version
GNU Fortran (GCC) 4.3.0 20071002 (experimental) [trunk revision 128946]
Copyright (C) 2007 Free Software Foundation, Inc.
what are the top 2 lines of /usr/lib/mpi.mod?
bartv@kortrijk:~$ head -2 /usr/lib/mpi.mod
GFORTRAN module created from mpi.f90 on Fri Jan 26 16:06:27 2007
If you edit this, you'll get what you deserve.
Could it be that this is causing our troubles?
Yes. This could be the problem. Gfortran 4.3.0 20071002 will
write an MD5 value for the module in the first two lines, and
your mpi.mod is missing the MD5 signature.
Probably it would be better to use the (older) gfortran version from
the Kubuntu package in our distribution, right?
No. I'd install a newer version of Open MPI from source. See
the above URL.
If that is the probable solution, I'll ask our sysadmins to downgrade
our gfortran to the version in the Kubuntu package and remove our manually
installed version.
Note, you can install Open MPI is your home directory for testing
purposes.
--
Steve
http://troutmask.apl.washington.edu/~kargl/
.
- Follow-Ups:
- Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- From: Bart Vandewoestyne
- Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- References:
- OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- From: Koen Poppe
- Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- From: Steven G. Kargl
- Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- From: Bart Vandewoestyne
- OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- Prev by Date: Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- Next by Date: Re: Co-Array Fortran
- Previous by thread: Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- Next by thread: Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- Index(es):
Relevant Pages
|