Closed GoogleCodeExporter closed 9 years ago
r2560 adds a new SCons option, 'python_compiler', which lets you specify the
compiler used for the Cython module. If you want to use the Intel compiler for
this, set this option to 'icpc'.
Please let me know if this fixes the problem.
Original comment by yarmond
on 15 Oct 2013 at 3:02
Thanks, Ray.
python_compiler=icpc works for compiling _cantera.o, but not for
_cantera.cpython-32mu.so . This shared library is still compiled using g++. It
looks only CC has been replaced, not CXX yet.
building 'cantera._cantera' extension
creating ../../build/temp-py3
creating ../../build/temp-py3/cantera
icpc -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security
-fPIC -I. -I../../include -I/usr/lib/python2.7/dist-packages/numpy/core/include
-I/usr/local/include -I/usr/include/python3.2mu -c cantera/_cantera.cpp -o
../../build/temp-py3/cantera/_cantera.o
icpc: command line warning #10006: ignoring unknown option '-fwrapv'
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions
-Wl,-z,relro ../../build/temp-py3/cantera/_cantera.o -L../../build/lib
-L/usr/local/lib -L/lib/intel64 -lcantera -lsundials_cvodes -lsundials_ida
-lsundials_nvecserial -lmkl_rt -o
../../build/python3/cantera/_cantera.cpython-32mu.so
Original comment by bjlee....@gmail.com
on 15 Oct 2013 at 3:44
This issue was closed by revision r2561.
Original comment by yarmond
on 15 Oct 2013 at 5:06
Original issue reported on code.google.com by
bjlee....@gmail.com
on 8 Oct 2013 at 2:58