Oops -- yes, I missed FILE_GET_POSITION_SHARED.  I amended the patch:

https://svn.open-mpi.org/trac/ompi/raw-attachment/ticket/3095/fortran-file-int-cast-fix2.diff

MPI_Address is also a deprecated function exactly because it takes an fint -- 
MPI_Get_address replaced it, and uses an MPI_Aint.


On May 15, 2012, at 2:47 PM, Secretan Yves wrote:

> Hy,
> 
> The patch contains changes for mpi_file_get_view, mpi_file_get_position and 
> mpi_file_get_size.
> I think mpi_file_get_position_shared is another candidate, and maybe 
> mpi_address but this last one I am not sure
> 
> In my first response, I did only list the function I use.
> 
> Yves Secretan
> yves.secre...@ete.inrs.ca
> 
> Avant d'imprimer, pensez à l'environnement 
> 
> 
> 
> -----Message d'origine-----
> De : users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] De la 
> part de Jeff Squyres
> Envoyé : 15 mai 2012 14:29
> À : Open MPI Users
> Objet : Re: [OMPI users] MPI-IO puzzlement
> 
> On May 15, 2012, at 2:19 PM, Ricardo Reis wrote:
> 
>>>> INTEGER(kind=MPI_OFFSET_KIND) :: offset
>>>> 
>>>> MPI_OFFSET_KIND is insuficient to represent my offset...
>>> 
>>> Is it not a 64 bit integer for your compiler?
> 
> I'm still interested in the answer to this question.
> 
>>> There *is* a bug in OMPI at the moment that we're casting the result back 
>>> down to 32 bits.  I can give you a patch for that, if you'd like to try it.
>> 
>> I'll get it from svn and try it out. On another note, me thinks with a 
>> derived_data type I nail two with one stroke. This problem and the 
>> limitation of 2GB per core when writing files...
> 
> You should be able to get just a patch that you can apply to your v1.6 
> tarball here (the trunk patch was different because some filenames have 
> changed between the v1.6 branch and the trunk):
> 
> https://svn.open-mpi.org/trac/ompi/raw-attachment/ticket/3095/fortran-file-int-cast-fix.diff
> 
> -- 
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to: 
> http://www.cisco.com/web/about/doing_business/legal/cri/
> 
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to