Re: [OMPI devel] Apparent bug in MPI_File_seek() using MPI_SEEK_END

2020-12-03 Thread Gabriel, Edgar via devel
yes please, file a bug report and I will check it out in the next few days. Thanks! Edgar From: devel On Behalf Of Dave Taflin via devel Sent: Thursday, December 3, 2020 1:05 PM To: devel@lists.open-mpi.org Cc: Dave Taflin Subject: [OMPI devel] Apparent bug in MPI_File_seek() using

[OMPI devel] Apparent bug in MPI_File_seek() using MPI_SEEK_END

2020-12-03 Thread Dave Taflin via devel
Hi, I've observed what I think is buggy behavior in MPI_File_seek() when trying to seek to the end of the file using MPI_SEEK_END. Here is a code snippet showing a work-around that works, and the original code that does not work: MPI_Offset mpiOffset; #if defined THIS_WORKS