From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,52d68177abed9cfd X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!p47g2000hsd.googlegroups.com!not-for-mail From: Ken Newsgroups: comp.lang.ada Subject: Re: Gnat2007 and Ada.Numerics.Generic_Real_Arrays Date: Fri, 01 Jun 2007 02:40:03 -0700 Organization: http://groups.google.com Message-ID: <1180690803.309620.172150@p47g2000hsd.googlegroups.com> References: <4657192c$0$31997$426a74cc@news.free.fr> <1180118827.354442.40590@z28g2000prd.googlegroups.com> <465731e6_6@news.bluewin.ch> <8pxf8i2a7wt3.7a99vxg1jxrr$.dlg@40tude.net> <4657fde5$0$23140$9b4e6d93@newsspool1.arcor-online.net> <1lcmczhoppkjd.4q1t9l4e7k9r.dlg@40tude.net> <1180429010.803225.189850@o5g2000hsb.googlegroups.com> <465c04cf$0$21518$426a74cc@news.free.fr> NNTP-Posting-Host: 152.78.70.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1180690803 6686 127.0.0.1 (1 Jun 2007 09:40:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 1 Jun 2007 09:40:03 +0000 (UTC) In-Reply-To: <465c04cf$0$21518$426a74cc@news.free.fr> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p47g2000hsd.googlegroups.com; posting-host=152.78.70.10; posting-account=IdsfUQ0AAAACyPhSRRrR8av7QBrmQxkF Xref: g2news1.google.com comp.lang.ada:16018 Date: 2007-06-01T02:40:03-07:00 List-Id: On May 29, 11:47 am, Yves Bailly wrote: > Ken wrote: > > [...] > > I have looked at the GNAT2007 and Ada.Generic_Real_Arrays. It needs a > > link to a BLAS/LAPACK library. I have tested it with compiled BLAS/ > > LAPACK with the gnat FORTRAN compiler. Some timing on Windows XP > > (Intel Core 2CPU): to multiply two matrices of size 500 produced a > > rate of 1.17 GFlops/sec. > > Can you share the switches you used? I tried installing LAPACK using > the GNU gfortran compiler, but I still get link errors... > > Thanks. > > YB The library was built using the FORTRAN Compiler in the MinGW installation. The compile options were -O4 >>From gnatmake, the link options were: -largs -LW:\d-drive\LAPACK -llapack_WindowsXP -lblas_WindowsXP -LC: \MinGW\lib -lg2c The libraries refer to those created by G77 and we note the need for some modules from g2c. I have used both Float and Long_Float in instaniations. Hope this helps. Ken