[SciPy-Dev] Problem building Scipy: unrecognized command line option "-mp"

Robert Kern robert.kern@gmail....
Fri Aug 19 12:24:14 CDT 2011

On Fri, Aug 19, 2011 at 10:28, Soppelsa Anton <anton.soppelsa@igi.cnr.it> wrote:
> Dear all,
> I'm experiencing nasty problems building SciPy 0.9.0 on a amd64 machine
> running Linux using gcc and gfortran.
> In particular I get an error by gfortran: f951: error: unrecognized
> command line option "-mp".
> BTW, I noticed that the string "-openmp -mp
> -I/usr/local/vni/imsl/fnl600/lnxin100e64/include" comes always together
> (sometimes two times!?!).
> I looked for the "-openmp" and/or "-mp" string in the entire numpy
> source code without being able to find it.
> My questions are: from where does come these options? How can I disable
> the option -mp?

They probably come from environment variables that you have set. Try this:

  $ env | grep mp

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the SciPy-Dev mailing list