Here is a shorter one:
$ cat > test.py << EOF from h5py import File from mpi4py import MPI
with File('/tmp/aaaa', 'w', driver='mpio', comm=MPI.COMM_WORLD) as f: print(f) EOF
$ mpirun -n 2 python3 test.py
It's just not as reliable, sometimes it works hehe
All the process will stuck in a poll loop waiting for IO on a couple of sockets. The timeout is zero so all the process will eat the CPUs alive...
Here is a shorter one:
$ cat > test.py << EOF
from h5py import File
from mpi4py import MPI
with File('/tmp/aaaa', 'w', driver='mpio', comm=MPI. COMM_WORLD) as f:
print(f)
EOF
$ mpirun -n 2 python3 test.py
It's just not as reliable, sometimes it works hehe
All the process will stuck in a poll loop waiting for IO on a couple of sockets. The timeout is zero so all the process will eat the CPUs alive...