Nope, this is not on purpose.  I filed 
https://github.com/open-mpi/ompi/issues/1355 to track the issue.

Thanks!


> On Feb 11, 2016, at 3:15 AM, Lisandro Dalcin <dalc...@gmail.com> wrote:
> 
> After writing some tests, I discovered Open MPI's MPI_Get_address()
> fails if fed with MPI_BOTTOM. Is this on purpose of just an error
> checking oversight?
> 
> 
> $ cat get_address.c
> #include <mpi.h>
> int main(int argc, char *argv[])
> {
>  MPI_Aint addr;
>  MPI_Init(&argc, &argv);
>  MPI_Get_address(MPI_BOTTOM, &addr);
>  MPI_Finalize();
>  return 0;
> }
> $ mpicc get_address.c
> $ ./a.out
> [kw2060:18815] *** An error occurred in MPI_Get_address
> [kw2060:18815] *** reported by process [140737192329217,140655883976704]
> [kw2060:18815] *** on communicator MPI_COMM_WORLD
> [kw2060:18815] *** MPI_ERR_ARG: invalid argument of some other kind
> [kw2060:18815] *** MPI_ERRORS_ARE_FATAL (processes in this
> communicator will now abort,
> [kw2060:18815] ***    and potentially your MPI job)
> 
> 
> -- 
> Lisandro Dalcin
> ============
> Research Scientist
> Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
> Numerical Porous Media Center (NumPor)
> King Abdullah University of Science and Technology (KAUST)
> http://numpor.kaust.edu.sa/
> 
> 4700 King Abdullah University of Science and Technology
> al-Khawarizmi Bldg (Bldg 1), Office # 4332
> Thuwal 23955-6900, Kingdom of Saudi Arabia
> http://www.kaust.edu.sa
> 
> Office Phone: +966 12 808-0459
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2016/02/18578.php


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