[Myrinet] Another problem with totatalview debuger

??????? ?????? ??????????? <[email protected]>
Newsgroups gmane.network.myrinet.general
Organization Kvant
Message-ID <[email protected]>
Hello!

At May, 31 2002 Patrick wrote:

> As a quick test to confirm an idea, does it behave the same way when the
> value of GMPI_INITIAL_SYNCHRO is set to 0 in mpid/ch_gm/gmpi.h ?

After we change GMPI_INITIAL_SYNCHRO I found another problem. When I step into MPI_Init, the
program hangs. Here is a log:


[maximh@M257E:~]$ declare -x TOTALVIEW="totalviewcli"
[maximh@M257E:~]$ export PATH=$PATH:/common/toolworks/totalview.5.0.0-1/bin                                               
[maximh@M257E:~]$ /common/mpich/bin/mpirun.ch_gm --gm-np 8 --gm-f /home/maximh/tvtest/gmpilist   -tv  "PATH=$PATH"
/home/maximh/tvtest/tvtest
/common/toolworks/totalview.5.0.0-1/bin/totalviewcli
TVROOT = /common/toolworks/totalview.5.0.0-1
exectarget = /common/toolworks/totalview.5.0.0-1/linux-alpha/bin/tv5climain
Linux Alpha TotalView 5.0.0-1
Copyright 1999-2001 by Etnus, LLC. ALL RIGHTS RESERVED.
Copyright 1999 by Etnus, Inc.
Copyright 1996-1998 by Dolphin Interconnect Solutions, Inc.
Copyright 1989-1996 by BBN Inc.
Mapping 16174 bytes of ELF string data from '/home/maximh/tvtest/tvtest'...done
Digesting 1000 ELF symbols from '/home/maximh/tvtest/tvtest'...done
Skimming 11777 bytes of DWARF '.debug_info' symbols from '/home/maximh/tvtest/tvtest'...done
Indexing 576 bytes of DWARF '.debug_frame' symbols from '/home/maximh/tvtest/tvtest'...done
Digesting 4158 ECOFF external symbols...done
Digesting 307 ECOFF local symbols...done
Loading dynamic symbols for /home/maximh/tvtest/tvtest
Mapping 53450 bytes of ELF string data from '/lib/libc.so.6.1'...done
Digesting 9661 ELF symbols from '/lib/libc.so.6.1'...done
Digesting 2790 ECOFF external symbols...done
Digesting 269212 ECOFF local symbols...done
Library /lib/libc.so.6.1 is loaded at 0x2000011e000
Mapping 7380 bytes of ELF string data from '/usr/lib/libots.so'...done
Digesting 1056 ELF symbols from '/usr/lib/libots.so'...done
Digesting 98 ECOFF external symbols...done
Digesting 1030 ECOFF local symbols...done
Library /usr/lib/libots.so is loaded at 0x20000354000
Mapping 5768 bytes of ELF string data from '/lib/ld-linux.so.2'...done
Digesting 1234 ELF symbols from '/lib/ld-linux.so.2'...done
Thread 1.1 has appeared
Digesting 269 ECOFF external symbols...done
Digesting 18624 ECOFF local symbols...done
Library /lib/ld-linux.so.2 is loaded at 0x20000000000
Process 1 has exited
d1.<> dbreak 8
Loading 2399 bytes of DWARF '.debug_info' information for tvtest.c...1done

d1.<> dcont
Loading 9217 bytes of DWARF '.debug_info' information for /common/mpich-1.2.1..7b/src/env/debugutil.c...done
Created process 1/5138, named "tvtest"
Thread 1.1 has appeared
Thread 1.1 hit breakpoint 1 at line 8 in "main"
d1.<> dlist
   1   #include <mpi.h>
   2   #include <stdio.h>
   3   
   4   int main (int argc, char *argv[])
   5   {
   6   int rc;
   7   
   8@>     rc=MPI_Init(&argc,&argv);
   9       printf("I am running..rc=%d\n",rc);
  10       MPI_Finalize();
  11   }
d1.<> dstep

After this I waited for about ~30 mins but nothing happened. Feels like program just hang.

-- 
Best regards,
 Kirill                           [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.