IBM PE
Here's how to use MemoryScape with IBM PE MPI codes:
1. You must prepare your parallel application to use the MemoryScape agent in LIBPATH and Linking” and in Installing tvheap_mr.a on AIX”. Here is an example that usually works:
mpcc_r -g test.o -o test -Lpath_mr -Lpath \
path/aix_malloctype.o
Installing tvheap_mr.a on AIX” contains additional information.
2. Start MemoryScape on poe as usual:
memscape poe -a test args
Because tvheap_mr.a is not in poe’s LIBPATH, enabling MemoryScape upon the poe process will cause problems because poe will not be able to locate the tvheap_mr.a malloc replacement library.
3. If you need to configure MemoryScape, you should do it now.
4. Run the poe process.