From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,ccf822f8fbab151f X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,88717a25b87bd0ae X-Google-Attributes: gid111c93,public From: ghsong@ardour.kjist.ac.kr (G. Hugh SONG) Subject: Re: Double Complex with egcs (was Disappointing alpha) Date: 1998/08/25 Message-ID: <6rt6g2$ifo$1@news.kjist.ac.kr>#1/1 X-Deja-AN: 384403829 References: <6rqkmt$rbp$1@news.kjist.ac.kr> <6rscn0$a7l@news1.newsguy.com> To: lindahl@pbm.com (Greg Lindahl) Organization: KJIST, KwangJu, KOREA Newsgroups: comp.lang.fortran,comp.os.linux.alpha 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