public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Optimisation and float problem
@ 2001-03-12  1:15 lelievre tony
  0 siblings, 0 replies; only message in thread
From: lelievre tony @ 2001-03-12  1:15 UTC (permalink / raw)
  To: gcc-help

I work with a finite element code in C++. This program works well on SGI (Octane R12000, Origin200 4 * R10000).

I have tried to compile it on a PC under Windows NT. The PC is a PC Compaq AP550 833 Mhz avec 1 Go de RAM. I use Cygwin and gcc-2.95. I also use gcc-2.95 on SGI.

The problem is the following :
- when I compile with the same option as on SGI (-O2), one of the calculation (inversion of a matrix by an iterative procedure : GMRES) leads to NaN result, whereas it works well on SGI.
- when I compile with no optimisation, it also works on PC, but the time of computation is doubled...

I would like to know which of the optimisation of -O2 I should turn off to make it work well. I have already tried -O2 -ffloart-store, with no success.

Or perhaps the problem may have an other solution...

Any clue ?

Thanks a lot,

Tony LELIEVRE.

Francemail 
Votre email gratuit.
http://www.francemail.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-12  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12  1:15 Optimisation and float problem lelievre tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).