Re: [OMPI users] problème with MPI_FINALIZE
On Nov 2, 2011, at 10:34 AM, Durga Choudhury wrote: > Any particular reason these calls don't nest? In some other HPC-like > paradigms (e.g. VSIPL) such calls are allowed to nest (i.e. only the > finalize() that matches the first init() will destroy allocated > resources.) I honestly don't remember the Forum's rationale for this; that's just the way it is. Brian Barrett and I have a proposal up for to the Forum for making it permissible to call INIT multiple times, etc. We proposed it and it was generally well-accepted; we got some good feedback, so we need to revise the proposal and present it at the next meeting in January. I guarantee that nothing will happen with our proposal before SC. :-) -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI users] problème with MPI_FINALIZE
yes i call MPI_init after MPI_finalise ,because i use mpi in function and i call it lot of time . thank you for ur help ,now i call mpi_init and finalize out of funtion and it work . thank you Le 2 novembre 2011 13:29, Jeff Squyres (jsquyres)a écrit : > Did you call MPI-INIT after you called MPI-finalize? If so, you're not > allowed to do that. Call. MPI-INIT once and call MPI-finalize once. > > Sent from my phone. No type good. > > On Nov 1, 2011, at 2:45 PM, "amine mrabet" wrote: > > > hey > > > > i'm new in mpi , i try tu use mpi inside of function and i have this > error messag > > > > An error occurred in MPI_Init > > *** after MPI was finalized > > *** MPI_ERRORS_ARE_FATAL (goodbye) > > [dellam:16806] Abort before MPI_INIT completed successfully; not able to > guarantee that all other processes were killed! > > > > maybe i cant use mpi inside of function ? > > > > -- > > amine mrabet > > ___ > > 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 > -- amine mrabet
Re: [OMPI users] problème with MPI_FINALIZE
Any particular reason these calls don't nest? In some other HPC-like paradigms (e.g. VSIPL) such calls are allowed to nest (i.e. only the finalize() that matches the first init() will destroy allocated resources.) Just a curiosity question, doesn't really concern me in any particular way. Best regards Durga 2011/11/2 Jeff Squyres (jsquyres): > Did you call MPI-INIT after you called MPI-finalize? If so, you're not > allowed to do that. Call. MPI-INIT once and call MPI-finalize once. > > Sent from my phone. No type good. > > On Nov 1, 2011, at 2:45 PM, "amine mrabet" wrote: > >> hey >> >> i'm new in mpi , i try tu use mpi inside of function and i have this error >> messag >> >> An error occurred in MPI_Init >> *** after MPI was finalized >> *** MPI_ERRORS_ARE_FATAL (goodbye) >> [dellam:16806] Abort before MPI_INIT completed successfully; not able to >> guarantee that all other processes were killed! >> >> maybe i cant use mpi inside of function ? >> >> -- >> amine mrabet >> ___ >> 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 >
Re: [OMPI users] problème with MPI_FINALIZE
Did you call MPI-INIT after you called MPI-finalize? If so, you're not allowed to do that. Call. MPI-INIT once and call MPI-finalize once. Sent from my phone. No type good. On Nov 1, 2011, at 2:45 PM, "amine mrabet"wrote: > hey > > i'm new in mpi , i try tu use mpi inside of function and i have this error > messag > > An error occurred in MPI_Init > *** after MPI was finalized > *** MPI_ERRORS_ARE_FATAL (goodbye) > [dellam:16806] Abort before MPI_INIT completed successfully; not able to > guarantee that all other processes were killed! > > maybe i cant use mpi inside of function ? > > -- > amine mrabet > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
[OMPI users] problème with MPI_FINALIZE
hey i'm new in mpi , i try tu use mpi inside of function and i have this error messag An error occurred in MPI_Init *** after MPI was finalized *** MPI_ERRORS_ARE_FATAL (goodbye) [dellam:16806] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! maybe i cant use mpi inside of function ? -- amine mrabet