Ignore:
Timestamp:
Aug 15, 2006, 4:20:46 PM (19 years ago)
Author:
duncan
Message:

Cleaning things up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pmesh/README

    r1926 r3492  
    11SYSTEM REQUIREMENTS
     2 Pmesh requires many bits adn peices from the rest of the ANUGA code.
    23 
    3 Python, with Pmw must be installed to use pmesh.  Read the
    4 starting.html file that comes with pmw with regrads to how it is
    5 installed.(quick install advice: install pmw in the
    6 python2.2/site-packages dir) (Python and pmw are in the downloads
    7 directory)
     4 It's system requirements are the same as ANUGA
    85
    9 The inundation directory utilities is also needed to run pmesh.
     6INSTALLATION COMMANDS
     7To compile, do
     8        scones
    109
    11 INSTALLATION COMMANDS, FOR LINUX
    12 
    13 This is necessary to complite triangle for using pmesh graphically and
    14 the pmesh.mesh script.
    15        
    16 To build triangle, as root;
    17         python setup.py install
    18        
    19 To build the python package, as a user;
    20         python setup.py install --prefix=~
    21        
    22         This will create a python directory, off the users home directory.
    23         Add the path of this directory into your .bashrc
    24         for example;   
    25         export PYTHONPATH=$HOME/lib/python2.2/site-packages:"${PYTHONPATH}"
    26         another example;
    27         export PYTHONPATH=$HOME/lib64/python2.3/site-packages:"${PYTHONPATH}"
    28 
    29 INSTALLATION COMMANDS, FOR WINDOWS
    30 To compile using Microsoft Visual c++,
    31         python setup.py install
    32 
    33 To compile using mingw,
    34         python setup.py build -cmingw32
    35         python setup.py install
    36 
    37         Note for this to work mingw has to be installed.  Plus move
    38         the file libpython23.a into the python\libs directory.  If
    39         'install' does not work move the triang.pyd file manually.
    4010               
    4111GENERAL RUNNING
    42 To run all tests Harnesses;
    43         python TestRunner.py
     12To run all the unit tests;
     13        python test_all.py
    4414       
    4515To run pmesh;
    46         python pmesh.py
     16        python graphical_mesh_generator.py
    4717       
    4818INSTRUCTIONS FOR USING PMESH
     
    6232
    6333CREATING A PMESH EXECUTABLE
     34Note, this has not been tried for about 2 years.
    6435
    6536There is a package called py2exe which can take a Python script and
Note: See TracChangeset for help on using the changeset viewer.