wrf svn trunk commit r4103
[wrffire.git] / wrfv2_fire / chem / KPP / kpp / kpp-2.1 / readme
blobb56c480dac62c73b8b76261f87bfa000b928ca09
1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3   KPP - symbolic chemistry Kinetics PreProcessor, Version 2.1
4         (http://www.cs.vt.edu/~asandu/Software/KPP)
5   KPP is distributed under GPL, the general public licence
6         (http://www.gnu.org/copyleft/gpl.html)
7     (C) 1995-1997, V. Damian & A. Sandu, CGRER, Univ. Iowa
8     (C) 1997-2003, A. Sandu, Michigan Tech
9     (C) 2003-2005, A. Sandu, Virginia Polytechnic Institute and State University
10         with contributions from:
11         R. Sander, Max-Planck Institute for Chemistry, Mainz, Germany
13 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 To get started with KPP:  Read user's manual (doc/kpp-UserManual.pdf)
16 ------------------------
18 To install KPP:
19 ---------------
21 1. Make sure that FLEX (public domain lexical analizer) is installed
22    on your machine. Type "flex --version" to test this.
24 2. Note down the exact path name where the FLEX library is installed. The
25    library is called:
26         libfl.a or libfl.sh 
28 3. Define the KPP_HOME environment variable to point to the complete 
29    path location of KPP. If, for example, KPP is installed in $HOME/kpp:
31    - with C shell (or tcsh) edit the file .cshrc (or .tcshrc) in your
32      home directory and add:
33         setenv KPP_HOME $HOME/kpp
34         set path=( $path $HOME/kpp/bin )
35      Execute 'source .cshrc' (or 'source .tcshrc') to make sure these
36      changes are in effect.
38    - with bash shell edit the file .bashrc in your home directory and add:
39         export KPP_HOME=$HOME/kpp
40         export PATH=$PATH:$HOME/kpp/bin
42 3. In KPP_HOME directory edit: 
43         Makefile.defs 
44    and follow the instructions included to specify the compiler, 
45    the location of the FLEX library, etc.
47 4. In KPP_HOME directory build the sources using:
48         make
50 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 To clean the KPP installation: 
53 ------------------------------
55 1. Delete the KPP object files with:
56         make clean
58 2. Delete the whole distribution (including the KPP binaries) with:
59         make distclean
61 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 If you have any problems please send the detailed error report and the machine
64 environment to:
66         sandu@cs.vt.edu