Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-07-03 Thread Secretan Yves
8 worked at one time, but it's probably little-used/little-tested. It may have grown some bit-rot over time (like this case). On Jun 30, 2012, at 12:34 PM, Secretan Yves wrote: > Well, > > With openmpi compiled with Fortran default integer*8, > MPI_TYPE_2INTEGER seem to have an

[OMPI users] RE : fortran program with integer kind=8 using openmpi

2012-06-30 Thread Secretan Yves
Well, With openmpi compiled with Fortran default integer*8, MPI_TYPE_2INTEGER seem to have an incorrect size. The attached Fortran program shows it, When run on openmpi with integer*8 Size of MPI_INTEGER is 8 Size of MPI_INTEGER4 is 4 Size of MPI_INTE

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-06-29 Thread Secretan Yves
Hi, Recompiling OpenMPI with ./configure FCFLAGS=-fdefault-integer-8 FFLAGS=-fdefault-integer-8 \ --with-wrapper-fflags=-fdefault-integer-8 \ --with-wrapper-fcflags=-fdefault-integer-8 is the easy way to go (at least for me). Changes to the Fortran code are minimal. Be aware that the und

Re: [OMPI users] MPI-IO puzzlement

2012-05-15 Thread Secretan Yves
Hy, The patch contains changes for mpi_file_get_view, mpi_file_get_position and mpi_file_get_size. I think mpi_file_get_position_shared is another candidate, and maybe mpi_address but this last one I am not sure In my first response, I did only list the function I use. Yves Secretan yves.secre

Re: [OMPI users] MPI-IO puzzlement

2012-05-15 Thread Secretan Yves
Hy, If, by any bad luck, you use any of the following FORTRAN function MPI_FILE_GET_POSITION MPI_FILE_GET_SIZE MPI_FILE_GET_VIEW MPI_TYPE_EXTENT they all are stiil overflowing (http://www.open-mpi.org/community/lists/devel/2010/12/8797.php) because they cast the correct result to MPI_Fint w

[OMPI users] MPI_FILE_SET_ERRHANDLER returns an error with MPI_FILE_NULL

2010-05-07 Thread Secretan Yves
Hello, According to my understanding of the documentation, it should be possible to set the default error handler for files with MPI_FILE_SET_ERRHANDLER. However, the following small Fortran77 program fails, MPI_FILE_SET_ERRHANDLER returns an error. = PROG