Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] MPI-IO puzzlement
From: Ricardo Reis (rreis_at_[hidden])
Date: 2012-05-15 04:28:39

  Hi all

  The problem has been found.

  I'm trying to use MPI-IO to write the file with all processes taking part
in the calculation writing their bit. Here lies the rub.

  Each process has to write a piece of DIM = 35709696 elements.

  Using 64 processes the ofsett is my_rank * dim

  and so... the ofset size, for last processes becomes.

  DBG: 60 will WriteMPI_IO. dim 35709696 offset 2142581760
  DBG: 61 will WriteMPI_IO. dim 35709696 offset -2116675840
  DBG: 62 will WriteMPI_IO. dim 35709696 offset -2080966144
  DBG: 63 will WriteMPI_IO. dim 35709696 offset -2045256448

  offset is of the type MPI_OFFSET_KIND which seems insuficient to hold the
correct size for the offset.

  So... am I condemned to write my own MPI data type so I can write the
files? ideas... ?

  best regards,

  Ricardo Reis

  'Non Serviam'

  PhD/MSc Mechanical Engineering | Lic. Aerospace Engineering

  Computational Fluid Dynamics, High Performance Computing, Turbulence

  Cultural Instigator @ Rádio Zero

  contacts: gtalk: kyriusan_at_[hidden] skype: kyriusan

  Institutional Address:

  Ricardo J.N. dos Reis
  IDMEC, Instituto Superior Técnico, Technical University of Lisbon
  Av. Rovisco Pais
  1049-001 Lisboa

                       - email sent with alpine 2.00 -