Commit Graph

9 Commits (d64f17ff3c51a4b9ad2727eeaa551aeb20281693)

Author SHA1 Message Date
Thorsten Liebig ab682cc0bd A few fixes for MPI
main.cpp:
	1. 	Check return value of ParseFDTDSetup and exit if false
	2. 	Use exit instead of return. These are almost identical. But
		in my OpenMPI installation the process with teh highes rank
		segfaults at the end when using return. This is not the case
		with exit. Probably some C++ cleanup problem (destructors).
openems.cpp:
	Give Parse_XML_FDTDSetup a deterministic return value.
openems_fdtd_mpi.cpp:
	1.	Remove the word "only" in an error message because there can
		also be too many processes.
	2.	Fix the indexing variables for SetSplitPos in SetupMPI. Otherwise
		more than one split results in an out-of-range exception and
		unexpected behavior.
RunOpenEMS_MPI.m:
	Apply Settings.MPI.GlobalArgs also to multi-host scenarios.
2016-12-02 19:03:35 +01:00
Thorsten Liebig 8698f7a448 matlab: allow running MPI openEMS on a HPC
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-05-15 16:03:48 +02:00
Thorsten Liebig 5370df360c update handling MPI + matlab doc
openEMS_MPI.pro is used to compile openEMS with MPI support
do: qmake openEMS_MPI.pro & make -j
2011-10-27 13:35:02 +02:00
Sebastian Held 3f041cc5af enclose pwd in single quotes to allow for some special characters
Found by Fedor.
2011-06-30 09:59:00 +02:00
Thorsten Liebig b39aa3857d MPI: simplified matlab interface: RunOpenEMS_MPI using a host list 2011-05-04 17:08:39 +02:00
Thorsten Liebig 9c061e9d84 MPI: redirect output for ranks>0 to file
changes to main.cpp:
read global command line arguments first to allow for immediate output redirection

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2011-03-10 10:39:08 +01:00
Thorsten Liebig 8acb348edb MPI: simplified RunOpenEMS 2011-03-10 10:39:08 +01:00
Thorsten Liebig 581a905b05 MPI+matlab: auto boot mpd with given hostfile 2011-03-10 10:39:08 +01:00
Thorsten Liebig a20fbea530 MPI: new matlab RunOpenEMS_MPI 2011-03-10 10:39:07 +01:00