acw/focus-triggers
|
Last change
on this file was 302247f, checked in by Stephen Siegel <siegel@…>, 39 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
|
| Line | |
|---|
| 1 | #include <mpi.h>
|
|---|
| 2 |
|
|---|
| 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:
|
|---|
| 8 |
|
|---|
| 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;
|
|---|
| 14 |
|
|---|
| 15 | // You can also specify a lower bound:
|
|---|
| 16 | // $input int _mpi_nprocs_lo = 2;
|
|---|
| 17 |
|
|---|
| 18 | int main(void) {
|
|---|
| 19 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.