-
Notifications
You must be signed in to change notification settings - Fork 6
/
readme
65 lines (47 loc) · 2.14 KB
/
readme
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KPP - symbolic chemistry Kinetics PreProcessor, Version 2.1
(http://www.cs.vt.edu/~asandu/Software/KPP)
KPP is distributed under GPL, the general public licence
(http://www.gnu.org/copyleft/gpl.html)
(C) 1995-1997, V. Damian & A. Sandu, CGRER, Univ. Iowa
(C) 1997-2005, A. Sandu, Michigan Tech, Virginia Tech
with contributions from:
R. Sander, Max-Planck Institute for Chemistry, Mainz, Germany
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get started with KPP: Read user's manual (doc/kpp-UserManual.pdf)
------------------------
To install KPP:
---------------
1. Make sure that FLEX (public domain lexical analizer) is installed
on your machine. Type "flex --version" to test this.
2. Note down the exact path name where the FLEX library is installed. The
library is called:
libfl.a or libfl.sh
3. Define the KPP_HOME environment variable to point to the complete
path location of KPP. If, for example, KPP is installed in $HOME/kpp:
- with C shell (or tcsh) edit the file .cshrc (or .tcshrc) in your
home directory and add:
setenv KPP_HOME $HOME/kpp
set path=( $path $HOME/kpp/bin )
Execute 'source .cshrc' (or 'source .tcshrc') to make sure these
changes are in effect.
- with bash shell edit the file .bashrc in your home directory and add:
export KPP_HOME=$HOME/kpp
export PATH=$PATH:$HOME/kpp/bin
3. In KPP_HOME directory edit:
Makefile.defs
and follow the instructions included to specify the compiler,
the location of the FLEX library, etc.
4. In KPP_HOME directory build the sources using:
make
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To clean the KPP installation:
------------------------------
1. Delete the KPP object files with:
make clean
2. Delete the whole distribution (including the KPP binaries) with:
make distclean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you have any problems please send the detailed error report and the machine
environment to: