From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15107 invoked by alias); 25 Jun 2005 16:32:06 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15095 invoked by uid 22791); 25 Jun 2005 16:32:02 -0000 Received: from pluton.ispras.ru (HELO pluton.ispras.ru) (83.149.199.253) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Sat, 25 Jun 2005 16:32:02 +0000 Received: (qmail 65629 invoked from network); 25 Jun 2005 16:27:40 -0000 Received: from unknown (HELO truba.ispras.ru) (83.149.198.41) by pluton.ispras.ru with SMTP; 25 Jun 2005 16:27:40 -0000 Received: from truba.ispras.ru (root@localhost) by truba.ispras.ru (8.13.1/8.13.1) with SMTP id j5PGDqt1015949 for ; Sat, 25 Jun 2005 20:13:52 +0400 Received: from ispserv.ispras.ru (ispserv [83.149.198.72]) by truba.ispras.ru (8.13.1/8.13.1) with ESMTP id j5PGDqEw015943; Sat, 25 Jun 2005 20:13:52 +0400 Received: from ispserv.ispras.ru (localhost [127.0.0.1]) by ispserv.ispras.ru (8.12.8/8.12.8) with ESMTP id j5PGIVDA016358; Sat, 25 Jun 2005 20:18:31 +0400 Received: from localhost (kostik@localhost) by ispserv.ispras.ru (8.12.8/8.12.8/Submit) with ESMTP id j5PGIVnc016354; Sat, 25 Jun 2005 20:18:31 +0400 Date: Sat, 25 Jun 2005 16:32:00 -0000 From: Karganov Konstantin To: Huaer XC cc: gdb@sources.redhat.com Subject: Re: can I use gdb to dubug MPI run In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release SMTP-Filter Version 2.0.0 [0125], KAS/Release X-Spamtest-Info: Pass through X-SW-Source: 2005-06/txt/msg00251.txt.bz2 > Is it possible that I use gdb to debug a MPI run on 4 processers. I > can't find any related documents around. Any suggestions? Many thanks. > > Huaer It depends on which MPI you have. For MPICH it's surely possible - you can have a gdb on each process and switch between processes from your mpirun console. For details see ch_p4 docs in $MPICH_HOME/doc. Best regards, Konstantin.