Hi Bob,
Your point about ifort is well taken, I have trouble keeping up with
the Windows side updates (Not that I'm all that sure that VS.NET 2003
is super stable either).
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).
jim
On Tue, 2004-03-30 at 11:23, Robert Duke wrote:
> Jim -
> If it were my problem I would read the mixed language programming
sections
> for both language implementations, and then do assembler dumps of sample
> code both ways. I cannot imagine that there is supposed to be a
difference
> between "call sub" and "call sub()", and I use both because I have
written a
> lot of c. I would point out that I would not trust ifort 8 to be a
> particularly correct implementation of any language standard at the
moment -
> it is a mess (just look at the bug fixes they are releasing every couple
of
> weeks, and notice how they keep breaking something else).
> Regards - Bob
> ----- 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
> > Sander with the Folding.Home supervisor code).
> >
> > When the "()" are in, the program crashes when "sub" is called.
> > If I simply remove "()" all is fine.
> >
> > Comments?
> >
> > thanks,
> > jim
> >
> > --
> > James W. Caldwell 650-724-5322
> > Department of Chemistry
> > Clark Center, S2.2, Rm S294
> > Stanford University
> > Stanford, CA 94305-5447
> >
> >
>
>
--
James W. Caldwell 650-724-5322
Department of Chemistry
Clark Center, S2.2, Rm S294
Stanford University
Stanford, CA 94305-5447
Received on Wed Apr 05 2006 - 23:50:03 PDT