How to execute examples

5 views
Skip to first unread message

tf1...@gmail.com

unread,
Jun 23, 2008, 3:32:17 AM6/23/08
to Grid Matrix Users
I opened the MDS.net in the folder of networks.
When i clicked the Run... in the menu Simulation, a dialog showed to
input Template and Deployment File.
I set the Template to default, "MDS", and Deployment File to "args/mds/
mds-example.xml".
I don't know it's right or not. When i clicked Run, i got these
message,

Saving network...
Building Platform file...
Done.
Initializing Python...
Done.
Running...
Chicago: Process started
Traceback (most recent call last):
File "scripts/mds\mdsSimulation.py", line 15, in config
MDSSim.config(argv)
File "scripts/mds\mdsSimulation.py", line 237, in config
hostInfo = self.createClass(h, argList[2:])
File "scripts/mds\mdsSimulation.py", line 173, in createClass
eval('classObj.' + cmd[1:])
File "<string>", line 1, in <module>
TypeError: poll() takes exactly 3 arguments (2 given)
Chicago: Process terminated

How to execute a example?

Pablo Yabo

unread,
Jun 24, 2008, 11:27:21 AM6/24/08
to gridmatr...@googlegroups.com
Hello,

That deploy is wrong, sorry.

Try any of these for that network:
mds-hierarchical.xml
mds-best-neighbor.xml
mds-random.xml
mds-super-peer.xml

Each one test a different resource propagation policy.

Best Regards,
Pablo Yabo

tf1...@gmail.com

unread,
Jun 26, 2008, 12:21:50 AM6/26/08
to Grid Matrix Users
Hi,

Thank you for your reply.
After compared with your reply, I'm sorry for my rude.

I tried these:
mds-hierarchical.xml
mds-best-neighbor.xml
mds-random.xm

The Output:
Saving nerwork...
Building Platform file...
Done.
Initializing Python...
Done.
Running...
Chicago:Process started
config:simulation duration 1000.0

it looks good, but hung for a long time with no responding.
I reinstalled the vs2005 runtime env and installed python 2.5.2.
Is anything i missed?
thanks for your patient.

Best Regards,
Tfing Shen

Pablo Yabo

unread,
Jun 26, 2008, 8:49:40 AM6/26/08
to gridmatr...@googlegroups.com
Hi,

There is a know issue with output prints to console. Go to Templates -> MDS and keep checked only 'Show script output' and 'Show script errors' and try again.
There is an issue that hangs the application when printing to the console in certain events.

Regards,
Pablo

tf1...@gmail.com

unread,
Jun 27, 2008, 7:24:30 AM6/27/08
to Grid Matrix Users
Hi,

After I unchecked other options, It works.
Thanks!

Best Regards,
Tfing Shen
Reply all
Reply to author
Forward
0 new messages