Re: [Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Albert Strasheim
Hello On Sat, 28 Jul 2007, Albert Strasheim wrote: > float __cdecl logf(float); > float __cdecl sqrtf(float); > > but they're missing the __cdecl in the NumPy code. Somewhere a macro > needs to be defined to __cdecl on Windows (and left empty on other > platforms) and including in the NumPy de

Re: [Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Albert Strasheim
Hello all On Sat, 28 Jul 2007, Stefan van der Walt wrote: > On Sat, Jul 28, 2007 at 12:54:52AM +0200, Pearu Peterson wrote: > > Ok, I have now enabled DISTUTILS_USE_SDK for > > AMD64 Windows platform and it seems working.. > > Fantastic, thanks! > > > However, the build still fails but now the

Re: [Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Stefan van der Walt
On Sat, Jul 28, 2007 at 12:54:52AM +0200, Pearu Peterson wrote: > Ok, I have now enabled DISTUTILS_USE_SDK for > AMD64 Windows platform and it seems working.. Fantastic, thanks! > However, the build still fails but now the > reason seems to be related to numpy ticket 164: > >http://projects.

Re: [Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Pearu Peterson
Ok, I have now enabled DISTUTILS_USE_SDK for AMD64 Windows platform and it seems working.. However, the build still fails but now the reason seems to be related to numpy ticket 164: http://projects.scipy.org/scipy/numpy/ticket/164 Pearu I think buildbot is great! _

Re: [Numpy-discussion] Bug with MA and reduce?

2007-07-27 Thread Eric Firing
Ludwig M Brinckmann wrote: > This is a follow-up to an earlier mail that reported a suspected bug in > the reduce/minimum operation of numpy.ma . > > I have tried the same code with the scipy sandbox maskedarray > implementation and that gives me the correct output. For comparis

Re: [Numpy-discussion] getting numPy happening for sciPy

2007-07-27 Thread Zachary Pincus
On Jul 27, 2007, at 2:42 AM, Nils Wagner wrote: > I cannot reproduce the problem concerning #401. It is Mac specific > problem. Am I missing something ? I can't reproduce this problem either. I just yesterday built scipy from SVN on two different OS X 10.4.10 boxes, one using the fortran comp

Re: [Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Pearu Peterson
Stefan van der Walt wrote: > On Fri, Jul 27, 2007 at 04:54:45PM +0200, Pearu Peterson wrote: >> >> Stefan van der Walt wrote: >>> Hi all, >>> >>> The build is still failing on winXP 64-bit, as shown on the buildbot >>> page >>> >>> http://buildbot.scipy.org/Windows%20XP%20x86_64%20MSVC/builds/25/

Re: [Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Stefan van der Walt
On Fri, Jul 27, 2007 at 04:54:45PM +0200, Pearu Peterson wrote: > > > Stefan van der Walt wrote: > > Hi all, > > > > The build is still failing on winXP 64-bit, as shown on the buildbot > > page > > > > http://buildbot.scipy.org/Windows%20XP%20x86_64%20MSVC/builds/25/step-shell/0 > > > > with

Re: [Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Pearu Peterson
Stefan van der Walt wrote: > Hi all, > > The build is still failing on winXP 64-bit, as shown on the buildbot > page > > http://buildbot.scipy.org/Windows%20XP%20x86_64%20MSVC/builds/25/step-shell/0 > > with the error > > AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__

[Numpy-discussion] build on windows 64-bit platform

2007-07-27 Thread Stefan van der Walt
Hi all, The build is still failing on winXP 64-bit, as shown on the buildbot page http://buildbot.scipy.org/Windows%20XP%20x86_64%20MSVC/builds/25/step-shell/0 with the error AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root' Could someone familiar with the MSVC compi

Re: [Numpy-discussion] Bug with MA and reduce?

2007-07-27 Thread Ludwig M Brinckmann
This is a follow-up to an earlier mail that reported a suspected bug in the reduce/minimum operation of numpy.ma. I have tried the same code with the scipy sandbox maskedarray implementation and that gives me the correct output. For comparison: # import numpy.core.ma as MA import maskedarray as M

[Numpy-discussion] Bug with MA and reduce?

2007-07-27 Thread Ludwig M Brinckmann
I have ma.minimum.reduce return a minimum value that does not exist in the array. The following code prints -1 as the minimum of the MA, I believe it should be 1. import numpy shape = (100) data = numpy.ones(shape, numpy.int16) data[2:40] = 3 # dummy data data[45:70] = -999 # null values mask =