source: CIVL/examples/mpi/mpi_empty.c

acw/focus-triggers
Last change on this file was 302247f, checked in by Stephen Siegel <siegel@…>, 42 hours ago

Completed check for user-specification of number of MPI processes.
Added JUnit tests. Fixed other minor spelling issues in comments.

  • Property mode set to 100644
File size: 545 bytes
RevLine 
[5a822ff]1#include <mpi.h>
2
[302247f]3// Because this program includes mpi.h, CIVL requires that the number
4// of MPI processes or an upper bound on the number of processes be
5// specified. This can happen on the command line; type "civl help"
6// for details. Alternatively, this information can be specified
7// programmatically as follows:
[5a822ff]8
[302247f]9// To specify an upper bound:
10// $input int _mpi_nprocs_hi = 4;
11
12// To specify an exact number:
13// $input int _mpi_nprocs = 3;
[5a822ff]14
[302247f]15// You can also specify a lower bound:
16// $input int _mpi_nprocs_lo = 2;
17
18int main(void) {
[5a822ff]19}
Note: See TracBrowser for help on using the repository browser.