amber-developers: fortran 90/95 question

From: James W. Caldwell <>
Date: Tue, 30 Mar 2004 11:45:16 -0700

In the sander8 code I find constructs like:
call sub()
subroutine sub()
some code
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.



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
Custom Search