From: Phillip Ezolt <ezolt@perf.zko.dec.com>
To: Feiguin <feiguin@ifir.ifir.edu.ar>
Cc: axp-list@redhat.com
Subject: Re: Digital math libs for Linux
Date: Sun, 28 Mar 1999 13:17:33 -0500 (EST) [thread overview]
Message-ID: <Pine.OSF.3.96.990328131012.357B-100000@perf.zko.dec.com> (raw)
In-Reply-To: <Pine.BSF.3.96.990326180849.19956A-100000@ifir>
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.
> <ADRIAN>
>
> 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
>
>
>
next prev parent reply other threads:[~1999-03-28 18:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-26 18:09 Digital math libs for Linux Feiguin
1999-03-26 21:55 ` Jim Gettys
1999-03-28 18:17 ` Phillip Ezolt [this message]
1999-05-01 17:05 ` video card for UDB Roman Martonak
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox