[f2py] g95 on Mac OSX

Johnny Lin jlin at johnny-lin.com
Thu Jun 14 04:44:30 EEST 2007


Hi Marek,


> > f2py -c -m hello hello.f --fcompiler=g95
> 
> I think there should be --fcompiler=gnu95
>
Thanks much for your reply!
 
Actually, I'm interested in using the g95 compiler (Andrew Vaught's
fork), not the GNU GCC gfortran compiler.  The Fortran code I'm
trying to wrap using f2py for some reason runs fine in g95 but gives
NaN as output when compiled in gfortran.  I forgot to mention in my
original post that I'm running OSX on Intel.

Thanks!

Best,
-Johnny
-- 

-------------------------------------------
Johnny Lin | http://www.johnny-lin.com
North Park University | Physics Department
-------------------------------------------



More information about the f2py-users mailing list