[OMPI users] Not getting mpi.mod file from openmpi build and install

2010-04-22 Thread Price, Brian M (N-KCI)
OpenMPI version: 1.3.3 Platform: IBM P5 If I configure with just the --prefix option for where to install, and then run "make all install", I get an "mpi.mod" file in the "lib" directory of the prefix directory I specified. ALL GOOD! When I add compiler options to the configure script (e.g.

Re: [OMPI users] program with MPI enabled subroutine

2010-04-22 Thread Eugene Loh
Arunkumar C R wrote: Hi, A fortran 90 code having MPI enabled subroutine is written. The subroutine part is given below, program abc .. !usual statements open(20, file='sum.20', action='write') open(30, file='sum.40', action='write')

Re: [OMPI users] Treatment of SIGHUP by mpirun

2010-04-22 Thread Jon Hitchcock
"mpirun -version" says "mpirun (Open MPI) 1.3.3" >>> Ralph Castain 22/04/2010 19:14:18 >>> Which OMPI version? On Apr 22, 2010, at 12:04 PM, Jon Hitchcock wrote: > If a user connects to a cluster using SSH, starts an MPI program which > contains an infinite loop, and then

Re: [OMPI users] Treatment of SIGHUP by mpirun

2010-04-22 Thread Ralph Castain
Which OMPI version? On Apr 22, 2010, at 12:04 PM, Jon Hitchcock wrote: > If a user connects to a cluster using SSH, starts an MPI program which > contains an infinite loop, and then breaks the SSH connection, the processes > running the MPI program continue to run on the compute nodes and they

[OMPI users] Treatment of SIGHUP by mpirun

2010-04-22 Thread Jon Hitchcock
If a user connects to a cluster using SSH, starts an MPI program which contains an infinite loop, and then breaks the SSH connection, the processes running the MPI program continue to run on the compute nodes and they have to be killed manually. To investigate this, I found that if the user

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Trent Creekmore
You can run a X-windows server on your local machine and use the GUI for gdb, or use Eclipse Parallel Tools Platform (http://www.eclipse.org/ptp/) that has a debugger and turn on X-Forwarding in your Secure Shell client. -Original Message- From: users-boun...@open-mpi.org

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Jed Brown
On Thu, 22 Apr 2010 13:11:49 +0200, "=?utf-8?b?0J3QtdC80LDRmtCwINCY0LvQuNGb?= (Nemanja Ilic)" wrote: > On the contrary when I debug with "mpirun -np 4 xterm -e gdb > my_mpi_application" the four debugger windows are started with > separate thread each, just as it

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Ralph Castain
I don't think the "debugger" option to mpirun will work with gdb - I believe it is intended to work with parallel debuggers such as Totalview. Looking at the code, I certainly can't see how gdb would work correctly with it. There is an mpirun option "-xterm" which will launch the xterm windows

Re: [OMPI users] kernel 2.6.23 vs 2.6.24 - communication/wait times

2010-04-22 Thread Oliver Geisler
To keep this thread updated: After I posted to the developers list, the community was able to guide to a solution to the problem: http://www.open-mpi.org/community/lists/devel/2010/04/7698.php To sum up: The extended communication times while using shared memory communication of openmpi

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Немања Илић (Nemanja Ilic)
Hello, I am using Open MPI 1.4.1 Best regards, Nemanja Ilic On Thursday 22 April 2010 16:44:13 you wrote: > What version of OMPI are you using? > > On Apr 22, 2010, at 5:11 AM, Немања Илић (Nemanja Ilic) wrote: > > > Hello, > > > > I tried to debug with command: "mpirun -debugger gdb -debug

Re: [OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Ralph Castain
What version of OMPI are you using? On Apr 22, 2010, at 5:11 AM, Немања Илић (Nemanja Ilic) wrote: > Hello, > > I tried to debug with command: "mpirun -debugger gdb -debug -np 4 my_program" > Surely, it starts the debugger, but it doesn't start the debugging nor it > loads any of the

[OMPI users] How to debug Open MPI programs with gdb

2010-04-22 Thread Немања Илић (Nemanja Ilic)
Hello, I tried to debug with command: "mpirun -debugger gdb -debug -np 4 my_program" Surely, it starts the debugger, but it doesn't start the debugging nor it loads any of the my_program threads into the debugger. If I start debugging manually ("file my_program", then "run"), I can start only