PARALLEL

Recognised by the OPM Flow parserRUNSPEC

The PARALLEL keyword defines the run to use parallel processing and sets the domain decomposition options. See section 2.2Running OPM Flow 2023-04 From The Command Lineon how to run OPM Flow in parallel mode.

Notes:

The keyword is terminated by a “/”.

OPM Flow uses a different numerical scheme which makes this keyword redundant; hence, OPM Flow ignores this keyword. It is documented here for completeness.

Records
Fixed number of records
Record count
1
Items per record
2

Parameters

No.NameDescriptionTypeDefault
1NDMAIN
manual: NPROCS
A positive integer that defines the number of domains or parallel processors to use for this run.INT1
2MACHINE_TYPE
manual: RTYPE
A character string set to either SERIAL to run the parallel code in serial mode for testing the code, or DISTRIBUTED to full utilize parallel processing.STRINGDISTRIBUTED

Example

--
-- PARALLEL MULTI-CORE OPTIONS
-- NDMAIN MACHINE TYPE
PARALLEL
2 DISTRIBUTED /
The above example sets the number of domains (or processors) to two and for the simulation to run in parallel mode. This has no effect in OPM Flow input decks.

Manual source: parts/chapters/subsections/5.3/PARALLEL.fodt