TotalView Online Help : Chapter 11 Other Topics : Installing tvheap_mr.a on AIX
Installing tvheap_mr.a on AIX
 
NOTE >> Installing tvheap_mr.a on AIX requires that the system have the bos.adt.syscalls System Calls Application Toolkit page installed.
You must install the tvheap_mr.a library on each node upon which you will be running the MemoryScape agent. The aix_install_ ­tvheap_mr.sh script contains most of what you need to do. This script is in the following directory:
toolworks/totalview.version/rs6000/lib/
For example, after you become root, enter the following commands:
cd toolworks/memscape.1.0.0-0/rs6000/lib
mkdir /usr/local/tvheap_mr \
./aix_install_tvheap_mr.sh ./tvheap_mr.tar \
/usr/local/tvheap_mr
Use poe to create tvheap_mr.a on multiple nodes.
The pathname for the tvheap_mr.a library must be the same on each node. This means that you cannot install this library on a shared file system. Instead, you must install it on a file system that is private to the node. For example, because /usr/local is usually only accessible from the node upon which it is installed, you might want to install it there.
 
NOTE >> The tvheap_mr.a library depends heavily on the exact version of libc.a that is installed on a node. If libc.a changes, you must recreate tvheap_mr.a by re-executing the aix_install_tvheap_mr.sh script.
If this malloc replacement library changes-it doesn’t change very often-you’ll need to rerun this procedure. Our new features will tell you about this change.
Other related topics are:
Linking Your Application With the Agent
Using env to Insert the Agent
LIBPATH and Linking