For Programmers: Free Programming Magazines  


Home > Archive > Fortran > July 2004 > newbie question: nag90 and lf95









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author newbie question: nag90 and lf95
JaSeong Ju

2004-07-28, 9:06 pm

Hi,

I have nag90 library and lahey-fujitsu's lf95 compiler.
I'm trying to compile something in lf95 using
nag90 modules but its not working.

Do I have to use NAG's f95 compiler to be able to
use its libraries? I noticed that nag's modules
are readable while modules produced by lf95 are
unreadable. It seems inconsistent.

Thanks.
Jan Vorbrüggen

2004-07-28, 9:06 pm

> Do I have to use NAG's f95 compiler to be able to
> use its libraries?


Yes. The format of the file generated by a module usually
is very specific to a compiler - it may be a straight binary
dump of its internal symbol tables, for instance. I don't
know of any two compilers that produce compatible module files.

Jan
beliavsky@aol.com

2004-07-28, 9:06 pm


=?ISO-8859-1?Q?Jan_Vorbr=FCggen?= <jvorbrueggen-not@mediasec.de> wrote:
>
>Yes. The format of the file generated by a module usually
>is very specific to a compiler - it may be a straight binary
>dump of its internal symbol tables, for instance. I don't
>know of any two compilers that produce compatible module files.


It is true that if you create a library from your Fortran 90 code using the
NAG F90 compiler, the library will not be callable from another compiler.


I think the OP was asking about using the precompiled NAG Fortran math library
with Lahey Fortran. NAG sells its math library for numerous compiler/operating
system/hardware configurations, and whether the library is compatible with
LF depends on which version of the library he bought. He should consult the
documentation of the NAG library and/or consult his system administrator
or NAG technical support.



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com