Building with intel compiler failed

Issue #53 resolved
Jakub Krajniak created an issue

Hi,

I tried to compile mpi4py with intel environment but apparently it fails.

/apps/leuven/thinking/2014a/software/impi/4.1.3.045/bin64/mpicc -fno-strict-aliasing -fPIC -O3 -xHOST -ftz -fp-speculation=safe -fp-model source -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
gcc: source: No such file or directory
gcc: language HOST not recognized
gcc: language HOST not recognized
failure.
removing: _configtest.c _configtest.o

it is because that arguments passed to the compiler however I could not find any place in the setup.py or in distutils from Python distribution that is responsible for putting those arguments like -fp-model source which cannot be find..

Comments (3)

  1. Lisandro Dalcin

    Well, you are not using the Intel compiler, try this:

    export MPICC=mpiicc # note the additional "i" after "mpi"
    python setup.py ...
    
  2. Log in to comment