comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: NaN Magic or Why Me?!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: NaN Magic or Why Me?! [message #56750] Tue, 13 November 2007 12:30 Go to next message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
R.G. Stockwell schrieb:
>
> Can you reproduce the problem with a small subset of the code
> (hopefully with some randomly generated data) and post it
> here?
>
>
> Cheers,
> bob
>
>
Hi Bob,

I hope so, but it's a fairly big program. It's getting late here in
Germany, so I'll try to distill things out tomorrow. Thanks for the
interest.

Mort
Re: NaN Magic or Why Me?! [message #56751 is a reply to message #56750] Tue, 13 November 2007 12:08 Go to previous messageGo to next message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
"Mort Canty" <m.canty@fz-juelich.de> wrote in message
news:fhcua7$b06o$1@zam602.zam.kfa-juelich.de...

> The errors occur on an ACER Veriton 7800 with intel P4 650, and Lakeport-G
> i945G chipset running XP Professional SP2. So I guess it has nothing to do
> with the MS update. I get no errors on my ASUS core-duo laptop with the
> same OS (it's not here just now, so I don't know the details). Ditto on an
> older P4 no-name with same software. I'll try a few more, though, thanks.


Can you reproduce the problem with a small subset of the code
(hopefully with some randomly generated data) and post it
here?


Cheers,
bob
Re: NaN Magic or Why Me?! [message #56752 is a reply to message #56751] Tue, 13 November 2007 11:36 Go to previous messageGo to next message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
Rick Towler schrieb:
>
>
> Mort Canty wrote:
>
>> I'd like to post the code so you, too, can amaze your friends,
>> but unfortunately the trick only works on my bloody computer.
>>
>> Seriously, can someone, anyone, tell me might be going on?
>
> How many other computers have you tried this on? Make/Model/Processor?
>
> Just a guess, but MS released "A microcode reliability update that
> improves the reliability of systems that use Intel processors". They're
> talking the Core 2 architecture (Core 2 variants and Xeon 3x and 5x). I
> believe that this was delivered as a critical update via the automagic
> update system so you may already have it installed but it would be worth
> checking.
>
> More info is here: http://support.microsoft.com/kb/936357
>
> -Rick

The errors occur on an ACER Veriton 7800 with intel P4 650, and
Lakeport-G i945G chipset running XP Professional SP2. So I guess it has
nothing to do with the MS update. I get no errors on my ASUS core-duo
laptop with the same OS (it's not here just now, so I don't know the
details). Ditto on an older P4 no-name with same software. I'll try a
few more, though, thanks.

Mort
Re: NaN Magic or Why Me?! [message #56753 is a reply to message #56752] Tue, 13 November 2007 10:42 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mort Canty writes:

> My Spanish is weak-to-nonexistent, David, but Coyote is passing on this
> one, si?

Actually, I think he is somehow involved. It has
his fingerprints all over it. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: NaN Magic or Why Me?! [message #56754 is a reply to message #56753] Tue, 13 November 2007 10:38 Go to previous messageGo to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Mort Canty wrote:

> I'd like to post the code so you, too, can amaze your friends,
> but unfortunately the trick only works on my bloody computer.
>
> Seriously, can someone, anyone, tell me might be going on?

How many other computers have you tried this on? Make/Model/Processor?

Just a guess, but MS released "A microcode reliability update that
improves the reliability of systems that use Intel processors". They're
talking the Core 2 architecture (Core 2 variants and Xeon 3x and 5x). I
believe that this was delivered as a critical update via the automagic
update system so you may already have it installed but it would be worth
checking.

More info is here: http://support.microsoft.com/kb/936357

-Rick
Re: NaN Magic or Why Me?! [message #56755 is a reply to message #56754] Tue, 13 November 2007 10:30 Go to previous messageGo to next message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
David Fanning schrieb:
> Mort Canty writes:
>
>> Seriously, can someone, anyone, tell me might be going on?
>
> Coyote me dijo, "Voy a vacciones de Mexico." No se
> que el va en su lugar. Lo siento. :-(
>
> Adios,
>
> David

My Spanish is weak-to-nonexistent, David, but Coyote is passing on this
one, si?

Mort
Re: NaN Magic or Why Me?! [message #56759 is a reply to message #56755] Tue, 13 November 2007 09:58 Go to previous messageGo to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
Wow that is fun. I have seen this before when I had a misplaced
pointer somewhere, they are ofter hard to find, adding in help, /heap
at various places may help you figure out where it is... if this is
even the problem.




Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
Re: NaN Magic or Why Me?! [message #56760 is a reply to message #56759] Tue, 13 November 2007 09:54 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mort Canty writes:

> Seriously, can someone, anyone, tell me might be going on?

Coyote me dijo, "Voy a vacciones de Mexico." No se
que el va en su lugar. Lo siento. :-(

Adios,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: NaN Magic or Why Me?! [message #56826 is a reply to message #56752] Wed, 14 November 2007 09:45 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Mort Canty wrote:
> Rick Towler schrieb:
>>
>>
>> Mort Canty wrote:
>>
>>> I'd like to post the code so you, too, can amaze your friends,
>>> but unfortunately the trick only works on my bloody computer.
>>>
>>> Seriously, can someone, anyone, tell me might be going on?
>>
>> How many other computers have you tried this on? Make/Model/Processor?
>>
>> Just a guess, but MS released "A microcode reliability update that
>> improves the reliability of systems that use Intel processors".
>> They're talking the Core 2 architecture (Core 2 variants and Xeon 3x
>> and 5x). I believe that this was delivered as a critical update via
>> the automagic update system so you may already have it installed but
>> it would be worth checking.
>>
>> More info is here: http://support.microsoft.com/kb/936357
>>
>> -Rick
>
> The errors occur on an ACER Veriton 7800 with intel P4 650, and
> Lakeport-G i945G chipset running XP Professional SP2. So I guess it has
> nothing to do with the MS update. I get no errors on my ASUS core-duo
> laptop with the same OS (it's not here just now, so I don't know the
> details). Ditto on an older P4 no-name with same software. I'll try a
> few more, though, thanks.

Since you code runs fine on 2 out of 3 computers the problem most likely
is hardware based. Since you've swapped your SO-DIMM, and this is a
laptop, you don't have many options left.

RAM->BIOS->Heat->Power

Even late in a processor's life cycle, there are a number of "errata"
that exist. Generally workarounds are implemented either in the BIOS or
in the OS. I would get the latest BIOS available for your laptop.
Also, try disabling hyperthreading in the BIOS. You never know...

If your processor has active cooling ensure that the fan and heatsink
are clean and that the fan spins freely. If this is an actual P4 650
"Prescott", aka Pres-Hot, heat is a real issue. Stick it in the
refrigerator while you test it.

Power issues are tricky to diagnose in laptops but if the above steps
don't help, and you tend to get errors while the system is loaded, there
could be components in your AC/DC adapter or the regulators on the
mainboard that are marginal. All you really can do is look for obvious
defects like bulging or leaking capacitors or swap the adapter if you can.

HTH,

-r
Re: NaN Magic or Why Me?! [message #56830 is a reply to message #56751] Wed, 14 November 2007 06:48 Go to previous message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
R.G. Stockwell schrieb:
> "Mort Canty" <m.canty@fz-juelich.de> wrote in message
> news:fhcua7$b06o$1@zam602.zam.kfa-juelich.de...
>
>> The errors occur on an ACER Veriton 7800 with intel P4 650, and Lakeport-G
>> i945G chipset running XP Professional SP2. So I guess it has nothing to do
>> with the MS update. I get no errors on my ASUS core-duo laptop with the
>> same OS (it's not here just now, so I don't know the details). Ditto on an
>> older P4 no-name with same software. I'll try a few more, though, thanks.
>
>
> Can you reproduce the problem with a small subset of the code
> (hopefully with some randomly generated data) and post it
> here?
>
>
> Cheers,
> bob
>

Having reduced the code, as you suggested, to what I assumed to be "the
essentials", the problem disappeared. So now I'll have to put back "the
inessentials" one-by-one until the NaNs re-appear. Tedious, but maybe
also a good way of tracking it down. I'll get back here later (I hope).

Cheers,

Mort
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: disk with hole
Next Topic: IDLdoc 3.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:39:39 PDT 2025

Total time taken to generate the page: 0.00662 seconds