|
From: Vishal S. <vs...@cs...> - 2003-12-17 17:48:10
|
Hi -- I am trying to use Valgrind on an Infiniband module which I wrote for an MPI. When I execute "mpirun n0 valgrind --leak-check=yes valtest", valgrind hangs after a while. The snapshot of the last part where it hangs is below: ----------------------------------------------------- [snipped] Conditional jump or move depends on uninitialised value(s) ==17455== at 0x40265A19: HOBUL_new (hobul/hobul.c:385) ==17455== by 0x402605F9: EVAPI_get_hca_hndl (vipul/vipul.c:136) ==17455== by 0x807BC63: ib_init (in [snipped] ==17455== by 0x8066C91: initialize_1_1_0 (in [snipped] ) ==17455== ==17455== Thread 2: ==17455== Conditional jump or move depends on uninitialised value(s) ==17455== at 0x40264708: VIPKL_EQ_new (vipkl/vipkl_wrap_user.c:1640) ==17455== by 0x40265247: eq_poll_thread (hobul/hobul.c:195) ==17455== by 0x4028E572: thread_wrapper (vg_libpthread.c:667) ==17455== by 0x4016D667: do__quit (vg_scheduler.c:2146) ==17455== ==17455== Thread 2: ==17455== Conditional jump or move depends on uninitialised value(s) ==17455== at 0x40264710: VIPKL_EQ_new (vipkl/vipkl_wrap_user.c:1641) ==17455== by 0x40265247: eq_poll_thread (hobul/hobul.c:195) ==17455== by 0x4028E572: thread_wrapper (vg_libpthread.c:667) ==17455== by 0x4016D667: do__quit (vg_scheduler.c:2146) ==17455== ==17455== Thread 2: ==17455== Conditional jump or move depends on uninitialised value(s) ==17455== at 0x40265252: eq_poll_thread (hobul/hobul.c:197) ==17455== by 0x4028E572: thread_wrapper (vg_libpthread.c:667) ==17455== by 0x4016D667: do__quit (vg_scheduler.c:2146) [hangs ...] --------------------------------------------------------- I am not sure of the reason, but feel its something to do with the Infiniband API/valgrind (all the hobul/vip stuff above belong to the Infiniband API). I am able use Valgrind successfully with other "non-infiniband" MPI programs though. My test program "valtest" simply does an MPI_Init and MPI_Finalize. Some details about software/hardware I am using: [valgrind version] valgrind 2.0.0 [output of uname -a] Linux xxx.cs.indiana.edu 2.4.21-smp #3 SMP Tue Oct 7 09:49:59 EST 2003 i686 i686 i386 GNU/Linux [Infiniband API] Mellonox VAPI [BUILD ID] thca-x86-1.01-build-001 If you need any further details which I may have missed out, do let me know. Has anyone else used Valgrind successfully over Mellanox Infiniband? Any help as to why it hangs or a workaround would be appreciated. Thanks -- Vishal |
|
From: Jeremy F. <je...@go...> - 2003-12-18 01:01:38
|
On Wed, 2003-12-17 at 09:48, Vishal Sahay wrote: > Hi -- > > I am trying to use Valgrind on an Infiniband module which I wrote for an > MPI. > > When I execute "mpirun n0 valgrind --leak-check=yes valtest", valgrind > hangs after a while. Try running with --trace-syscalls=yes to see what syscall it is blocking in. If you're using Valgrind 2.0, then it's likely some driver ioctl which Valgrind doesn't know how to handle. This should be solved if you try 2.1.0. J |
|
From: Vishal S. <vs...@cs...> - 2003-12-18 18:46:19
|
I tried valgrind 2.1.0. It works fine. Thanks -Vishal Sahay On Wed, 17 Dec 2003, Jeremy Fitzhardinge wrote: # On Wed, 2003-12-17 at 09:48, Vishal Sahay wrote: # > Hi -- # > # > I am trying to use Valgrind on an Infiniband module which I wrote for an # > MPI. # > # > When I execute "mpirun n0 valgrind --leak-check=yes valtest", valgrind # > hangs after a while. # # Try running with --trace-syscalls=yes to see what syscall it is blocking # in. If you're using Valgrind 2.0, then it's likely some driver ioctl # which Valgrind doesn't know how to handle. This should be solved if you # try 2.1.0. # # J # # # # ------------------------------------------------------- # This SF.net email is sponsored by: IBM Linux Tutorials. # Become an expert in LINUX or just sharpen your skills. Sign up for IBM's # Free Linux Tutorials. Learn everything from the bash shell to sys admin. # Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click # _______________________________________________ # Valgrind-users mailing list # Val...@li... # https://lists.sourceforge.net/lists/listinfo/valgrind-users # |