pro64-support
[Top] [All Lists]

Re: IA 64 fortran compiler and getargs

To: "Ross A. Towle" <rat@xxxxxxxxxxxxxxxxxxx>
Subject: Re: IA 64 fortran compiler and getargs
From: Dan Kidger <d.kidger@xxxxxxxxx>
Date: Wed, 14 Mar 2001 17:58:30 +0000
Cc: pro-64 <pro64-support@xxxxxxxxxxx>
Organization: Manchester Computing
References: <3AAF24B5.225034B3@xxxxxxxx> <10103140944.ZM90327@xxxxxxxxxxxxxxxxxxx>
Sender: owner-pro64-support@xxxxxxxxxxx
Dear Ross,

"Ross A. Towle" wrote:
> 
> getarg and iargc are part of the Pro64 release 0.13.
> 
> -Ross
> 
> A snippet from the man page for them (man pages are being written)

The functions getarg and iargc in pro-64 appear to be the same as on most Unix
platforms.

The question is which library are they in:

For example in the following code, f90 under Irix doesn't need a library to
resolve getarg and iargc, but I have never found how to lik to them on our
Troon boxes....

program test_command_line_args

    integer :: i,nargs, iargc
    character :: argument*30

    nargs=iargc()
    print*,' The ',narg,' arguments you gave were...'
    do i=1,nargs
      call getarg(i,argument)
      print*,i,argument
    enddo
end



Yours,
Daniel

-----------------------------------------------------------------------
Dr. Daniel Kidger                               | E: d.kidger@xxxxxxxxx
High Performance Computing Group                | W: www.csar.cfs.ac.uk
Manchester Computing, University of Manchester, | T:   +44 161 275 7038
Oxford Road, Manchester, M13 9PL, UK            | F:   +44 161 275 6800
--------------------Q: what's up ?   A: X cross Z ---------------------

<Prev in Thread] Current Thread [Next in Thread>