[SciPy-user] Having trouble with scipy_distutils - specifying a fortran compiler
Cory Davis
cdavis at staffmail.ed.ac.uk
Wed Aug 11 22:26:51 EDT 2004
Sorry guys. Problem solved. I hadn't realised you could give setup.py
several command arguments. The following does the trick...
python config_fc --fcompiler={lahey,NAG} build
Cory.
>
> [cory at bruce PyARTS]$ python setup.py build_ext
> running build_ext
> customize UnixCCompiler
> customize UnixCCompiler using build_ext
> customize GnuFCompiler
> customize GnuFCompiler
> customize GnuFCompiler using build_ext
> building 'scatsubs' extension
> compling C sources
> gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC'
> error: unknown file type '.pyf' (from './src/scatsubs.pyf')
>
> I'm obviously doing something daft, but I have scoured the net for
> documentation to no avail.
>
> Can anyone offer me some advice?
>
> Thanks,
>
> Cory
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
More information about the SciPy-User
mailing list