Markus Blatt
e9b8721d2a
Prevent dereferencing a null pointer during parallel output.
...
ParallelDebugOutput will always dereference its member variable
globalReservoirState_ even if it will not be used for any output.
In g++ this throws when using -D_GLIBCXX_DEBUG -DDEBUG -DGLIBCXX_FORCE_NEW.
I any case we will have a dangling reference into Nirvana in
PackUnPackSimulationDataContainer. This commit fixes this by always
initializing the pointer globalReservoirState_. In the case where the rank
does not perform any output its size will be zero.
2016-05-25 13:49:33 +00:00
Atgeirr Flø Rasmussen
37c4bd16b1
Adapt code to dune-cornerpoint -> opm-grid renaming.
2016-04-06 13:29:47 +02:00
Joakim Hove
18c07d5d66
Replaced SimulatorState -> SimulationDataContainer
2016-03-29 10:48:36 +02:00
Robert Kloefkorn
9d5df94080
ParallelDebugOutput: remove warning and cleanup.
2015-10-28 19:03:37 +01:00
Robert Kloefkorn
e30688fb85
ParallelDebugOutput: initialize wells with current report step number.
2015-10-28 19:03:37 +01:00
Robert Kloefkorn
36ca75c4b7
ParallelDebugOutput: fix bug in creation of local to global map on I/O rank.
2015-09-21 16:48:57 +02:00
Robert Kloefkorn
299b0aa3cf
ParallelDebugOutput: fix initialization of wells for the I/O rank.
2015-09-21 14:05:35 +02:00
Robert Kloefkorn
04ec4eb2bf
ParallelDebugOutput: disable wells, seems to not work after latest changes in opm-core.
2015-09-21 12:52:37 +02:00
Robert Kloefkorn
f63487ad0f
ParallelDebugOutput: initialize globalIndex in serial run too.
2015-09-21 12:42:41 +02:00
Robert Kloefkorn
dacb4013ed
ParallelDebugOutput: only use parallel output when mpi size > 1.
2015-09-21 12:24:07 +02:00
Atgeirr Flø Rasmussen
2d4c10d919
Silence unused argument warning.
2015-09-17 14:56:59 +02:00
Robert Kloefkorn
e8fad08d81
ParallelDebugOutput: workaround for ancient gcc bug.
2015-09-16 14:59:37 +02:00
Robert Kloefkorn
0696dbc1bb
ParallelDebugOutput: remove warnings due to unused variables.
2015-09-16 13:05:00 +02:00
Robert Kloefkorn
326faa99d7
ParallelDebugOutput: make the output in ecl format work in parallel by communicating
...
to an io rank and then proceed with serial output.
2015-09-16 09:48:22 +02:00