<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
LINE-HEIGHT: 1.5; FONT-FAMILY: ËÎÌå; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.23536"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Dear all,</DIV>
<DIV> </DIV>
<DIV>I want to debug quantum espresso package with idb.</DIV>
<DIV>First, I configured the mpich2-1.4.1p1 with Intel fortran compiler (Version
11.1)</DIV>
<DIV> </DIV>
<DIV>
<DIV>./configure --prefix=$HOME/program/mpich/mpich2-1.4.1p1 \</DIV>
<DIV>--enable-f77 --enable-fc F77=ifort FC=ifort \</DIV>
<DIV>FFLAGS="-g -traceback -checkall" FCFLAGS="-g -traceback -checkall" \</DIV>
<DIV>--enable-static --enable-g=all \</DIV>
<DIV>--enable-traceback --enable-f90modules</DIV></DIV>
<DIV> </DIV>
<DIV>Then I compiled the quantum espresso package with "-g" argument.</DIV>
<DIV> </DIV>
<DIV>Then</DIV>
<DIV>mpirun -machinefile nodefile -np 4 -dbg=idb -parallel pw.x -npool 1 <
scf.in > scf.out </DIV>
<DIV> </DIV>
<DIV>But there comes the error:</DIV>
<DIV>[mpiexec@quantum] match_arg (./utils/args/args.c:160): unrecognized
argument dbg </DIV>
<DIV> </DIV>
<DIV>So, My question is how to debug parallel quantum espresso package with idb
or gdb?</DIV>
<DIV> </DIV>
<DIV>Best regards!</DIV></BODY></HTML>