Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] not found during gdb debugging
From: swagat mishra (swagatmishra2007_at_[hidden])
Date: 2011-02-10 12:43:03

hello everyone,
i have a network of systems connected over lan with each computer running
ubuntu. openmpi 1.4.x is installed on 1 machine and the installation is
mounted on other nodes through Networking File System(NFS). the source
program and compiled file(a.out) are present in the mounted directory
i run my programs by the following command:
/opt/project/bin/mpirun -np 4 --prefix /opt/project/ --hostfile hostfile
i have not set LD_LIBRARY_PATH but as i use --prefix mpirun works

however as per the open mpi debugging faq:
when i run
 /opt/project/bin/mpirun -np 4 --prefix /opt/project/ --hostfile hostfile
-x DISPLAY= xterm -e gdb a.out

4 xterm windows are opened with gdb running as expected. however when i give
the command start to gdb in the windows corresponding to remote nodes, i get
the error: not found: no such file/directory

as mentioned other mpi jobs run fine with mpirun

when i execute
/opt/project/bin/mpirun -np 4 --prefix /opt/project/ -x DISPLAY=
xterm -e gdb a.out ,the debugging continues succesfully

please help