|
From: Jack B. <dtu...@ho...> - 2011-03-16 05:19:27
|
Hi, I am running a Open MPI program on linux clsuter with valgrind. My program is C++ (not C), which has to be compiled by mpic++. I got a run-time error:--------------------------------------------- *** glibc detected *** /lustre/netplan49/nsga2b: malloc(): memory corruption (fast): 0x0000000001216260 ***======= Backtrace: =========/lib64/libc.so.6[0x3f76073afc]/lib64/libc.so.6(__libc_malloc+0x6e)[0x3f76074e2e]/usr/lib64/libstdc++.so.6(_Znwm+0x1d)[0x3f7c8bd1dd]/lustre/jxding/netplan49/nsga2b[0x464517]/lustre/jxding/netplan49/nsga2b[0x46453f]/lustre/jxding/netplan49/nsga2b[0x464571]/lustre/jxding/netplan49/nsga2b[0x464b7b]/lustre/jxding/netplan49/nsga2b[0x488f73]/lustre/jxding/netplan49/nsga2b[0x489116]/lustre/jxding/netplan49/nsga2b[0x4893cf]/lustre/jxding/netplan49/nsga2b[0x445d01]/lustre/jxding/netplan49/nsga2b[0x44f2e1]/lib64/libc.so.6(__libc_start_main+0xf4)[0x3f7601d994]/lustre/netplan49/nsga2b(__gxx_personality_v0+0x499)[0x443919] Program received signal SIGABRT, Aborted.0x0000003f76030265 in raise () from /lib64/libc.so.6 --------------------------------------------- I want to use Valgrind. But from valgrind website: I find valgrind onyl supports mpicc and intel C++. Does valgrind support mpic++ on open MPI? thanks Jack |