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
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'