[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Segmentation fault in wireless(2 & 3). tcl




Hello,

We have found out an instruction which provokes a segmentation fault (core
dumped) when we open the .nam files wireless2-out.nam and wireless3-out.nam
(results of simulating wireless2.tcl and wireless3.tcl, chapter 10 of Marc
Greis's tutorial). This instruction is
$ns_ initial_node_pos $node_($i) 20
Deleting this line in the code, we don't have this segmentation fault error,
but we cannot see the nodes, because they are visualized in a very small
size.
Could anyone explain us the meaning of the instruction "initial_node_pos "?
It seems to us that it's related with the nodes's size. How can we change
the number to visualize the nodes without provoking a segmentation fault?
Thank you in advance,


Marta Bordes & Albert Prats.
[email protected] <mailto:[email protected]> 
[email protected] <mailto:[email protected]>  

CSELT
Centro Studi e Laboratori Telecomunicazioni
Via G. Reiss Romoli, 274 
10148 TORINO (Italy)