On Jun 4, 6:25 pm, Gerhard Häring <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >   Hello.
>
> >   I am trying to extend my Python program with some C code. [...]
> >   Anyway, my question is this: When compiling my C code to include in
> > Python, using a Python script with the function
> > distutils.core.setup... can I choose which C compiler to use? On my
> > system it defaults to gcc, but I would like to use mpicc instead (C
> > compiler for MPI, Message Passing Interface). [...]
>
> Try:
>
> $ export CC=mpicc
> $ python setup.py build
>
> HTH,
>
> -- Gerhard

Yes, that worked. Thank you. :)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to