To install the bathy_smoother python module for pyroms:
Code: Select all
cd external/bathy_smoother/external/lp_solve_5.5/lp_solve
sh ccc
cp bin/ux32/lp_solve /usr/local/bin
cd ../lpsolve55
sh ccc
cp bin/ux32/* /usr/local/lib
ldconfig
cd external/bathy_smoother/external/lp_solve_5.5/extra/Python
python setup.py build
python setup.py install --prefix=/usr/local
cd external/bathy_smoother
python setup.py build
python setup.py install --prefix=/usr/local
Code: Select all
[root@localhost Desktop]# python
Python 2.4.3 (#1, Nov 11 2010, 13:34:43)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bathy_smoother
>>>