warning: Numeric and amd64

On my AMD64 (using pre-compiled version as packaged by enthought) I get the expected results from RandomArray under Numeric ie:
>>> from RandomArray import *
>>> normal(2,2,10)
array([-0.43560529, 2.67296922, 0.84804749, 4.26332831, 0.64425385, 3.43939352,
             4.07021809, 3.6235764 , 2.93580639, 1.81101392])

Jon

Message: 3
From: =?iso-8859-1?q?Fl=E1vio_Code=E7o_Coelho?= <fccoelho@...35...>
Organization: PROCC-Fiocruz
To: matplotlib-users@lists.sourceforge.net
Date: Fri, 1 Oct 2004 17:06:10 +0000
Subject: [Matplotlib-users] warning: Numeric and amd64

Hi,

look at this:

from RandomArray import *
       

normal(2,2,10)
       

array([ 2., 2., 2., 2., 2., 2., 2., 2., 2., 2.])

This is Numeric 23.1 compiled on my AMD64!!! I ran the same tests on a 32bit P4 and it ran fine.
Has anyone else seen this before?

For those that didn't understand, the normal function as called above, is supposed to give me ten samples form a normal distribution with mean = 2 and standard deviation = 2

luckily:

from numarray.random_array import *
       

normal(2,2,10)
       

array([-0.04525638, 4.31467819, -0.17468357, 5.29377031, 0.84202135,
       5.29593539, 4.69651532, 1.61354655, 1.10839236, 1.7743317 ])

If anybody still needed a reason for switching to numarray, there you go!

I anybody here subscribes the numeric or numarray mailing lists (i.e. if they even exist) could you please forward this message to them?

Flavio

This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

On my AMD64 (using pre-compiled version as packaged by enthought) I get

the expected results from RandomArray under Numeric ie:
>>> from RandomArray import *
>>> normal(2,2,10)

array([-0.43560529, 2.67296922, 0.84804749, 4.26332831, 0.64425385,
3.43939352,
             4.07021809, 3.6235764 , 2.93580639, 1.81101392])

Jon

Jon,

was you pre compiled Numeric compile for amd64 or for x86?

I think this is a result of the compilation .

Flavio

···

On Monday 04 October 2004 09:27, Jon Peirce wrote:

>Message: 3
>From: =?iso-8859-1?q?Fl=E1vio_Code=E7o_Coelho?= <fccoelho@...35...>
>Organization: PROCC-Fiocruz
>To: matplotlib-users@lists.sourceforge.net
>Date: Fri, 1 Oct 2004 17:06:10 +0000
>Subject: [Matplotlib-users] warning: Numeric and amd64
>
>Hi,
>
>look at this:
>>>>>>> from RandomArray import *
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> normal(2,2,10)
>
> array([ 2., 2., 2., 2., 2., 2., 2., 2., 2., 2.])
>
>This is Numeric 23.1 compiled on my AMD64!!! I ran the same tests on a
> 32bit P4 and it ran fine.
>Has anyone else seen this before?
>
>For those that didn't understand, the normal function as called above, is
>supposed to give me ten samples form a normal distribution with mean = 2
> and standard deviation = 2
>
>luckily:
>>>>>>> from numarray.random_array import *
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> normal(2,2,10)
>
>array([-0.04525638, 4.31467819, -0.17468357, 5.29377031, 0.84202135,
> 5.29593539, 4.69651532, 1.61354655, 1.10839236, 1.7743317 ])
>
>If anybody still needed a reason for switching to numarray, there you go!
>
>I anybody here subscribes the numeric or numarray mailing lists (i.e. if
> they even exist) could you please forward this message to them?
>
>Flavio

This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

> On my AMD64 (using pre-compiled version as packaged by enthought) I get
>
> the expected results from RandomArray under Numeric ie:
> >>> from RandomArray import *
> >>> normal(2,2,10)
>
> array([-0.43560529, 2.67296922, 0.84804749, 4.26332831, 0.64425385,
> 3.43939352,
> 4.07021809, 3.6235764 , 2.93580639, 1.81101392])
>
> Jon

Jon,

was you pre compiled Numeric compile for amd64 or for x86?

I think this is a result of the compilation .

Flavio

Pearu Peterson, the guy who does f2py for SciPy, also commented
recently on numpy-discussion@...258... that he had found and fixed
this problem in Numeric for SciPy. He posted a patch which I also
applied to Numeric on Source Forge; that is still unreleased. The
contents of the patch were already in numarray.random_array.

Todd

···

On Mon, 2004-10-04 at 10:43, Flávio Codeço Coelho wrote:

On Monday 04 October 2004 09:27, Jon Peirce wrote:

> >Message: 3
> >From: =?iso-8859-1?q?Fl=E1vio_Code=E7o_Coelho?= <fccoelho@...35...>
> >Organization: PROCC-Fiocruz
> >To: matplotlib-users@lists.sourceforge.net
> >Date: Fri, 1 Oct 2004 17:06:10 +0000
> >Subject: [Matplotlib-users] warning: Numeric and amd64
> >
> >Hi,
> >
> >look at this:
> >>>>>>> from RandomArray import *
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> normal(2,2,10)
> >
> > array([ 2., 2., 2., 2., 2., 2., 2., 2., 2., 2.])
> >
> >This is Numeric 23.1 compiled on my AMD64!!! I ran the same tests on a
> > 32bit P4 and it ran fine.
> >Has anyone else seen this before?
> >
> >For those that didn't understand, the normal function as called above, is
> >supposed to give me ten samples form a normal distribution with mean = 2
> > and standard deviation = 2
> >
> >luckily:
> >>>>>>> from numarray.random_array import *
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> normal(2,2,10)
> >
> >array([-0.04525638, 4.31467819, -0.17468357, 5.29377031, 0.84202135,
> > 5.29593539, 4.69651532, 1.61354655, 1.10839236, 1.7743317 ])
> >
> >If anybody still needed a reason for switching to numarray, there you go!
> >
> >I anybody here subscribes the numeric or numarray mailing lists (i.e. if
> > they even exist) could you please forward this message to them?
> >
> >Flavio
>
> This message has been scanned but we cannot guarantee that it and any
> attachments are free from viruses or other damaging content: you are
> advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--