30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Debugging PVM (Parallel Virtual Machine) and DPVM Applications<br />

Debugging PVM (Parallel Virtual<br />

Machine) and DPVM Applications<br />

You can debug applications that use the Parallel Virtual Machine (PVM)<br />

library or the HP Alpha Tru64 UNIX Parallel Virtual Machine (DPVM) library<br />

with <strong>TotalView</strong> on some platforms. <strong>TotalView</strong> supports ORNL PVM Version<br />

3.4.4 on all platforms and DPVM Version 1.9 or later on the HP Alpha platform.<br />

See the <strong>TotalView</strong> Platforms document for the most up-to-date information regarding<br />

your PVM or DPVM software.<br />

For tips on debugging parallel applications, see “Debugging Parallel Applications<br />

Tips” on page 124.<br />

Topics in this section are:<br />

� “Supporting Multiple Sessions” on page 151<br />

� “Setting Up ORNL PVM Debugging” on page 152<br />

� “Starting an ORNL PVM Session” on page 152<br />

� “Starting a DPVM Session” on page 153<br />

� “Automatically Acquiring PVM/DPVM Processes” on page 154<br />

� “Attaching to PVM/DPVM Tasks” on page 155<br />

Supporting Multiple Sessions<br />

When you debug a PVM or DPVM application, <strong>TotalView</strong> becomes a PVM<br />

tasker. This lets it establish a debugging context for your session. You can<br />

do the following:<br />

� You can run <strong>TotalView</strong> PVM or DPVM debugging session for a user and for<br />

an architecture; that is, different users can’t interfere with each other on<br />

the same computer or same computer architecture.<br />

One user can start <strong>TotalView</strong> to debug the same PVM or DPVM application<br />

on different computer architectures. However, a single user can’t have<br />

multiple instances of <strong>TotalView</strong> debugging the same PVM or DPVM session<br />

on a single computer architecture.<br />

For example, if you start a PVM session on Sun 5 and HP Alpha computers.<br />

You must start two <strong>TotalView</strong> sessions: one on the Sun 5 computer to<br />

debug the Sun 5 portion of the PVM session, and one on the HP Alpha<br />

computer to debug the HP Alpha portion of the PVM session. These two<br />

<strong>TotalView</strong> sessions are separate and don’t interfere with one another.<br />

� In one <strong>TotalView</strong> session, you can run either a PVM application or a<br />

DPVM application, but not both. However, if you run <strong>TotalView</strong> on an HP<br />

Alpha, you can have two <strong>TotalView</strong> sessions: one debugging PVM and<br />

one debugging DPVM.<br />

<strong>TotalView</strong> Reference <strong>Guide</strong>: version 8.7 151

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!