Difference between revisions of "GENIE running an expt"

From SourceWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
Note that in addition to the source code GENIE makes use of several applications and packages.  You must have the following list of prerequisites installed on your computer, before you can run GENIE:
 
Note that in addition to the source code GENIE makes use of several applications and packages.  You must have the following list of prerequisites installed on your computer, before you can run GENIE:
  
 +
* Python.
 +
* GNU make.
 +
* The BASH shell.
 
* The NetCDF libraries.  See the [[GENIE_Using_netCDF|using netCDF]] page for more information about downloading and installing netCDF.
 
* The NetCDF libraries.  See the [[GENIE_Using_netCDF|using netCDF]] page for more information about downloading and installing netCDF.
 
* A C++ compiler, such as that from the GNU Compiler Collection (GCC).
 
* A C++ compiler, such as that from the GNU Compiler Collection (GCC).
Line 21: Line 24:
 
** Sun
 
** Sun
 
'''NB the GNU Fortran compilers (g95 and gfortran) will not currently work with GENIE.
 
'''NB the GNU Fortran compilers (g95 and gfortran) will not currently work with GENIE.
* Python.
 
* GNU make.
 
* The BASH shell.
 
  
 
==Step2: Your Local Setup==
 
==Step2: Your Local Setup==

Revision as of 14:15, 6 June 2007

Step1: Get the Code

GENIE is kept in a Subversion (SVN) respository. To learn more about accessing the GENIE code repository see downloading GENIE using SVN. Note that whenever possible, you should download one of the tested and stable releases, rather than just the most recent version, for example:

svn co http://source.ggy.bris.ac.uk/subversion/genie/tags/rel-2-1-0 --username genie-user ~/genie

See the GENIE versions page for more information on model releases and the associated parameter tuning that accompanies a release.

Prerequisites

Note that in addition to the source code GENIE makes use of several applications and packages. You must have the following list of prerequisites installed on your computer, before you can run GENIE:

  • Python.
  • GNU make.
  • The BASH shell.
  • The NetCDF libraries. See the using netCDF page for more information about downloading and installing netCDF.
  • A C++ compiler, such as that from the GNU Compiler Collection (GCC).
  • A Fortran compiler (including support for Fortran90). Compilers which are known to work with GENIE include:
    • Intel
    • PGI
    • Pathscale
    • Sun

NB the GNU Fortran compilers (g95 and gfortran) will not currently work with GENIE.

Step2: Your Local Setup

Step3: Test the Model

Step4: Run from a Configuration File