On 01/14/2015 05:57 PM, Rob Latham wrote:


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:

http://git.mpich.org/mpich.git/commit/ed39c901
http://git.mpich.org/mpich.git/commit/a30a4721a2

==rob


Great!  Thank you for the follow up (and both messages)!

Eric

Reply via email to