Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] bug in openmpi-1.3/ompi/mpi/f77/profile/pcart_coords_f.c
From: Christoph van Wüllen (vanWullen_at_[hidden])
Date: 2009-02-04 10:17:01


Am 04.02.2009 um 16:06 schrieb George Bosilca:

> Christoph,
>
> You're absolutely right. In addition to your comment about the
> syntactically wrong line of code, even in the case when the fortran
> and C integers have the same length, we modify the value pointer by
> the fortran IN only argument.
> A patch is on the way.
>
>
I came across OpenMPI because it seems to be the only MPI implementation
which supports 64-bit integers in FORTRAN, so I had a huge propensity
stepping into this bug.

It may be wrong in either case, but gcc accepts the code when building
for 32-bit FORTRAN integers, while compilation fails in the other case.

Yours,

+---------------------------------+----------------------------------+
| Prof. Christoph van Wüllen | Tele-Phone (+49) (0)631 205 2749 |
| TU Kaiserslautern, FB Chemie | Tele-Fax (+49) (0)631 205 2750 |
| Erwin-Schrödinger-Str. | |
| D-67663 Kaiserslautern, Germany | vanWullen_at_[hidden] |
| |
| HomePage: http://www.chemie.uni-kl.de/wcms/ag-vanwullen.html |
+---------------------------------+----------------------------------+