Changeset 3492 for inundation/pmesh/README
- Timestamp:
- Aug 15, 2006, 4:20:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pmesh/README
r1926 r3492 1 1 SYSTEM REQUIREMENTS 2 Pmesh requires many bits adn peices from the rest of the ANUGA code. 2 3 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 8 5 9 The inundation directory utilities is also needed to run pmesh. 6 INSTALLATION COMMANDS 7 To compile, do 8 scones 10 9 11 INSTALLATION COMMANDS, FOR LINUX12 13 This is necessary to complite triangle for using pmesh graphically and14 the pmesh.mesh script.15 16 To build triangle, as root;17 python setup.py install18 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 .bashrc24 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 WINDOWS30 To compile using Microsoft Visual c++,31 python setup.py install32 33 To compile using mingw,34 python setup.py build -cmingw3235 python setup.py install36 37 Note for this to work mingw has to be installed. Plus move38 the file libpython23.a into the python\libs directory. If39 'install' does not work move the triang.pyd file manually.40 10 41 11 GENERAL RUNNING 42 To run all t ests Harnesses;43 python TestRunner.py12 To run all the unit tests; 13 python test_all.py 44 14 45 15 To run pmesh; 46 python pmesh.py16 python graphical_mesh_generator.py 47 17 48 18 INSTRUCTIONS FOR USING PMESH … … 62 32 63 33 CREATING A PMESH EXECUTABLE 34 Note, this has not been tried for about 2 years. 64 35 65 36 There is a package called py2exe which can take a Python script and
Note: See TracChangeset
for help on using the changeset viewer.