[4775] | 1 | |
---|
| 2 | |
---|
| 3 | The programs in this directory demonstrate how to use basic |
---|
| 4 | functions of MCT in several possible coupled configurations of |
---|
| 5 | two components. |
---|
| 6 | |
---|
| 7 | Each example is contained in one .F90 file. |
---|
| 8 | |
---|
| 9 | To compile: |
---|
| 10 | First make sure you have compiled MCT. See instructions in |
---|
| 11 | MCT/README |
---|
| 12 | |
---|
| 13 | Type "make" here or "make examples" in the top-level directory. |
---|
| 14 | |
---|
| 15 | To run: Consult your local documentation for how to run a parallel |
---|
| 16 | program. The examples below assume mpirun is available and you |
---|
| 17 | can run interactively. "script.babyblue" is an example of run script |
---|
| 18 | for IBM systems which use a queue manager. |
---|
| 19 | |
---|
| 20 | ---------------------------------------------------------------------- |
---|
| 21 | twocomponent.concurrent.F90 - two components running concurrently on |
---|
| 22 | separate pools of processors. |
---|
| 23 | |
---|
| 24 | requires: at least 3 MPI processes |
---|
| 25 | to run: mpirun -np 3 twocon |
---|
| 26 | note: will not work with mpi-serial |
---|
| 27 | |
---|
| 28 | ------------------------------------------ |
---|
| 29 | twocomponent.sequential.F90 - two components running sequentially on |
---|
| 30 | the same processors. Uses arguments to pass data between models. |
---|
| 31 | Shows use of Rearranger. |
---|
| 32 | |
---|
| 33 | requires: at least 1 MPI process |
---|
| 34 | to run: mpirun -np 1 twoseq |
---|
| 35 | |
---|
| 36 | ------------------------------------------ |
---|
| 37 | twocomponent.seqNB.F90 - two components running sequentially on |
---|
| 38 | the same processors. Uses non-blocking MCT calls to pass data between |
---|
| 39 | models |
---|
| 40 | |
---|
| 41 | requires: at least 1 MPI process |
---|
| 42 | to run: mpirun -np 1 twoseqNB |
---|
| 43 | |
---|
| 44 | ------------------------------------------ |
---|
| 45 | twocomponentUneven.sequential.F90 - two components running sequentially but |
---|
| 46 | one model is only running on some of the shared processors. |
---|
| 47 | |
---|
| 48 | requires: no more than 12 processors |
---|
| 49 | to run: mpirun -np 2 twosequn |
---|
| 50 | |
---|
| 51 | ------------------------------------------ |
---|