Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 883 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 883 Bytes

MMM Toy Model

The MMM Toy Model consists of a main program that invokes a physics driver over a small number of iterations. The physics driver makes calls to various physics schemes that come from a separate repository.

At build time, an attempt is made to obtain a specified version of phyics schemes using the src/import_physics.sh script. Switching between versions of physics or between physics repositories is accomplished by setting the variables physics_version and physics_repo near the top of the src/import_physics.sh script.

Building the MMM Toy Model

Running make with either gnu or intel specified as the target will compile the toy model with the GNU or Intel compilers, respectively. For example:

make gnu

The build process will automatically download the physics schemes, or report if the requested physics schemes cannot be obtained.