[MPICH] gdb readline not working

Kamaraju Kusumanchi kamaraju at gmail.com
Mon Jun 5 16:56:34 CDT 2006


Let's say my executable is file_exec, my fortran 90 code is file_exec.f90. I
am debugging the program by using

mpiexec -gdb -l -n 4 ./file_exec

Inside the gdb prompt, let's say I do

b file_exec.f90:20

Now in normal gdb session, when I use up-arrow I can go back to the previous
command. But in mpich2 the up arrow is not working. What could be the
problem?

I compiled the mpich2 1.0.3 with gcc 4.1.1, gfortran 4.1.1 using the
following commands.

/home/software/unZipped/mpich2-1.0.3/configure --enable-f90
--prefix=/home/software/compiledLibs/mpich2_1.0.3_gcc_4.1.1_gfortran_4.1.1
2>&1
| tee configure.log

make 2>&1 | tee make.log

make install 2>&1 | tee install.log

Is there any way to get the tab completion and arrow keys working in gdb
session of 'mpich2 -gdb'?

thanks
raju

-- 
http://kamaraju.googlepages.com/cornell-bazaar
http://groups.google.com/group/cornell-bazaar/about
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20060605/86d1e3a4/attachment.htm>


More information about the mpich-discuss mailing list