[pythran] pythran with python compiled with intel?

  • From: Pierre Augier <pierre.augier@xxxxxxxxxxxx>
  • To: pythran@xxxxxxxxxxxxx
  • Date: Wed, 4 Oct 2017 12:27:18 +0200


I try to use pythran on occigen (https://www.cines.fr/calcul/materiels/occigen/)

The python of the python modules are compiled only with intel compilers.

But intel c++ compiler is not (yet) able to compile cpp code generated by pythran, at least up to version 17.2 (see https://software.intel.com/en-us/forums/intel-c-compiler/topic/623633).

So I try to compile python code with the gnu compiler:

cat ~/.pythranrc


complex_hook = True

But the compilation fails because of an intel option which is not recognized by g++:

g++: error: unrecognized command line option ‘-axMIC_AVX512,CORE-AVX2’

Any ideas how I can compile pythran cpp code with a python compiled with intel?

I saw in pythran code (pythran/toolchain.py) the function CCompiler_customize. I may have to use something like that?


Pierre Augier - CR2 CNRS                http://www.legi.grenoble-inp.fr
LEGI (UMR 5519) Laboratoire des Ecoulements Geophysiques et Industriels
BP53, 38041 Grenoble Cedex, France                tel:+

Other related posts:

  • » [pythran] pythran with python compiled with intel? - Pierre Augier