* Re: Double Complex with egcs (was Disappointing alpha) [not found] ` <6rplrm$9f8$1@newnews.nl.uu.net> @ 1998-08-24 4:00 ` G. Hugh SONG 1998-08-24 4:00 ` Greg Lindahl 0 siblings, 1 reply; 3+ messages in thread From: G. Hugh SONG @ 1998-08-24 4:00 UTC (permalink / raw) To: Toon Moene In article <6rplrm$9f8$1@newnews.nl.uu.net>, Toon Moene <toon@moene.indiv.nluug.nl> writes: > ghsong@NOSPAMkjist.ac.kr (G. Hugh SONG) wrote: > > > What is the current status of g77's optimization for double-precision > > complex arithmetic? We test-ran a program (Schrodinger time-evolution > > equation) on a newly bought alpha 21164LX workstation running Linux. > > Unfortunately, the result was very disappointing. From collected info, > > the most suspicious point is double complex on g77. > > See: > > http://www.cygnus.com/ml/egcs-bugs/1998-Apr/0117.html > > and > > http://www.cygnus.com/ml/egcs-bugs/1998-Apr/0245.html > > Hope this helps, > > -- > Toon Moene (mailto:toon@moene.indiv.nluug.nl) Hi, Toon, That's it. Thank you, Toon. I surely have a bunch of the following segements in my code. In your old article, you showed >> do m = m1,m2 >> z1=z1 + x(m,l)*y(m,k) >> end do Then, to work around this trouble, should I program everything in double real by expanding the complex arithmetic? It is a real pain. Anyway, http://www.cygnus.com/ml/egcs-bugs/1998-Apr/0245.html explains why the 1-year-old g77-executable on Sun Ultra I is as fast as the new egcs-executable on ALpha. Thanks a lot, everybody. G. Hugh Song PS: Please remove NOSPAM when replying. Sorry for that. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Double Complex with egcs (was Disappointing alpha) 1998-08-24 4:00 ` Double Complex with egcs (was Disappointing alpha) G. Hugh SONG @ 1998-08-24 4:00 ` Greg Lindahl 1998-08-25 4:00 ` G. Hugh SONG 0 siblings, 1 reply; 3+ messages in thread From: Greg Lindahl @ 1998-08-24 4:00 UTC (permalink / raw) > >> do m = m1,m2 > >> z1=z1 + x(m,l)*y(m,k) > >> end do > > Then, to work around this trouble, should I program everything in > double real by expanding the complex arithmetic? It is a real pain. No, g77 does this for you by default. This produces correct but slow answers. If you give the other flag, -fno-emulate-complex, you may get the wrong answer, but it will be faster. If you run with and without this flag and compare the answer, you will find out if you have encountered a bug or not. -- g ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Double Complex with egcs (was Disappointing alpha) 1998-08-24 4:00 ` Greg Lindahl @ 1998-08-25 4:00 ` G. Hugh SONG 0 siblings, 0 replies; 3+ messages in thread From: G. Hugh SONG @ 1998-08-25 4:00 UTC (permalink / raw) To: Greg Lindahl In article <6rscn0$a7l@news1.newsguy.com>, lindahl@pbm.com (Greg Lindahl) writes: > > >> do m = m1,m2 > > >> z1=z1 + x(m,l)*y(m,k) > > >> end do > > > > Then, to work around this trouble, should I program everything in > > double real by expanding the complex arithmetic? It is a real pain. > > No, g77 does this for you by default. This produces correct but slow > answers. > > If you give the other flag, -fno-emulate-complex, you may get the > wrong answer, but it will be faster. If you run with and without this > flag and compare the answer, you will find out if you have encountered > a bug or not. > > -- g We tried -fno-emulate-complex, the compilation balks at caxpy.f of BLAS with an error messages such as "Internal compiler error". Thus, I tried to "make" only the double and double complex objects. Then, the compilation balks at trsv?.f or something. I concluded that egcs can only be used for heavy complex arithmetic accepting a factor of at least two speed-penalty. Anyway, I found that my code is not special in any way. What is the price range of DU with DECFortran for a single-workstation license for academic users. Probably we need a minimal set of manuals. Thanks a lot. Best regards,-- G. Hugh Song ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-08-25 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <6rotmd$dqe$1@news.kjist.ac.kr>
[not found] ` <6rplrm$9f8$1@newnews.nl.uu.net>
1998-08-24 4:00 ` Double Complex with egcs (was Disappointing alpha) G. Hugh SONG
1998-08-24 4:00 ` Greg Lindahl
1998-08-25 4:00 ` G. Hugh SONG
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox