×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Thank you very much for your help.

Thank you very much for your help.

Thank you very much for your help.

(OP)
Thank you very much for your help.
but when I coming to run the stiffoptions.90 using the dvode_f90 subroutine, some errors appear like:

1982 | DVODE_F90(DERIVS,NEQ,Y,T,TOUT,ITASK,ISTATE,OPTIONS,J_FCN=JACD)
| 1

Error: There is no specific subroutine for the generic ‘dvode_f90’ at (1)
stiffoptions.f90:1985:78:

1985 | DVODE_F90(DERIVS,NEQ,Y,T,TOUT,ITASK,ISTATE,OPTIONS,J_FCN=JACS)
| 1

Error: There is no specific subroutine for the generic ‘dvode_f90’ at (1)
stiffoptions.f90:1988:78:

1988 | DVODE_F90(DERIVS,NEQ,Y,T,TOUT,ITASK,ISTATE,OPTIONS,J_FCN=JACB)
| 1

Error: There is no specific subroutine for the generic ‘dvode_f90’ at (1)

How to resolve these errors

thank you

RE: Thank you very much for your help.

But that's the same problem as you asked here:
https://www.tek-tips.com/viewthread.cfm?qid=181646...

Add the missing INTENTs in the declaration of DERIVS

CODE

....
      SUBROUTINE DERIVS(NEQ,T,Y,YDOT)
!       Define the system derivatives.
        IMPLICIT NONE
        INTEGER NEQ
        DOUBLE PRECISION T, Y, YDOT
        DIMENSION Y(NEQ), YDOT(NEQ)
        intent(in) :: NEQ, T, Y
        intent(out) :: YDOT        
        CALL FCN(T,Y,YDOT)
        RETURN
      END SUBROUTINE DERIVS 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close