How to install deal.II

From Micro and Nano Mechanics Group
Jump to navigation Jump to search

How to install deal.II

Yanming Wang

May, 2017



Deal.II is an open Finite Element Method (FEM) code. For detailed description of the code and tutorials, you can refer to their offical website http://www.dealii.org/. Here we explain how to install it on the Sherlock cluster.

System Requirements

The installation of Deal.II requires cmake 3.2 and up, openmpi/1.10.2/gcc and gcc/4.8.1. They have been pre-installed as modules on the cluster, to load them, you can type the following commands on your terminal.

module load cmake/3.2.2
module load gcc/4.8.1
module load openmpi/1.10.2/gcc

Or you can paste the above three lines into your ~/.bashrc file, and type

source ~/.bashrc

Installation

First, download the package through Github.

git clone https://github.com/dealii/candi

candi.cfg

candi.cfg

References

The below webpages would be useful when you are new to using the clusters.

https://www.stanford.edu/group/hpcc/cgi-bin/mediawiki/index.php/Main_Page

https://www.stanford.edu/group/hpcc/cgi-bin/mediawiki/index.php/I%27m_new_%26_don%27t_know_what_to_do

https://www.stanford.edu/group/hpcc/cgi-bin/mediawiki/index.php/New_to_Cluster_Computing