Example 1 for DEALII

STEP-1 is the first example from the official DEAL.II example directory. It is included here primarily to illustrate the steps necessary to run a program that uses DEAL.II.

Before doing anything with deal.ii on a Macintosh running OSX, you have to:

  1. Download and install cmake;
  2. Modify your .bash_profile by including the line
  3. Download and install deal.ii

Then you might want to try running an example. DEAL.II has an examples directory, and the first example is in the step-1 subdirectory. I would recommend making your own working directory, and copying from the examples/step-1 directory the following two files

Now in that directory, you need to create, one time, the necessary makefile, by issuing a command something like:

        cmake -DDEAL_II_DIR=/Applications/ .

If all goes well, then you can run the step-1 example by

        make run

Files you might find useful:

You can go up one level to the DEALII directory.

Last revised on 10 May 2016.