[SciPy-user] Help with array functions

Pearu Peterson pearu at scipy.org
Tue May 4 15:47:37 CDT 2004

On Tue, 4 May 2004, eric jones wrote:

> The Fortran version didn't work for me.  It looks like g77 is detected 
> on my machine, and I get compile errors in the code.  I also have an f90 
> compiler on my machine that wasn't picked up.  Is there a way to switch 
> which compiler is used through command line?

> > try:
> >    import forttest
> > except ImportError:
> >    f2py2e.compile(fort_code, modulename='forttest')


  f2py2e.compile(fort_code, modulename='forttest',
                 extra_args = '--fcompiler=gnu --compiler=mingw32')

to specify Fortran and C compilers.


More information about the SciPy-user mailing list