Do I Still Have to Edit intelcompiler.py For ICC?
Hey guys, I normally build and install packages with pip, as I like to keep my toolchain up to date with new releases, etc. I was happy to find out both numpy and scipy will honor a ~/.numpy-site.cfg, but, since I need to build with the Intel compilers, I have to supply --compiler and --fcompiler. Is there any way to just do this in site config? Thanks! -Will
On Wed, Aug 14, 2013 at 6:31 PM, Will Buckner
Hey guys,
I normally build and install packages with pip, as I like to keep my toolchain up to date with new releases, etc. I was happy to find out both numpy and scipy will honor a ~/.numpy-site.cfg, but, since I need to build with the Intel compilers, I have to supply --compiler and --fcompiler. Is there any way to just do this in site config?
Hi Will, I don't think you can do that in site.cfg. All sections that are recognized in site.cfg are listed in get_info() in numpy/distutils/system_info.py. Compilers have to be specified on the command line. Maybe pip has a way to supply that info but I've never bothered to look for it - python setup.py .... works just as well. Ralf
On Wed, Aug 14, 2013 at 2:12 PM, Ralf Gommers
with the Intel compilers, I have to supply --compiler and --fcompiler. Is there any way to just do this in site config?
Maybe pip has a way to supply that info but I've never bothered to look for it - python setup.py .... works just as well.
It look slike you can pass distuitls commands through pip: """ --install-option <options> Extra arguments to be supplied to the setup.py install command (use like –install-option=”–install-scripts=/usr/local/bin”). Use multiple –install-option options to pass multiple options to setup.py install. If you are using an option with a directory path, be sure to use absolute path. """ There is also a way to specify default arguments for pip install, so that it woudl get used every time. http://www.pip-installer.org/en/latest/usage.html#pip-install -HTH, Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov
participants (3)
-
Chris Barker - NOAA Federal
-
Ralf Gommers
-
Will Buckner