[mpich-discuss] [OMPI users] OpenMPI 1.8.4rc3, 1.6.5 and 1.6.3: segmentation violation in mca_io_romio_dist_MPI_File_close

Rob Latham robl at mcs.anl.gov
Wed Jan 14 16:57:19 CST 2015

On 12/17/2014 07:04 PM, Eric Chamberland wrote:
> Hi!
> Here is a "poor man's fix" that works for me (the idea is not from me,
> thanks to Thomas H.):
> #1- char* lCwd = getcwd(0,0);
> #2- chdir(lPathToFile);
> #3- MPI_File_open(...,lFileNameWithoutTooLongPath,...);
> #4- chdir(lCwd);
> #5- ...
> I think there are some limitations but it works very well for our
> uses... and until a "real" fix is proposed...

Thanks for the bug report and test cases.  I just pushed two fixes for 
master that fix the problem you were seeing:



Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:

More information about the discuss mailing list