README 1.7 KB

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