Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Possible Source Code Error in Unused Subrtn

Help
j bachmann
2009-06-30
2013-04-29
  • j bachmann
    j bachmann
    2009-06-30

    Upon trying to compile ISAAC in Intel Visual Fortran,  the following compile errors were generated:

    C:\Software Projects\Fortran\CFD\isaac\issac_4_2\rhs\io.F(180): error #6633: The type of the actual argument differs from the type of the dummy argument.   [QP]
    C:\Software Projects\Fortran\CFD\isaac\issac_4_2\rhs\io.F(180): error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface.   [DQP]
    C:\Software Projects\Fortran\CFD\isaac\issac_4_2\rhs\io.F(180): error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface.   [DQM]
    C:\Software Projects\Fortran\CFD\isaac\issac_4_2\rhs\io.F(180): error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface.   [F]
    C:\Software Projects\Fortran\CFD\isaac\issac_4_2\rhs\io.F(180): error #6634: The shape matching rules of actual arguments and dummy arguments have been violated.   [QP]

    These errors are generated in the call to the function:  "FDS" on line 180 of the source file io.F.  The problem is due to the lack of three arguments in the call:  "ITURB", "DQP", & "DQM".  This code is contained within the subroutine "MASFLO" which appears to be unused, so I do not think it is a serious problem at the moment.

    As a work around I am commenting out the source code for the "MASFLO" sub.

    Just wanted to raise the flag to the developer that there may be a "dormant" error waiting to pop-up if "MASFLO" is ever used.

     
    • Jonathan,
      Thanks for the feedback. This error has been corrected and will be in a new release.

      Sincerely,
      Joe