Re: what's the ifc corresponding argument for -bp in absoft f90

From: Steve Lionel (Steve.Lionel_at_intel.com)
Date: 10/20/03


Date: Mon, 20 Oct 2003 14:23:11 -0400

On Mon, 20 Oct 2003 14:01:07 -0400, "Shi Jin" <jinzishuai@hotmail.com> wrote:

>But we have a way to overcome this problem under absoft f90 compiler --
>using the -dp option. Here is the description from the man page:
> -dp Causes variables declared in a DOUBLE PRECISION or DOUBLE
> COMPLEX statement and constants specified with the D expo-
> nent character to be converted to the default real kind.
>
>This works!
>
>But for the intel ifc compiler for linux, we are having trouble finding out
>what's the corresponding switch .
>Could anybody help us out here?

I'm a bit confused. Typically, an option such as this makes the default real
kind be double precision. The Intel equivalent is -r8. And I'd think this
would solve your problem, But the Absoft man page description makes no sense
to me - it is saying that things you declare as double precision get treated
as if they were single precision! Is that really what you want? (And is that
really what it does?) If so, Intel Fortran does not have such an option.

Compaq Visual Fortran Support: http://compaq.com/fortran/support/visual.html
Intel Fortran Support: http://developer.intel.com/software/products/support/
Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH

User communities for Intel Fortran and Compaq Visual Fortran:
  http://intel.com/IDS/forums/fortran


Quantcast