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 | vanwul...@chemie.uni-kl.de |
| |
| HomePage: http://www.chemie.uni-kl.de/wcms/ag-vanwullen.html |
+---------------------------------+----------------------------------+