|
From: miguel m. <jj...@gm...> - 2004-07-26 08:35:05
|
hi all, i'm experiencing random floating point errors (echo $? = 136). i'm using debian, kernel is 2.4.25-co-0.6.0. with random, i mean sometimes it works and sometimes it results to an error. i'm experiencing this on gnucap. i have a program that simulates lots of circuits continuously, then it halts because gnucap would produce 'NaN.' when i simulate the offending ckt again, i get a number instead of NaN (if i don't get the floating point exception) thanks |
|
From: Henry N. <Hen...@ar...> - 2004-08-03 18:04:17
|
Hello miguel! I never hear about "gnucap", NaN and other things in your mail. It's a graphic tool? Can you run this in standard debian distribution? Have you a some source lines in C, so anybody can check, what do you means? You say the errorcode is 136? So thats fine: Search this number in your source or in source of the tools lib header files that you use! And also check this in other distributions such Knoppix. I think, it's no colinux problem. Henry miguel manese wrote: > hi all, > > i'm experiencing random floating point errors (echo $? = 136). i'm > using debian, kernel is 2.4.25-co-0.6.0. with random, i mean sometimes > it works and sometimes it results to an error. > > i'm experiencing this on gnucap. i have a program that simulates lots > of circuits continuously, then it halts because gnucap would produce > 'NaN.' when i simulate the offending ckt again, i get a number instead > of NaN (if i don't get the floating point exception) > > thanks > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > |
|
From: <ti...@fu...> - 2004-08-03 18:17:27
|
Wasn't there a bug in earlier colinux version that caused fpu state sometimes not completely managed between colinux and host os..? On Tue, 3 Aug 2004, Henry Nestler wrote: > Hello miguel! > > I never hear about "gnucap", NaN and other things in your mail. > It's a graphic tool? Can you run this in standard debian distribution? > Have you a some source lines in C, so anybody can check, what do you means? > > You say the errorcode is 136? So thats fine: Search this number in your > source or in source of the tools lib header files that you use! > > And also check this in other distributions such Knoppix. > I think, it's no colinux problem. > > Henry > > miguel manese wrote: > > hi all, > > > > i'm experiencing random floating point errors (echo $? = 136). i'm > > using debian, kernel is 2.4.25-co-0.6.0. with random, i mean sometimes > > it works and sometimes it results to an error. > > > > i'm experiencing this on gnucap. i have a program that simulates lots > > of circuits continuously, then it halts because gnucap would produce > > 'NaN.' when i simulate the offending ckt again, i get a number instead > > of NaN (if i don't get the floating point exception) > > > > thanks > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > coLinux-users mailing list > > coL...@li... > > https://lists.sourceforge.net/lists/listinfo/colinux-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > -- timo |
|
From: miguel m. <jj...@gm...> - 2004-08-04 01:57:13
|
thanks to those who have replied. I've just upgraded to 0.6.1 from 0.6.0, and I think things became worst. For proper context, I'd try to explain what I'm doing. I have a lisp program (in cmucl) that generates tons of circuits (~100k). This is piped to (a modified) gnucap, a circuit simulator and then my lisp program gets the simulation result and do some stuff with it. I'm doing this on my "job" pc, which is in windows and there is no windows port of cmucl (gnucap too, but that is hack-able) that's why I have to go through the colinux route. cygwin won't do. Last time on 0.6.0, cmucl is spitting "Floating point exception|error|something-to-that-effect" and then I apt-get upgrade-d and then cmucl stopped doing that. Then in the middle of the program it would suddenly halt because gnucap generated NaN, which is not expected. I simulate the offending circuit and, if gnucap won't abort and return 139, I don't see that NaN. On Tue, 3 Aug 2004 21:17:17 +0300 (EEST), ti...@fu... <ti...@fu...> wrote: > > Wasn't there a bug in earlier colinux version that caused fpu state > sometimes not completely managed between colinux and host os..? I am not aware of this. So I guess it just can't be done (for now). > On Tue, 3 Aug 2004, Henry Nestler wrote: > > You say the errorcode is 136? So thats fine: Search this number in your > > source or in source of the tools lib header files that you use! I think this is in the kernel headers, and probably corresponds to some floating point error =) |
|
From: <ti...@fu...> - 2004-08-04 07:11:40
|
> I've just upgraded to 0.6.1 from 0.6.0, and I think things became > worst. For proper context, I'd try to explain what I'm doing. I have a ... http://www.colinux.org/snapshots/ Have a look at NEWS: * Version 0.6.2 ... * Bug fix: Proper floating point state preservation in the Linux guest. coLinux now passes the flops20 test program. ... So maybe you have better luck with colinux-20040710,exe... -- timo |
|
From: miguel m. <jj...@gm...> - 2004-08-04 09:07:19
|
kewl-ness, it now works fine! thanks! jon On Wed, 4 Aug 2004 10:11:37 +0300 (EEST), ti...@fu... <ti...@fu...> wrote: > > > I've just upgraded to 0.6.1 from 0.6.0, and I think things became > > worst. For proper context, I'd try to explain what I'm doing. I have a > .... > > http://www.colinux.org/snapshots/ > > Have a look at NEWS: > > * Version 0.6.2 > .... > * Bug fix: Proper floating point state preservation in the Linux > guest. coLinux now passes the flops20 test program. > .... > > So maybe you have better luck with colinux-20040710,exe... > > -- > timo > > |