Difference between revisions of "NumPy"

From CBLFS
Jump to navigationJump to search
(Added page)
 
Line 14: Line 14:
 
* [[Python]]
 
* [[Python]]
  
== Non-Multilib or Multilib ==
+
== Non-Multilib ==
  
Install the package:
+
Compile the package:
  
  python setup.py install --prefix=/usr
+
  python setup.py --prefix=/usr build
 +
 
 +
Install the package
 +
 
 +
python setup.py --prefix=/usr install
 +
 
 +
== Multilib ==
 +
 
 +
=== 32Bit ===
 +
 
 +
Compile the package:
 +
 
 +
USE_ARCH=32 python setup.py --prefix=/usr build
 +
 
 +
Install the package
 +
 
 +
USE_ARCH=32 python setup.py --prefix=/usr install
 +
 
 +
=== N32 ===
 +
 
 +
Compile the package:
 +
 
 +
USE_ARCH=n32 python setup.py --prefix=/usr build
 +
 
 +
Install the package
 +
 
 +
USE_ARCH=n32 python setup.py --prefix=/usr install
 +
 
 +
=== 64Bit ===
 +
 
 +
Compile the package:
 +
 
 +
USE_ARCH=64 python setup.py --prefix=/usr build
 +
 
 +
Install the package
 +
 
 +
USE_ARCH=64 python setup.py --prefix=/usr install
  
 
== Contents ==
 
== Contents ==

Revision as of 14:54, 22 September 2008

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 --prefix=/usr build

Install the package

python setup.py --prefix=/usr install

Multilib

32Bit

Compile the package:

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

Install the package

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

N32

Compile the package:

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

Install the package

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

64Bit

Compile the package:

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

Install the package

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

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=15357"