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

From: Alberto Ramos (alberto_at_martin.ft.uam.es)
Date: 10/21/03

  • Next message: Steven Bornal: "Re: Frm-90928"
    Date: Tue, 21 Oct 2003 00:15:59 +0000 (UTC)
    
    

      Clearly what you have to do is to fix the code. It can't be difficult, open
    the .f90 file with any "decent" editor and change *all* the dsin( to sin(, etc
    with this your code will be "standard" and you won't have any problem. This is
    clearly the best solution.

      Hope it works.

      Alberto.

    In article <uefzhn69a1.fsf@altair.dfrc.nasa.gov>, Richard Maine wrote:
    > "Shi Jin" <jinzishuai@hotmail.com> writes:
    >
    >> program ifctest
    >> real*8::x
    >> real::y
    >>
    >> x=1.0d0
    >> y=1.0
    >> print *,dsin(x),dsin(y)
    > ...
    >> The problem is dsin(y) where y is a single precision floating point while
    >> the expected argument of dsin is a double precision.
    >> Basically this is the code's problem.
    >
    > Yes. Guess I have to ask why you don't just fix the code?
    > There is almost never any good reason to use specific intrinsics
    > like dsin in the first place. You really ought to remove all
    > references to them from the code.
    >
    >> But we have a way to overcome this problem under absoft f90 compiler --
    >> using the -dp option.
    >
    > Is this the *ONLY* reason you are using the -dp option? To make
    > illegal calls to specific intrinsics compile? The -dp option
    > has *FAR* more implications than that. If this was the only reason
    > you were using -dp, I'd have to expect that it would break
    > more things than it would fix. I'm guessing that the code needs
    > the -dp option for more reasons than this and that this is just the
    > first symptom that you noticed.
    >
    > I generally advise people to fix codes that need things like -dp,
    > but I recognize that sometimes that can be too much work to be
    > practical. I'll give you that advice also, with the same caveat.
    > If your only problem is the specific intrinsics, then I have
    > difficulty in believing that it is impractical to fix them.
    > (Sometimes things that I have difficulty in believing turn out
    > to be true anyway). If the problem goes deeper, then your job
    > might be harder.
    >
    >> But for the intel ifc compiler for linux, we are having trouble finding out
    >> what's the corresponding switch .
    >
    > I don't off-hand know. I'm pretty sure that the compiler docs come
    > with documentation of all the switches, though if I recall correctly,
    > there are so many of them that it might well be hard to find the one
    > you need. I wouldn't guarantee that it necessarily has such a switch.
    > Not all compilers do. That's part of why I recommend fixing codes that
    > need such a switch.
    >


  • Next message: Steven Bornal: "Re: Frm-90928"

    Relevant Pages

    • Re: whats the ifc corresponding argument for -bp in absoft f90
      ... > The problem is dsinwhere y is a single precision floating point while ... Guess I have to ask why you don't just fix the code? ... Is this the *ONLY* reason you are using the -dp option? ... I wouldn't guarantee that it necessarily has such a switch. ...
      (comp.lang.fortran)
    • Re: HELP: Williams System 7 Solenoid Woes
      ... I've been trying to fix this on my own for a while now, ... once it has been on for about a minute, the pop-bumper locks up again. ...  I love this game and really ... the switch closing it. ...
      (rec.games.pinball)
    • Re: MWC (17/10/07)
      ... Fix my DC, or give up and buy a new one. ... I think it was actually you who suggested a month or two ago that the lid ... Dreamcasts have that switch on a separate little daughterboard, ... just some wires leading outside. ...
      (uk.games.video.misc)
    • Re: Cant switch Identities
      ... > This is the second time I've experienced this problem. ... If I try to switch again, OE looks like it starts to ... > assuming the fix is somehow included in one of the more recent ... If installing that fix is the wrong ...
      (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
    • URL: Can somebody send me the delphi 7.1 link.
      ... I am sick and tired of this program even so that i may switch to a ... different compiler ... hopefully the update might fix the many bugs. ...
      (borland.public.delphi.non-technical)