-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
57 lines (38 loc) · 1.33 KB
/
INSTALL
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
INSTALLATION
============
Requirements
------------
To install graffer you must first install gtk-fortran (gtk2 or gtk3)
and plplot. To build the documentation, pdflatex is also
needed.
Your Fortran compiler needs to fully support the "iso_c_binding"
intrinsic module, and to apply the C-preprocessor to files with the
suffix ".F90".
You will need cmake to construct the makefiles.
Build
-----
Create a build directory (e.g. as a subdirectory of the distribution
-- this will be assumed hereafter).
Change directory to it.
cmake .. # To configure the build
If you want to specify which gtk version to use then use
cmake -DGTK=2 ..
or
cmake -DGTK=3 ..
In addition the usual cmake options to select installation paths
etc. are available.
Then:
make
to build graffer, and:
sudo make install
to install it. By default this will also install some gdl/idl utilities
to allow creation of graffer files from within that environment.
If you already have the full GDL/IDL version of graffer, then the
installation of the GDL/IDL routines from this repository is redundant
and may be suppressed with:
cmake -DGDL=OFF ..
Setting up
----------
In order to use the gdl/idl tools, you need to add their directory to
GDL_PATH (or IDL_PATH). Shell scripts that can be 'source'ed to do this
are installed in ${PREFIX}/share/graffer.