step-1


step-1, a dealii code which introduces the steps necessary to run a program. It is the first example from the official documentation set.

This script is set up for a very specific (and peculiar!) situation. My desktop machine runs Red Hat Linux version 6. We can't install DEALII there (no quadmath library). So it's installed on some Red Hat 7.0 machines known as the "hallway" or "lab" machines. I can go to the lab or I can type "qlogin" on my desktop which will automatically transfer me there.

Now I 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 /usr/local/dealii/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=/usr/local/dealii .
      

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

        make run
      

Licensing:

The deal.II library is copyrighted by the deal.II authors. This term refers to the people listed in the file AUTHORS and in the authors list on the webpage.

The deal.II library is free software; it is licensed under the GNU Lesser General Public License v2.1 or later. The deal.II authors are in the process of relicensing the library to be dual-licensed under the Apache License 2.0 with LLVM Exception and the GNU Lesser General Public License v2.1 or later.

Reference:

  1. Wolfgang Bangerth, Ralf Hartmann, Guido Kanschat,
    DEAL.II - a general-purpose object-oriented finite element library,
    ACM Transactions on Mathematical Software,
    Volume 33, Number 4, article 24, August 2007.

Source code:


Last revised on 29 August 2024.