From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2627 invoked from network); 28 Mar 1999 18:32:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Mar 1999 18:32:50 -0000 Received: from mail13.digital.com (mail13.digital.com [192.208.46.30]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA26544 for ; Sun, 28 Mar 1999 13:17:36 -0500 Received: from perf.zko.dec.com (perf.zko.dec.com [16.31.144.83]) by mail13.digital.com (8.9.2/8.9.2/WV2.0e) with ESMTP id NAA17907; Sun, 28 Mar 1999 13:17:34 -0500 (EST) Received: from localhost by perf.zko.dec.com (8.8.8/1.1.10.5/07Mar97-1056AM) id NAA0000001379; Sun, 28 Mar 1999 13:17:33 -0500 (EST) Date: Sun, 28 Mar 1999 13:17:33 -0500 (EST) From: Phillip Ezolt To: Feiguin cc: axp-list@redhat.com Subject: Re: Digital math libs for Linux In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Adrian, I also am using the NAG f90/5 compiler. I have an UNSUPPORTED hack that I used to get it to work. It turns out that NAG actually uses gcc to do its linking. You have to compile all of the object files individually with NAG and then link with the following command: /usr/bin/gcc -o output_file object1.o object2.o object3.o -Wl,-rpath,/usr/local/lib/NAGWare /usr/local/lib/NAGWare/libf95.so /usr/local/lib/NAGWare/libf95.a -lcpml -lm The final -lm is necessary because some unresolved symbols remain in the NAG libraries. (atan2.. I think) The CPML people know the problem and are working on it. (This procedure also works for ffm) --Phil Digital/Compaq: HPSD/Benchmark Performance Engineering Phillip.Ezolt@compaq.com ezolt@perf.zko.dec.com On Fri, 26 Mar 1999, Feiguin wrote: > I realized that compaq released the cpml (compaq portable math libs), the > DEC math libs compiled for Linux. I'd like to understand a couple of > points that are not clear for me: > > * Can this libs be a replacement for libm, taking into account that > they seem to be many times faster? > > * Can I link this libs with my NAG Fortran compiler, instead of libm? > > * How do I do it? > > Thanks for any hint. > > > Sorry for asking this but I'm not up to date with this topic and the list > seems to not be archived since february. > > > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > >