Hi Mahesh I suspect the non existing parameter "GenModel" is still accessed by the gen.cc code. So there must be a bug in the gen.cc code.
As you can guess the code I opened is a stripped down version of our internal model. As such I did not do too much of testing after the strip down. I will provide a fix later this week. If you are able to debug and fix it yourself - please let me know. Thanks Eitan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keshetti Mahesh Sent: ב 14 ינואר 2008 06:34 To: Eitan Zahavi Cc: openIB Subject: Re: ib_macro_model on OMNET++ > The model describes IB HCAs and Switches. > One can build networks of these models and simulate traffic through > the network. > The model accuratly describes how credits are flowing through the network. > The switches are built out of virtual output queues. > It also let you play with parameters for the switches and HCAs. > FDBs are programable. Hi Eitan, Thanks for the reply. I have successfully installed OMNET++ package on my machine and I am able to run samples available in that package. But when I tried to run a sample network from the ib_macro_model package, the run is getting aborted with the following message. -------------------------------------------------------------------------------------------------------------------------------- [EMAIL PROTECTED] 2h_1s]# ./2h_1s OMNeT++/OMNEST Discrete Event Simulation (C) 1992-2005 Andras Varga Release: 3.2, edition: Academic Public License. See the license for distribution terms and warranty disclaimer Setting up Cmdenv... Loading NED file: /home/maheshk/softwares/ib_macro_model/networks/2h_1s/../../src/hca.ned Loading NED file: /home/maheshk/softwares/ib_macro_model/networks/2h_1s/../../src/switch.ned Loading NED file: /home/maheshk/softwares/ib_macro_model/networks/2h_1s/../../src/gen.ned Loading NED file: /home/maheshk/softwares/ib_macro_model/networks/2h_1s/../../src/sink.ned Loading NED file: /home/maheshk/softwares/ib_macro_model/networks/2h_1s/../../src/ibuf.ned Loading NED file: /home/maheshk/softwares/ib_macro_model/networks/2h_1s/../../src/obuf.ned Loading NED file: /home/maheshk/softwares/ib_macro_model/networks/2h_1s/../../src/vlarb.ned Preparing for Run #1... Setting up network `FABRIC'... Initializing... RUNTIME ERROR. A cRuntimeError exception is about to be thrown, and you requested (by setting debug-on-errors=true in the ini file) that errors abort execution and break into the debugger. - on Linux or Unix-like systems: you should now probably be running the simulation under gdb or another debugger. The simulation kernel will now raise a SIGABRT signal which will get you into the debugger. If you're not running under a debugger, you can still use the core dump for post-mortem debugging. - on Windows: your should have a just-in-time debugger (such as the Visual C++ IDE) enabled. The simulation kernel will now cause a debugger interrupt to get you into the debugger -- press the [Debug] button in the dialog that comes up. Once in the debugger, use its "view stack trace" command (in gdb: "bt") to see the context of the runtime error. See error text below. <!> Error in module (IBGenerator) FABRIC.H_1.gen: has no parameter called `GenModel'. Aborted -------------------------------------------------------------------------------------------------------------------------------- Do you have any idea why it is happening ? Thanks and Regards, -Mahesh > > Etc etc > > Eitan _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
