NumPy: Difference between revisions

From CBLFS
Jump to navigationJump to search
Added page
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 14: Line 14:
* [[Python]]
* [[Python]]


== Non-Multilib or Multilib ==
== Non-Multilib ==


Install the package:
Compile the package:
 
python setup.py build
 
Install the package


  python setup.py install --prefix=/usr
  python setup.py install --prefix=/usr
== Multilib ==
=== 32Bit ===
Compile the package:
USE_ARCH=32 python setup.py build
Install the package
USE_ARCH=32 python setup.py install --prefix=/usr
=== N32 ===
Compile the package:
USE_ARCH=n32 python setup.py build
Install the package
USE_ARCH=n32 python setup.py install --prefix=/usr
=== 64Bit ===
Compile the package:
USE_ARCH=64 python setup.py build
Install the package
USE_ARCH=64 python setup.py install --prefix=/usr


== Contents ==
== Contents ==
Line 41: Line 77:
|is a program generates a Python C/API file (<modulename>module.c) that contains wrappers for given fortran functions so that they can be called from Python.
|is a program generates a Python C/API file (<modulename>module.c) that contains wrappers for given fortran functions so that they can be called from Python.
|}
|}
[[Category:Python Modules]]

Latest revision as of 09:21, 19 October 2010

Download Source: http://downloads.sourceforge.net/numpy/numpy-1.3.0.tar.gz

Introduction to NumPy

NumPy is the fundamental package for scientific computing with Python. It replaces Numeric.

Project Homepage: http://numpy.scipy.org

Dependencies

Required

Non-Multilib

Compile the package:

python setup.py build

Install the package

python setup.py install --prefix=/usr

Multilib

32Bit

Compile the package:

USE_ARCH=32 python setup.py build

Install the package

USE_ARCH=32 python setup.py install --prefix=/usr

N32

Compile the package:

USE_ARCH=n32 python setup.py build

Install the package

USE_ARCH=n32 python setup.py install --prefix=/usr

64Bit

Compile the package:

USE_ARCH=64 python setup.py build

Install the package

USE_ARCH=64 python setup.py install --prefix=/usr

Contents

Installed Directories: /usr/lib/python2.5/site-packages/numpy
Installed Programs: f2py
Installed Libraries: None

Short Descriptions

f2py is a program generates a Python C/API file (<modulename>module.c) that contains wrappers for given fortran functions so that they can be called from Python.
Retrieved from "?title=NumPy&oldid=20360"