[ofa-general] Re: ib_macro_model on OMNET++

Keshetti Mahesh keshetti85-student at yahoo.co.in
Sun Jan 13 20:33:55 PST 2008


> 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.
--------------------------------------------------------------------------------------------------------------------------------
[root at n161 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



More information about the general mailing list