NickFort
Technical User
- Jun 10, 2010
- 113
Hi guys,
I'm trying to get DVODE_F90 working. It can be found here:
In that zip file are the module "dvode_f90_m.f90" (it's buried in the folder, you'll see) and an example for testing it called -- wait for it -- "example1.f90".
I put both files in the same folder, and then tried to compile, but it came up with an error:
g95 seems to compile it just fine.
Any idea how I can get this working in gfortran?
I know what you might be inclined to say: why don't I just stick with g95? The answer: because I've found gfortran to be dramatically faster than g95, at least for my work.
Also, I have used DVODE_F90 in the past (when I did a bit of F90 programming last year), and I remember being able to use it with gfortran and g95. I might have had an older version of gfortran or something, but it definitely worked!
Any ideas, or should I take this up with the gfortran developers as a bug?
Thanks,
NickFort
--------------------------------------
Background: Chemical engineer, familiar mostly with MATLAB, but now branching out into real programming.
I'm trying to get DVODE_F90 working. It can be found here:
In that zip file are the module "dvode_f90_m.f90" (it's buried in the folder, you'll see) and an example for testing it called -- wait for it -- "example1.f90".
I put both files in the same folder, and then tried to compile, but it came up with an error:
Code:
$ gfortran dvode_f90_m.f90 example1.f90 -o test
example1.f90:88.71:
CALL DVODE_F90(FEX,NEQ,Y,T,TOUT,ITASK,ISTATE,OPTIONS,J_FCN=JEX)
1
Error: There is no specific subroutine for the generic 'dvode_f90' at (1)
g95 seems to compile it just fine.
Any idea how I can get this working in gfortran?
I know what you might be inclined to say: why don't I just stick with g95? The answer: because I've found gfortran to be dramatically faster than g95, at least for my work.
Also, I have used DVODE_F90 in the past (when I did a bit of F90 programming last year), and I remember being able to use it with gfortran and g95. I might have had an older version of gfortran or something, but it definitely worked!
Any ideas, or should I take this up with the gfortran developers as a bug?
Thanks,
NickFort
--------------------------------------
Background: Chemical engineer, familiar mostly with MATLAB, but now branching out into real programming.