Skip to content

Error with ibtracert/Route command and network examples #3

@rhettdsouza13

Description

@rhettdsouza13

When simulating the network using the config file net.2sw2path4hca provided in the list of examples we get an error that results in the network being created but lids not being initialized properly. Therefore, we are unable to route packages through the network. With the following error when running the Route command:

bad lid value. Usage: route from-lid to-lid

Output of $ ./ibsim/ibsim -s net-examples/net.2sw2path4hca:

parsing: net-examples/net.2sw2path4hca
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [1]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [1]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [3]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [5]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [1]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [1]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [3]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 2 : [5]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 1 : [1]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 1 : [1]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 1 : [2]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
ibwarn: [29566] parse_port_connection_data: Parsing 1 : [2]
ibwarn: [29566] parse_port_connection_data: cannot parse remote lid and connection type
net-examples/net.2sw2path4hca: parsed 43 lines
########################
Network simulator ready.
MaxNetNodes    = 2048
MaxNetSwitches = 256
MaxNetPorts    = 13312
MaxLinearCap   = 30720
MaxMcastCap    = 1024

I'm unsure as to whether the configuration example files provided are correct themselves, as the output of ibnetdiscover shows that no lids have been created or initialized.

What are we missing here? Do we need to provide the correct information in the net config files? What is the appropriate format for those files? What's the appropriate technique for routing packages through the simulated network?

Output of ibnetdiscover:

ibwarn: [29597] sim_connect: attached as client 0 at node "Switch1"
#
# Topology file: generated on Mon Mar 25 01:45:09 2019
#
# Initiated from node 0000000000200000 port 0000000000200000

vendid=0x0
devid=0x0
sysimgguid=0x200001
switchguid=0x200001(200001)
Switch	8 "S-0000000000200001"		# "Switch2" base port 0 lid 0 lmc 0
[1]	"H-0000000000100003"[1](100004) 		# "Hca2" lid 0 4xSDR
[2]	"H-0000000000100009"[1](10000a) 		# "Hca4" lid 0 4xSDR
[3]	"S-0000000000200000"[3]		# "Switch1" lid 0 4xSDR
[5]	"S-0000000000200000"[5]		# "Switch1" lid 0 4xSDR

vendid=0x0
devid=0x0
sysimgguid=0x200000
switchguid=0x200000(200000)
Switch	8 "S-0000000000200000"		# "Switch1" base port 0 lid 0 lmc 0
[1]	"H-0000000000100000"[1](100001) 		# "Hca1" lid 0 4xSDR
[2]	"H-0000000000100006"[1](100007) 		# "Hca3" lid 0 4xSDR
[3]	"S-0000000000200001"[3]		# "Switch2" lid 0 4xSDR
[5]	"S-0000000000200001"[5]		# "Switch2" lid 0 4xSDR

vendid=0x0
devid=0x0
sysimgguid=0x100009
caguid=0x100009
Ca	2 "H-0000000000100009"		# "Hca4"
[1](10000a) 	"S-0000000000200001"[2]		# lid 0 lmc 0 "Switch2" lid 0 4xSDR

vendid=0x0
devid=0x0
sysimgguid=0x100003
caguid=0x100003
Ca	2 "H-0000000000100003"		# "Hca2"
[1](100004) 	"S-0000000000200001"[1]		# lid 0 lmc 0 "Switch2" lid 0 4xSDR

vendid=0x0
devid=0x0
sysimgguid=0x100006
caguid=0x100006
Ca	2 "H-0000000000100006"		# "Hca3"
[1](100007) 	"S-0000000000200000"[2]		# lid 0 lmc 0 "Switch1" lid 0 4xSDR

vendid=0x0
devid=0x0
sysimgguid=0x100000
caguid=0x100000
Ca	2 "H-0000000000100000"		# "Hca1"
[1](100001) 	"S-0000000000200000"[1]		# lid 0 lmc 0 "Switch1" lid 0 4xSDR

Thank you so much for your help and support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions