Hello:
Two questions:
1. What does it mean to compile using the --with-purify option? is this an option i invoke when i call mpicc or do i need to activate this option somewhere else?
2. In the context of MPI, can someone please decipher what the following 2 memory leak errors mean? These are outputs from using VALGRIND:
==27721== 64 bytes in 4 blocks are definitely lost in loss record 3 of 4
==27721== at 0x40026488: malloc (vg_replace_malloc.c:153)
==27721== by 0x804A204: connect_to_port (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x8049D67: MPI_Comm_connect (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x8049704: main (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x420158F6: __libc_start_main (in /lib/i686/libc-2.3.2.so)
==27721== by 0x80494E0: (within /home/apak/MATMEXMPI/MEX_debug)
==27721==
==27721==
==27721== 68 bytes in 1 blocks are definitely lost in loss record 4 of 4
==27721== at 0x40026488: malloc (vg_replace_malloc.c:153)
==27721== by 0x412E2B9A: ???
==27721== by 0x420FF1B8: __GI_innetgr (in /lib/i686/libc-2.3.2.so)
==27721== by 0x412139FD: ???
==27721== by 0x412115B0: ???
==27721== by 0x420AF693: getpwuid_r@@GLIBC_2.1.2 (in /lib/i686/libc-2.3.2.so)
==27721== by 0x420AED0E: getpwuid (in /lib/i686/libc-2.3.2.so)
==27721== by 0x80696AC: killname (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x8069831: sockname (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x80645AD: _cio_init (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x806A31E: _cipc_init (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x8064CA1: kinit (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x8064A2D: kenter (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x804E371: lam_linit (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x804AFB9: MPI_Init (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x80495E5: main (in /home/apak/MATMEXMPI/MEX_debug)
==27721== by 0x420158F6: __libc_start_main (in /lib/i686/libc-2.3.2.so)
==27721== by 0x80494E0: (within /home/apak/MATMEXMPI/MEX_debug)
Thanks,
Anne
___________________________________________________
Anne Pak, L1-50
Building 153 2G8
1111 Lockheed Martin Way
Sunnyvale, CA 94089
(408) 742-4369 (W)
(408) 742-4697 (F)
|