Skip to content

Setting Up OOPS 2D

Jacob Fields edited this page Jun 1, 2020 · 6 revisions

Setup

OOPS-2D was designed to make installation as easy as possible. Nevertheless, there are a few system requirements:

  • CMake 3.0 or later
  • A modern C++11-compliant compiler.
  • An MPI implementation such as OpenMP or MPICH.
  • Python 3.0 or later with standard libraries.

Because OOPS-2D has so few external dependencies, it should theoretically be able to run on any modern version of Windows, Linux, or MacOS. Instructions are provided for a generic command line installation via Make, though the use of CMake should make it possible to generate build files for other systems, too.

Compiling

Because of CMake, compilation is relatively straightforward. On a Bash terminal using Unix Makefiles, it might look something like the following:

cd <OOPS directory>
mkdir build
ccmake ../

From here, you simply follow the instructions in the CMake terminal, then run make when you're done. The default options should be sufficient for getting started.

Clone this wiki locally