[Numpy-discussion] Numpy.test() hangs
Charles R Harris
charlesr.harris@gmail....
Tue Nov 11 12:32:13 CST 2008
On Tue, Nov 11, 2008 at 11:13 AM, Charles R Harris <
charlesr.harris@gmail.com> wrote:
>
>
> On Tue, Nov 11, 2008 at 11:00 AM, Charles R Harris <
> charlesr.harris@gmail.com> wrote:
>
>>
>>
>> On Tue, Nov 11, 2008 at 10:33 AM, James Philbin <philbinj@gmail.com>wrote:
>>
>>> Python 2.5.2 (r252:60911, Oct 5 2008, 19:29:17)
>>> [GCC 4.3.2] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import numpy
>>> >>> numpy.__version__
>>> '1.3.0.dev6005'
>>> >>> numpy.test(verbosity=2)
>>> ...
>>> test_umath.TestLogAddExp.test_logaddexp_values ...
>>>
>>> The test hangs at the last line and never progresses further.
>>>
>>
>> Ah good, some of the buildbots are doing this also and I'm trying to track
>> it down. I don't see it on my machine. Could you post your compiler version?
>> I suspect a library problem. Meanwhile I'll comment out the offending
>> tests... and add some that might hang in more informative places.
>>
>
> Oops, I see your compiler/python version is already there. Mine are
>
> Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:51)
> [GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> Can you try checking the functions log1p and exp separately for all three
> floating types? Something like
>
> >>> import numpy as np
> >>> np.log1p(np.ones(1, dtype='f')*3)
> array([ 1.38629436], dtype=float32)
> >>> np.log1p(np.ones(1, dtype='d')*3)
> array([ 1.38629436])
> >>> np.log1p(np.ones(1, dtype='g')*3)
> array([1.3862944], dtype=float96)
>
>
> And the same with the exponential function.
>
It looks like log1pf is borked on some machines. Do you have any CFLAGS in
your environment? Meanwhile, the bsd buildbot has suddenly lost the ability
to find csqrt in linalg... It's Halloween all over again.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081111/28baf277/attachment.html
More information about the Numpy-discussion
mailing list