[SciPy-user] [f2py] f90 format file...

fred fredmfp@gmail....
Thu Jul 5 17:35:41 CDT 2007


fred a écrit :
> Hmm, renaming file from *.f to *.f90 seems to fix it.
>
I still have issue with this, in fact.

I use intel fortran compiler.

If fortran file are named *.f, my code works really fine.
But I don't like the "fixed format", I prefer the "free" one.
So I renamed my fortran files to *.f90, and indented the lines as I like.
But in this case, my code does not work any more.

Typically, I use in my python code something like:

KM = calc_KM(KM,...)

With *.f files, KM is the right matrix.
With *.f90 files, KM is None.


Any clue ?

TIA.


Cheers,

-- 
http://scipy.org/FredericPetit



More information about the SciPy-user mailing list