[Smac-users] Help with Tracegraph!!

pxshivashankar pxshivashankar at wichita.edu
Tue Apr 25 08:30:08 PDT 2006


Hi,
I am a masters student working on the SMAC Implementation as part of my 
thesis. In this regard I have run into a few problems. I referred the postings 
at the tracegraph group in yahoo, and was able to resolve some issues, but 
others remain as yet. I request you to please satisfy my queries to the best 
possible extent and oblige.

    * When I tried to run the tracegraph on the file simple.tr, I got an error 
message - ERROR: Cannot read the file! Index exceeds matrix dimensions. I 
followed the suggestion provided in the usersgroup, and applied the patch 
successfully and tried to source, as described, on the tracegraph help page. 
But while executing the program, I got the following error message.

couldn't read file "tcl/lib/tcl-lib.tcl": no such file or directory
    while executing
"source.orig tcl/lib/tcl-lib.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig [list $fileName]"
    invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
    (procedure "source" line 8)
    invoked from within
"source tcl/lib/tcl-lib.tcl"
    (file "test_smac.tcl" line 1)


    * I even tried to run the MyTest.tcl program available on the SMAC page, 
but when I tried to execute the command ./trgraph 
/home/praveen/thesis/MyTest.tr, I obtained another error message that read 
ERROR: Cannot read the file! Trouble reading number from file (row1, field9) = 
=>] 0 1 0 0\n. 
What could be the cause for this? Is there something that I am fundamentally 
doing wrong? I am new to the use of tracegraph, ns2, smac and an absolute 
greenhorn in their implementations. Kindly do clarify these issues for me.

    * Inorder to learn more, I downloaded the example files given on the 
tracegraph home page, upon executing, I was not able to see any graphs, even 
though the fields showed values, no graph was visible! Why is that? What must 
I do inorder to view the graph?

I hope to hear from you soon. Please reply at the earliest and oblige. Thanks 
in advance for your kind consideration and time.

Yours truly,
Praveen



More information about the Smac-users mailing list