Samuel, fwiw, the issue is fixed in upcoming Open MPI 3.0
Cheers, Gilles On Wed, Jul 26, 2017 at 3:43 AM, Samuel Poncé <samuel....@gmail.com> wrote: > Dear OpenMPI developpers, > > I would like to report a bug for openmpi/2.0.2 > > This bug might have been corrected in earlier version. Appologies if it is > the case. > I tested that it work with openmpi/1.10. > > If you open and close a file a lot of times with openmpi 2.0.2, the memory > increase linearly with the number of times the file is open. > > Here is a small Fortran file to reproduce the issue: > > ----------------------------------------------- > PROGRAM test > > INCLUDE 'mpif.h' > > INTEGER :: iunepmatwp2, ierr, ii > > CALL MPI_INIT(ierr) > > DO ii=1, 10000 > print*,'ii ',ii > CALL > MPI_FILE_OPEN(MPI_COMM_WORLD,'XXX.FILE',MPI_MODE_RDONLY,MPI_INFO_NULL,iunepmatwp2,ierr) > > CALL MPI_FILE_CLOSE(iunepmatwp2,ierr) > ENDDO > > CALL MPI_FINALIZE(ierr) > > END PROGRAM > > -------------------------------------------------------------- > > where 'XXX.FILE' is big binary file (100 Mo or so). > > mpif90 -O2 -assume byterecl -g -traceback -nomodule -c test.f90 > mpif90 -static-intel -o test.x test.o > > So in the case of compilation with openmpi 2.0.2 the memory increase whereas > with 1.10 the memory stay constant with the number of iteration. > > > Best Regards, > Samuel > > _______________________________________________ > devel mailing list > devel@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel