Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPi Abort verbosity
From: jody (jody.xha_at_[hidden])
Date: 2010-02-24 07:22:58


Hi Gabriele
you could always pipe your output through grep

my_app | grep "MPI_ABORT was invoked"

jody

On Wed, Feb 24, 2010 at 11:28 AM, Gabriele Fatigati
<g.fatigati_at_[hidden]> wrote:
> Hi Nadia,
>
> thanks for quick reply.
>
> But i suppose that parameter is 0 by default. Suppose i have the follw
> output:
>
> - ------------------------------
> --------------------------------------------
> - --> MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
> with errorcode 4. <--
>
> NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
> You may or may not see output from other processes, depending on
> exactly when Open MPI kills them.
> - --------------------------------------------------------------------------
> Inside my_mpi_err_handler
> Inside my_mpi_err_handler
> I am 0 and we are in 2
> I am 1 and we are in 2
> - --------------------------------------------------------------------------
> mpirun has exited due to process rank 0 with PID 3773 on
> node nb-user exiting without calling "finalize". This may
> have caused other processes in the application to be
> terminated by signals sent by mpirun (as reported here).
> - --------------------------------------------------------------------------
> - --
>
> I would like to see only this:
>
> - --> MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
> with errorcode 4. <--
>
> And nothing else. Is it possible?
>
> I can upgrade my OpenMPI if necessary.
>
> Thanks.
>
>
> 2010/2/24 Nadia Derbey <Nadia.Derbey_at_[hidden]>
>>
>> On Wed, 2010-02-24 at 09:55 +0100, Gabriele Fatigati wrote:
>> >
>> > Dear Openmpi users and developers,
>> >
>> > i have a question about MPI_Abort error message. I have a program
>> > written in C++. Is there a way to decrease a verbosity of this error?
>> > When this function is called, openmpi prints many information like
>> > stack trace, rank of processor who called MPI_Abort ecc.. But i'm
>> > interesting just called rank. Is it possible?
>>
>> Hi,
>>
>> Setting the mca parameter "mpi_abort_print_stack" to 0 makes the stack
>> not printed out.
>> >
>> > Thanks in advance.
>> >
>> > I'm using openmpi 1.2.2
>>
>> ... well, don't know if it's available in that release...
>>
>>
>> Regards,
>> Nadia
>> > --
>> > Ing. Gabriele Fatigati
>> >
>> > Parallel programmer
>> >
>> > CINECA Systems & Tecnologies Department
>> >
>> > Supercomputing Group
>> >
>> > Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
>> >
>> > www.cineca.it                    Tel:   +39 051 6171722
>> >
>> > g.fatigati [AT] cineca.it
>> > _______________________________________________
>> > users mailing list
>> > users_at_[hidden]
>> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>> --
>> Nadia Derbey <Nadia.Derbey_at_[hidden]>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
>
> --
> Ing. Gabriele Fatigati
>
> Parallel programmer
>
> CINECA Systems & Tecnologies Department
>
> Supercomputing Group
>
> Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
>
> www.cineca.it                    Tel:   +39 051 6171722
>
> g.fatigati [AT] cineca.it
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>