[4] Error: Unable to open a GM port !

Camilo Ruiz Méndez <[email protected]> Sun, 9 Nov 2003 18:54:56 +0100
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
hello;
  i am having problems with the mpich.
i was debugging a problem and then [4] Error: Unable to open a GM port !

i am running /gm-1.6.3_Linux

The output of my script is  the following, basically i run
mpirun.ch_gm -v -np $PROCESOS hello.mpichgm

-----
  ./scriptHello
Program binary is: /home/camilo/calculo/mpi3d/hello.mpichgm
Machines file is /opt/mpich-1.2.4..8a/share/machines.ch_gm.LINUX
Shared memory for intra-nodes coms is enabled.
GM receive mode used: polling.
6 processes will be spawned:
         Process 0 (/home/camilo/calculo/mpi3d/hello.mpichgm ) on 
neperiano.usal.es
         Process 1 (/home/camilo/calculo/mpi3d/hello.mpichgm ) on 
neperiano.usal.es
         Process 2 (/home/camilo/calculo/mpi3d/hello.mpichgm ) on 
neperiano.usal.es
         Process 3 (/home/camilo/calculo/mpi3d/hello.mpichgm ) on 
neperiano.usal.es
         Process 4 (/home/camilo/calculo/mpi3d/hello.mpichgm ) on 
cat02.usal.es
         Process 5 (/home/camilo/calculo/mpi3d/hello.mpichgm ) on 
cat02.usal.es
Open a socket on neperiano.usal.es...
Got a first socket opened on port 8000.
Got a second socket opened on port 8001.
Shared memory file: /tmp/gmpi_shmem-470713.tmp

rsh neperiano.usal.es cd /home/camilo/calculo/mpi3d ; env  
GMPI_MASTER=neperiano.usal.es GMPI_PORT1=8000 GMPI_PORT2=8001 
GMPI_SHMEM=1 GMPI_MAGIC=470713 GMPI_ID=0 GMPI_NP=6 GMPI_BOARD=-1 
/home/camilo/calculo/mpi3d/hello.mpichgm
rsh -n neperiano.usal.es cd /home/camilo/calculo/mpi3d ; env  
GMPI_MASTER=neperiano.usal.es GMPI_PORT1=8000 GMPI_PORT2=8001 
GMPI_SHMEM=1 GMPI_MAGIC=470713 GMPI_ID=1 GMPI_NP=6 GMPI_BOARD=-1 
/home/camilo/calculo/mpi3d/hello.mpichgm
rsh -n neperiano.usal.es cd /home/camilo/calculo/mpi3d ; env  
GMPI_MASTER=neperiano.usal.es GMPI_PORT1=8000 GMPI_PORT2=8001 
GMPI_SHMEM=1 GMPI_MAGIC=470713 GMPI_ID=2 GMPI_NP=6 GMPI_BOARD=-1 
/home/camilo/calculo/mpi3d/hello.mpichgm
rsh -n neperiano.usal.es cd /home/camilo/calculo/mpi3d ; env  
GMPI_MASTER=neperiano.usal.es GMPI_PORT1=8000 GMPI_PORT2=8001 
GMPI_SHMEM=1 GMPI_MAGIC=470713 GMPI_ID=3 GMPI_NP=6 GMPI_BOARD=-1 
/home/camilo/calculo/mpi3d/hello.mpichgm
rsh -n cat02.usal.es cd /home/camilo/calculo/mpi3d ; env  
GMPI_MASTER=neperiano.usal.es GMPI_PORT1=8000 GMPI_PORT2=8001 
GMPI_SHMEM=1 GMPI_MAGIC=470713 GMPI_ID=4 GMPI_NP=6 GMPI_BOARD=-1 
/home/camilo/calculo/mpi3d/hello.mpichgm
rsh -n cat02.usal.es cd /home/camilo/calculo/mpi3d ; env  
GMPI_MASTER=neperiano.usal.es GMPI_PORT1=8000 GMPI_PORT2=8001 
GMPI_SHMEM=1 GMPI_MAGIC=470713 GMPI_ID=5 GMPI_NP=6 GMPI_BOARD=-1 
/home/camilo/calculo/mpi3d/hello.mpichgm
MPI Id 3 is using GM port 2, board 0, GM_id 1.
MPI Id 2 is using GM port 4, board 0, GM_id 1.
MPI Id 1 is using GM port 5, board 0, GM_id 1.
MPI Id 0 is using GM port 6, board 0, GM_id 1.
MPI Id 5 is using GM port 7, board 0, GM_id 14.
[4] Error: Unable to open a GM port !
Received SIGINT. Cleaning up...

If i run the info board i get the following.

  /opt/gm-1.6.3_Linux/binary/bin/gm_board_info
GM build ID is "1.6.3_Linux 
[email protected]:/opt/gm-1.6.3_Linux Fri Oct 18 12:50:14 CEST 
2002."

Board number 0:
   lanai_clockval    = 0x082082a0
   lanai_cpu_version = 0x0900 (LANai9.0)
   lanai_board_id    = 00:60:dd:7e:f6:e3
   lanai_sram_size   = 0x00200000 (2048K bytes)
   max_lanai_speed   = 134 MHz
   product_code      = 111
   serial_number     = 122102
     (should be labeled: "M3F-PCI64B-2-122102")
LANai time is 0x5881b0cbc0 ticks, or about 2832 minutes since reset.
This is node 1 (neperiano.usal.es)  node_type=0
Board has room for 8 ports,  3000 nodes/routes,  16384 cache entries
           Port token cnt: send=29, recv=248
Port: Status  PID
    0:   BUSY 28964  (this process [gm_board_info])
    1:   BUSY  1030
    3:   BUSY    -1
Route table for this node follows:
The mapper 48-bit ID was: 00:60:dd:7e:f6:e3
gmID MAC Address                                 gmName Route
---- ----------------- -------------------------------- 
---------------------
    1 00:60:dd:7e:f6:e3                neperiano.usal.es 80 (this node) 
(mapper)
    2 00:60:dd:7e:f6:e2                    cat05.usal.es 84
    3 00:60:dd:7e:f6:9d                    cat06.usal.es 85
    4 00:60:dd:7e:f6:99                    cat07.usal.es 86
    5 00:60:dd:7e:f9:8d                    cat08.usal.es 87
    6 00:60:dd:7e:f6:9c                    cat09.usal.es bc bf 84
    7 00:60:dd:7e:f6:96                    cat10.usal.es bd bf 84
    8 00:60:dd:7e:f7:0c                    cat11.usal.es bd bf 85
    9 00:60:dd:7e:f6:9b                    cat12.usal.es be bf 85
   12 00:60:dd:7e:f6:9e                    cat15.usal.es bf bf 87
   13 00:60:dd:7e:f6:97                    cat16.usal.es bc bf 8b
   14 00:60:dd:7e:f7:6f                    cat02.usal.es 81
   15 00:60:dd:7e:f7:70                    cat03.usal.es 82
   16 00:60:dd:7e:f6:f2                    cat04.usal.es 83


Seems that one port is busy, but i don't know to fix it. The same thing 
happened last week, so i a am 90% sure that my sysmanager got the patch 
announced in the FAQ's. Any hep is appeciated,

Best


Camilo Ruiz Méndez
======================
Salamanca Optics Group "El Fotón  Charro"
Universidad de Salamanca.
Pl. de la Merced s/n, Salamanca, 37008 España
Tel: (34)923 294678ext 1312.  Fax: (34)923 294584.344
http://optica.fis.usal.es
Personal web page: http://copilco.blogspot.com/