[Q-e-developers] How to debug quantum espresso (MPI version) with idb?

ylniu at iccas.ac.cn ylniu at iccas.ac.cn
Wed Nov 20 08:14:10 CET 2013


Dear all,

I want to debug quantum espresso package with idb.
First, I configured the mpich2-1.4.1p1 with Intel fortran compiler (Version 11.1)

./configure --prefix=$HOME/program/mpich/mpich2-1.4.1p1 \
--enable-f77 --enable-fc F77=ifort FC=ifort \
FFLAGS="-g -traceback -checkall" FCFLAGS="-g -traceback -checkall" \
--enable-static --enable-g=all \
--enable-traceback --enable-f90modules

Then I compiled the quantum espresso package with "-g" argument.

Then
mpirun -machinefile nodefile -np 4 -dbg=idb -parallel pw.x -npool 1 < scf.in > scf.out 

But there comes the error:
[mpiexec at quantum] match_arg (./utils/args/args.c:160): unrecognized argument dbg 

So, My question is how to debug parallel quantum espresso package with idb or gdb?

Best regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20131120/c2fc721c/attachment.html>


More information about the developers mailing list