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

lorenzo bolla lbolla@gmail....
Fri Jul 6 01:53:49 CDT 2007


I use f2py with .f90 files and the intel compiler, and it works fine for
me... can you submit a piece of .f90 code?
by the way, I specify the intel compiler by this command line:
f2py -c <file.f90> -m <module> --fcompiler=intele --compiler=intel

lorenzo.




On 7/6/07, fred <fredmfp@gmail.com> wrote:
>
> 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
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070706/c27c75ad/attachment.html 


More information about the SciPy-user mailing list