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
- -fast uses -xT for the moment ;)
- -fomit-pointer is the default as soon as there is no -O0 or -g
Matthieu
_
Matthieu Brucher <[EMAIL PROTECTED]> [2007-06-14 00:39]:
> 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
I didn't look it up; it was carried over from an example. I a
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 m
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! and the
possible pe
Call randint until you get enough bits of entropy to for a long with the
appropriate number of bits.
def randwords(n):
result = 0L
for i in range(n):
result = (result<<32) | randint(0,2<<32-1)
return result
-Kevin
On 6/14/07, Will Woods <[EMAIL PROTECTED]> wrote:
I want to choose a su
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 su
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",
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?
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 exec
Do you have a reference that explains this in more detail? I thought -g
just added debug information without changing the generated code?
My understanding was that there was debug info added - well, in release
mode, it is not worth it, impossible to debug -, and these added data can
impact per
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
Joël Schaerer wrote:
> Hi there,
>
> I'm trying to install numpy on a system I don't control, which has
> python 2.2.3.
I'm sorry, but numpy does require Python 2.3. There is no workaround.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is mad
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 th
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
_
Ok, thanks a lot for answering anyways. Maybe this should be documented
somewhere? (I don't doubt that it already is, but I looked around for a
moment and didn't find it)
joel
On Thu, 2007-06-14 at 10:58 -0500, Robert Kern wrote:
> Joël Schaerer wrote:
> > Hi there,
> >
> > I'm trying to install
Hi,
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 library build with one compiler and modules
build wit
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 library build with one compiler and modules
build with a
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 dir
On 6/14/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 inte
I can create a record array with datetime types using fromrecords if I
don't specify a dtype and let numpy determine the dtype. But when I
try and set the dtype at record array creation time, I get the error
below
In [17]: import numpy
In [18]: import datetime
In [19]: dt = datetime.datetime
I
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 pyt
It is possible to mix object code, but not runtime, which is the problem
AFAIK. VS2003 and VS2005 have different C runtimes (msvcrt7.1.dll
against msvcrt8.dll). The problem is (at least for me, who just go
through the pain for windows users :) ) that VS2003 is not available
anymore for free...
22 matches
Mail list logo