|
From: yuxuan <520...@16...> - 2011-10-18 15:11:06
|
Hi all, I installed valgrind. And I found "checking for OpenMP... yes", when I was configuring, also I found the file "/lib/valgrind/libmpiwrap-amd64-linux.so", which means the debugging MPI has been setup correctly. However, when I submitted the code. I did not get " valgrind MPI wrappers 31901: Active for pid 31901 valgrind MPI wrappers 31901: Try MPIWRAP_DEBUG=help for possible options ". What I got is : ==10553== Memcheck, a memory error detector ==10553== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==10553== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==10553== Command: ./test ==10553== ==23606== Memcheck, a memory error detector ==23606== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==23606== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==23606== Command: ./test ==23606== ==13355== Memcheck, a memory error detector ==13355== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==13355== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==13355== Command: ./test ==13355== ==28779== Memcheck, a memory error detector ==28779== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==28779== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==28779== Command: ./test ==28779== ==27549== Memcheck, a memory error detector ==27549== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==27549== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==27549== Command: ./test ==27549== ==3262== Memcheck, a memory error detector ==3262== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==3262== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==3262== Command: ./test ==3262== ==29403== Memcheck, a memory error detector ==29403== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==29403== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==29403== Command: ./test ==29403== ==10897== Memcheck, a memory error detector ==10897== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==10897== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==10897== Command: ./test ==10897== ==6700== Memcheck, a memory error detector ==6700== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==6700== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==6700== Command: ./test ==6700== ==14950== Memcheck, a memory error detector ==14950== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==14950== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==14950== Command: ./test ==14950== ==22743== Memcheck, a memory error detector ==22743== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==22743== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==22743== Command: ./test ==22743== ==10553== Invalid read of size 8 ==10553== at 0x5BBFFB8: __intel_sse2_strlen (in /gpfs/apps/x86_64-rhel5/intel/Compiler/11.1/073/lib/intel64/libintlc.so.5) ==10553== by 0x517A962: opal_output_open (output.c:179) ==10553== by 0x517CA89: opal_output_init (output.c:169) ==10553== by 0x515663D: opal_init_util (opal_init.c:192) ==10553== by 0x4C43111: ompi_mpi_init (ompi_mpi_init.c:295) ==10553== by 0x4C65EF6: PMPI_Init (pinit.c:80) ==10553== by 0x40E506: main (relaxa.c:61) Looks like the valgrind is checking the processors one by one, and the line relaxa.c :61 is " MPI_Init(&argc, &argv);". I could not find what's wrong here. I will appreciate for any suggestions. Thanks! Xuan |