[f2py] Override f2py compiler settings

Justin M Wozniak <wozniak-zhzY/AYb9nBYTrM/[email protected]> Thu, 27 Mar 2014 19:02:45 -0500
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>
Hi
     I am trying to run f2py on the Blue Gene/Q.  I am running it as:

f2py -c -m lib_discus  --compiler=gnu --fcompiler=gnu ...

I get:

build_src: building npy-pkg config files
running build_ext
error: don't know how to compile C/C++ code on platform 'posix' with 
'gnu' compiler

     Is there some way to override the detected platform (to linux?), or 
to completely override the compiler settings?
     Thanks

-- 
Justin M Wozniak