4.1 and MPI

45 views
Skip to first unread message

Eitan

unread,
Jun 19, 2011, 10:34:03 AM6/19/11
to omnetpp
Hi All,

I am starting to migrate a model I have to run parallel using MPI.

First what I can contrib:
1. I had to put the MPI bin dir in the path before invoking configure
2. I had to manually edit the MPI_LIBS (used the hint about quoting
the mpicxx -showme)
3. Still I had to add manually the resulting MPI_LIBS to ALL_ENV_LIBS
and KERNEL_LIBS in Makefile.inc to get src/env and examples to compile
(the reason is that using shared libs they are not added to the LIB).

Now questions:
1. Is there a migration path to Parallel Sim with MPI?
2. Anything on top of not using bi-directional links and making sure
cross module function calls are located in same "partition" ?

Many thanks

Eitan

zafar iqbal

unread,
Jun 19, 2011, 12:03:44 PM6/19/11
to omn...@googlegroups.com
igot the following errors when run my projecr please help me

[Invalid file specified for console output: C:\omnetpp-4.0-src-windows\omnetpp-4.0\samples\demo]
OMNeT++ Discrete Event Simulation  (C) 1992-2008 Andras Varga, OpenSim Ltd.
Version: 4.0, build: 090310-10709, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Cmdenv...

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.

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 are not running under a debugger, you can
still use the core dump for post-mortem debugging. Once in the debugger,
view the call stack (in gdb: "bt" command) to see the context of the
runtime error.

<!> Error: cFileCommunications: missing -p<procId>,<numPartitions> switch on the command line.

TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready?

Simulation terminated with exit code: -2147483645
Command line: C:/omnetpp-4.0-src-windows/omnetpp-4.0/samples/demo/demo.exe -r 0 -u Cmdenv -c General -n C:/omnetpp-4.0-src-windows/omnetpp-4.0/samples/demo C:/omnetpp-4.0-src-windows/omnetpp-4.0/samples/demo/omnetpp.ini

Working directory: C:/omnetpp-4.0-src-windows/omnetpp-4.0/samples/demo

PATH=;C:\OMNETPP-4.0-SRC-WINDOWS\OMNETPP-4.0\BIN;C:\OMNETPP-4.0-SRC-WINDOWS\OMNETPP-4.0\MSYS\BIN;C:\OMNETPP-4.0-SRC-WINDOWS\OMNETPP-4.0\MINGW\BIN;C:/PROGRAM FILES/JAVA/JRE6/BIN/CLIENT;C:/PROGRAM FILES/JAVA/JRE6/BIN;C:\WATCOM-1.3\BINNT;C:\WATCOM-1.3\BINW;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM
OMNETPP_IMAGE_PATH=C:\OMNETPP-4.0-SRC-WINDOWS\OMNETPP-4.0\IMAGES


--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.


Reply all
Reply to author
Forward
0 new messages