[Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-14 Thread Matthieu Brucher
Hi, I've been trying to use the Intel C Compiler for some extensions, and as a matter of fact, only numpy.distutils seems to support it... (hope that the next version of setuptools will...) Is it possible to change the compiler command line options in the commandline or in a .cfg file ? For the

Re: [Numpy-discussion] masked arrays and record arrays

2007-06-14 Thread John Hunter
On 6/13/07, Pierre GM [EMAIL PROTECTED] wrote: Have you tried mrecords, in the alternative maskedarray package available on the scipy SVN ? It should support masked fields (by opposition to masked records in numpy.core.ma). If not, would you mind giving a test and letting me know your

[Numpy-discussion] numpy with python 2.3?

2007-06-14 Thread Joël Schaerer
Hi there, I'm trying to install numpy on a system I don't control, which has python 2.2.3. When I run python setup.py build, I get: python setup.py build Running from numpy source directory. Traceback (most recent call last): File setup.py, line 91, in ? setup_package() File setup.py,

Re: [Numpy-discussion] Incompatability of svn 3868 distutils with v10.0 Intel compilers and MKL9.1

2007-06-14 Thread Albert Strasheim
Hello all On Thu, 14 Jun 2007, Matthieu Brucher wrote: cc_exe = 'icc -g -fomit-frame-pointer -xT -fast' Just some comments on that : - in release mode, you should not use '-g', it slows down the execution of your program Do you have a reference that explains this in more detail? I

Re: [Numpy-discussion] Incompatability of svn 3868 distutils with v10.0 Intel compilers and MKL9.1

2007-06-14 Thread David M. Cooke
On Thu, Jun 14, 2007 at 04:17:04PM +0200, Albert Strasheim wrote: Hello all On Thu, 14 Jun 2007, Matthieu Brucher wrote: cc_exe = 'icc -g -fomit-frame-pointer -xT -fast' Just some comments on that : - in release mode, you should not use '-g', it slows down the execution of your

Re: [Numpy-discussion] randint for long type (permutations)

2007-06-14 Thread Robert Kern
Will Woods wrote: I want to choose a subset of all possible permutations of a sequence of length N, with each element of the subset unique. This is then going to be scattered across multiple machines using mpi. Since there is a one-to-one mapping between the integers in the range 0 = x N!

Re: [Numpy-discussion] randint for long type (permutations)

2007-06-14 Thread Anne Archibald
On 14/06/07, Will Woods [EMAIL PROTECTED] wrote: I want to choose a subset of all possible permutations of a sequence of length N, with each element of the subset unique. This is then going to be scattered across multiple machines using mpi. Since there is a one-to-one mapping between the

Re: [Numpy-discussion] numpy with python 2.3?

2007-06-14 Thread Steven H. Rogers
On Thu, June 14, 2007 08:22, Joël Schaerer wrote: I'm trying to install numpy on a system I don't control, which has python 2.2.3. When I run python setup.py build, I get: Perhaps you can install Python in a local direcory, or perhaps a USB drive? # Steve

Re: [Numpy-discussion] numpy with python 2.3?

2007-06-14 Thread Joël Schaerer
On Thu, 2007-06-14 at 10:33 -0600, Steven H. Rogers wrote: On Thu, June 14, 2007 08:22, Joël Schaerer wrote: I'm trying to install numpy on a system I don't control, which has python 2.2.3. When I run python setup.py build, I get: Perhaps you can install Python in a local direcory, or

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-14 Thread David Cournapeau
Matthieu Brucher wrote: I think the default for the standard python distutils is to use the compiler and the compiler settings for the C compiler that were used to build Python itself. There might be ways to specify other compilers; but if you have a shared python