Re: IDL calling Fortran [message #48584 is a reply to message #48524] |
Fri, 28 April 2006 12:31  |
biophys
Messages: 68 Registered: July 2004
|
Member |
|
|
hi, Cliff
I've never tried cvf myself. How does it break? Does it compile? This
might hve something to do with the fact that typically %VAL only pass
4byte(32bits) on x86-32 system and 8byte(64bits) on x86-64 system.
Under linux, my experience with ifort is-
if I use f77 standard(*.f), the example in EDG should work with no
problem.
if I use f90 standard(*.f90), it works only when the corresponding
dummy is integer*4
if I want to work with data other than integer*4 in f90, I have to use
NO_ARG_CHECK for the ATTRIBUTES of the dummy
I hope this helps.
Cheers,
bp
Cliff wrote:
> I have a problem calling Fortran from IDL. I have written code to do
> this before but my current DLL breaks when using double precision. Does
> the %VAL command only work with real*4? Does anyone have an F90 example
> using real*8?
>
> look forward to hearing from you.
>
> By the way I am using compaq visual fortran on windows XP.
|
|
|