~njansson/dolfin/hpc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Contents

	1. Dependencies
	2. Installation
	3. License
	4. Feedback
	5. About

-------------------------------------------------------------------------------
1. Dependencies

DOLFIN depends on PETSc, version 2.3.0. PETSc can be downloaded from

    http://www-unix.mcs.anl.gov/petsc/petsc-2/

Follow the installation instructions on the PETSc web page. Normally,
you should only have to perform the following simple steps in the PETSc
source directory:

    export PETSC_DIR=`pwd`
    ./config/configure.py --with-clanguage=cxx --with-shared=1
    make all

Replace export PETSC_DIR=`pwd` with setenv PETSC_DIR `pwd` if you're using
tcsh. Add --download-hypre=yes to configure.py if you want to install Hypre.

DOLFIN assumes that PETSC_DIR is /usr/local/lib/petsc/ but this can be
controlled using the flag --with-petsc-dir=<path> when configuring DOLFIN.

-------------------------------------------------------------------------------
2. Installation

DOLFIN follows GNU standard, so the installation procedure is simple:

    ./configure
    make

followed by an optional

    make install

Type ./configure --help for a list of available options.
More information is availabel in the file INSTALL.

Optionally, you may install DOLFIN locally in the current source
tree, which is a convenient way of running the demos without needing
to install DOLFIN on your system:

    ./configure.local
    make
    make install
    make demo

Note that you need to add the directory `pwd`/local/bin/ to your
path. (You will be reminded of this when running ./configure.local.)

------------------------------------------------------------------------------
3. License

DOLFIN is licensed under the GNU GPL Version 2, see http://www.gnu.org.

-------------------------------------------------------------------------------
4. Feed back

Feed back, patches, and comments should be sent to

    dolfin-dev@fenics.org

------------------------------------------------------------------------------
5. About

A hopefully complete list of authors is given in the file AUTHORS.

For more information about DOLFIN, visit

    http://www.fenics.org/dolfin/

-------------------------------------------------------------------------------
Chicago
December 2005