-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with openmpi stommel example #1281
Comments
Hmm, it may be that the two processes want to write to the same file at the same time. Note that the Stommel example first creates flow-fields in netcdf (see here). Perhaps you could set I don't think |
Adding an argument to example_stommel so that fields do not need to be written in test_MPI. This solves #1281
That change seems to have fixed that one issue with the Sommel example. With the But unfortunately for me, this change does not help with my own code. I get an error that seems to indicate that the |
Hmm, this is very strange. I don't immediately see anything in particular in your code that would trigger such an error. Could you share the full log of the run? There may be a hint there? |
Closing this issue for now; please reopen if there are new developments to report |
I am getting the following error
PermissionError: [Errno 13] Permission denied: b'/scratch/msldrift/stommelU.nc'
where
/scratch/msldrift/
is my scratch space from where I launched the job on a LSFCluster.This issue occur when I use more than one processor for the mpirun command as in
mpirun -np 2 ...
. This error does not occur if I usempirun -np 1 ...
but that is not very useful of course. It looks like the multiple processors do not inherit read/write permissions or something like that?To further debug I am also trying to figure put where in the
example_stommel.py
code thestommel[U,P,...].nc
files are written?The text was updated successfully, but these errors were encountered: