Re: amber-developers: fortran 90/95 question

From: Scott Brozell <sbrozell.scripps.edu>
Date: Thu, 1 Apr 2004 12:49:02 -0700

Hi,

According to the F77 standard and thus the F90 standard
          the following forms are allowed:

                     CALL ___
                     CALL ___ ()
                     CALL ___ (_)
etc
http://www.fortran.com/fortran/F77_std/f77_std.html

On Tue, 30 Mar 2004, James W. Caldwell wrote:

> While I'd love to get to the bottom of the problem, I'm have to
> be pragmatic...the pressure to get this project going is building
> so I'll just comment out the "()"s for the moment and stumble
> ahead (and quit whining about my lack of f9x knowledge).

I suggest submitting a bug report to 'premier' support ...

Scott

> On Tue, 2004-03-30 at 11:23, Robert Duke wrote:
> > Jim -
> > I would point out that I would not trust ifort 8 to be a
> > particularly correct implementation of any language standard at the
moment -
> > ----- Original Message -----
> > From: "James W. Caldwell" <jimc.stanford.edu>
> > To: <amber-developers.scripps.edu>
> > Sent: Tuesday, March 30, 2004 1:45 PM
> > Subject: amber-developers: fortran 90/95 question
> >
> > > In the sander8 code I find constructs like:
> > > ...
> > > call sub()
> > > ...
> > > subroutine sub()
> > > some code
> > > return
> > > end subroutine sub
> > >
> > > While I'm familiar (sorta) with the empty "()" of C, I'm completely
> > > puzzled why this would be used in Fortran. The reason I'm curious
> > > is that this construct causes problems in VisualStudio.Net mixed
> > > C and Fortran (Intel ifort) programing (I'm supposed to be melding
> > >
> > > When the "()" are in, the program crashes when "sub" is called.
> > > If I simply remove "()" all is fine.
> > >
> > > Comments?
> > >
> > > thanks,
> > > jim
Received on Wed Apr 05 2006 - 23:50:03 PDT
Custom Search