Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- From: Bart Vandewoestyne <MyFirstName.MyLastName@xxxxxxxxxx>
- Date: Tue, 30 Oct 2007 21:06:37 GMT
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 high performance message passing library
The gfortran version we're using is however *NOT* the one from the
Kubuntu distribution, but rather one we installed manually, namely:
bartv@kortrijk:~$ gfortran --version | head -1
GNU Fortran (GCC) 4.3.0 20071002 (experimental) [trunk revision 128946]
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.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
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?
Probably it would be better to use the (older) gfortran version from
the Kubuntu package in our distribution, right?
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.
Regards,
Bart
--
"Share what you know. Learn what you don't."
.
- Follow-Ups:
- 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
- References:
- Prev by Date: Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- Next by Date: Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- 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
|
|