For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2004 > compiling Fortran code with standard DFLIB Library









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 compiling Fortran code with standard DFLIB Library
Mathieu Fregeau

2004-05-04, 3:05 pm

Hi

How to specify at compilation that I want to use a standard Fortran Library?

in C language, I use the tag -l<key> (per example -lm for mathematical
library)

so, per example, I use the DFLIB like this:
subroutine mysub()
USE DFLIB
....
end

how to specify the use of the DFLIB at compilation? I am using xlf under AIX
system.

thanks

Mathieu


Steve Lionel

2004-05-04, 3:05 pm

On Mon, 03 May 2004 17:59:45 GMT, "Mathieu Fregeau"
<mathieu.fregeau@polymtl.ca> wrote:

>How to specify at compilation that I want to use a standard Fortran Library?
>
>in C language, I use the tag -l<key> (per example -lm for mathematical
>library)
>
>so, per example, I use the DFLIB like this:
>subroutine mysub()
>USE DFLIB
>...
>end
>
>how to specify the use of the DFLIB at compilation? I am using xlf under AIX
>system.


DFLIB is not a "standard Fortran library" (except perhaps to a certain
individual who frequents this newsgroup - hi, Dave... :-) ) It is a
vendor-specific library from Compaq (or Digital) Visual Fortran and is not
available for AIX.

You will need to find the routines used from DFLIB and see if there are
equivalent routines on AIX. Start by taking out the USE DFLIB and see what
complains. You may be using widely implemented routines such as GETARG that
are easy to deal with.


Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
Sponsored Links







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

Copyright 2008 codecomments.com