[mpich-discuss] Problem about debug with idb!
ylniu at iccas.ac.cn
ylniu at iccas.ac.cn
Sun Nov 17 22:55:20 CST 2013
Dear all,
I want to debug parallel fortran program with idb.
The configure parameter of MPICH2 or MPICH3 is as follows:
./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=dbg \
--enable-traceback --enable-f90modules
or
./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
mpirun -machinefile $PBS_NODEFILE -np $NPROCS -gdb=idb -parallel myprogram -npool 1
There comes the error message:
=======================================================================================
match_arg (./utils/args/args.c:160): unrecognized argument dbg
HYDU_parse_array (./utils/args/args.c:175): argument matching returned error
parse_args (./ui/mpich/utils.c:1609): error parsing input array
HYD_uii_mpx_get_parameters (./ui/mpich/utils.c:1660): unable to parse user arguments
main (./ui/mpich/mpiexec.c:153): error parsing parameters
=======================================================================================
How can mpirun recognition the argument "dbg"?
Best regards!
ylniu at iccas.ac.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20131118/20556691/attachment.html>
More information about the discuss
mailing list