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

Paolo Giannozzi paolo.giannozzi at uniud.it
Wed Nov 20 16:50:44 CET 2013


On Wed, 2013-11-20 at 15:14 +0800, ylniu at iccas.ac.cn wrote:

> 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 

it looks like an error from mpiexec: it doesn't know about flag "-dbg"

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

in the same way you debug any other parallel (using mpi) code 

P.
-- 
 Paolo Giannozzi, Dept. Chemistry&Physics&Environment, 
 Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
 Phone +39-0432-558216, fax +39-0432-558222 




More information about the developers mailing list