Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] using totalview
From: jody (jody.xha_at_[hidden])
Date: 2010-12-08 12:02:31


Hi
I am currently testing a demo version of totalview.
I am putting this question here, because the totalview
manual is very sparse on information about OpenMPI.

The first question is how to start totalview with mpirun.
I saw that mpirun has some inbuilt totalview capability.

      For debugging:

       -debug, --debug
              Invoke the user-level debugger indicated by the
              orte_base_user_debugger MCA parameter.

       -debugger, --debugger
              Sequence of debuggers to search for when --debug is used (i.e.
              a synonym for orte_base_user_debugger MCA parameter).

       -tv, --tv
              Launch processes under the TotalView debugger. Deprecated back-
              wards compatibility flag. Synonym for --debug.

I tried 'mpirun -np 4 -tv HelloMPI' but that seemed to b debugging mpirun,
and i wasn't able to open the source window for HelloMPI.cpp.

I don't understand how the '--debug' option must be used;
in particular, i don't understand "user-level debugger indicated by
the orte_base_user_debugger MCA parameter."

Another question (which might be solved if i can correctly start up
totalview) concerns
the hostfile and rankfile parameters of mpirun: how can i start an
open mpi application with
totalview so that my application starts the processes on the correct
processors as
defined in hostfile and rankfile?

Thank You

Jody