-
Notifications
You must be signed in to change notification settings - Fork 934
Open
Description
From http://www.open-mpi.org/community/lists/users/2012/07/19732.php:
There is another problem using -fdefault-integer-8. I am using 1.6..
For the i8:
configure:44650: checking for the value of MPI_STATUS_SIZE
configure:44674: result: 3 Fortran INTEGERs
configure:44866: checking if Fortran compiler works
configure:44895: /usr/bin/gfortran44 -o conftest -m64 -g -fPIC -fdefault-integer-8 -fexceptions conftest.f >&5
configure:44895: $? = 0
MPI_STATUS_SIZE 3
For the i4:
configure:44650: checking for the value of MPI_STATUS_SIZE
configure:44674: result: 6 Fortran INTEGERs
configure:44866: checking if Fortran compiler works
configure:44895: gfortran -o conftest -m64 -g -fPIC -fexceptions conftest.f >&5
MPI_STATUS_SIZE 6
For i8, I found out later in ompi/mpi/c/status_c2f.c:
#!c
for( i = 0; i < (int)(sizeof(MPI_Status) / sizeof(int)); i++ )
&n! bsp; f_status[i] = OMPI_INT_2_FINT(c_ints[i]);
This needs to be investigated.