Dynamically Loaded Library

To debug PGI HPF code, TotalView needs to be able to dynamically load the file libtvhpf.so, which is distributed as part of the PGI HPF product.

TotalView searches for this file in the following order:

  1. TotalView attempts to dynamically load the unadorned file name libtvhpf.so. This succeeds if libtvhpf.so is in one of the directories on your dynamic library path environment variable (on Sun Sparc SunOS5, IBM AIX, and SGI IRIX, this is LD_LIBRARY_PATH if the variable LD_LIBRARYN32_PATH is not set). On SGI IRIX, libtvhpf.so is in one of the directories on your -n32 dynamic loader path (LD_LIBRARYN32_PATH).
     
  2. If step 1 fails, TotalView uses the PGI environment variable to find the Portland Group installation. If the PGI environment variable is not set, TotalView looks for the default installation directory (/usr/pgi).
     
  3. TotalView then searches the directories in the order shown in the following table. 
    System
    Search Path
    IBM RS/6000 and SP AIX 4.x
    $PGI/sp2/lib
    $PGI/rs6000/lib
    Sun Sparc SunOS 5 (Solaris 2.x)
    $PGI/solaris/lib
    SGI MIPS IRIX 6.x
    $PGI/sgi/lib-n32
    $PGI/sgi/lib-64
    $PGI/origin/lib/mips4

 
If TotalView still cannot locate a copy of libtvhpf.so and, if the TotalView verbosity level is not silent, an error message is displayed telling you that the library could not be found, and HPF debugging is disabled. TotalView will then start debugging the generated Fortran code.

If TotalView cannot find your copy of libtvhpf.so, you should either move it to one of the places that will be searched by default, or add its directory to your LD_LIBRARY_PATH.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0