Re: python(3)-h5py not mpi-aware

2016-06-30 Thread Nish Aravamudan
On 30.06.2016 [16:17:31 +0200], Lars Bungum wrote: > Dear all, > > running this script: > > import mpi4py > from mpi4py import MPI > import h5py > > rank = MPI.COMM_WORLD.rank # The process ID (integer 0-3 for 4-process run) > > print(rank) > f = h5py.File('parallel_test.hdf5', 'w', driver='mp

python(3)-h5py not mpi-aware

2016-06-30 Thread Lars Bungum
Dear all, running this script: import mpi4py from mpi4py import MPI import h5py rank = MPI.COMM_WORLD.rank # The process ID (integer 0-3 for 4-process run) print(rank) f = h5py.File('parallel_test.hdf5', 'w', driver='mpio', comm=MPI.COMM_WORLD) dset = f.create_dataset('test', (4,), dtype='i'