![](https://secure.gravatar.com/avatar/45e9b4a05aede9b3767945086e1e6804.jpg?s=120&d=mm&r=g)
Hi all - I've been trying to set up configuration files to standardize a local 1.02numpy installation and have run into a problem with the intel compiler package. If I try python setup.py config_fc --fcompiler=intel build_ext (from the top level numpy-1.0.2 directory) I get the following failures (with ifort 8.1): ifort: Command line warning: extension 'M' not supported ignored in option '-x' ifort: Command line error: Unrecognized keyword 'SSE2' for option '-arch' ifort: Command line warning: extension 'M' not supported ignored in option '-x' ifort: Command line error: Unrecognized keyword 'SSE2' for option '-arch' I assumed that the 'noarch' option to the config_fc command would get me around this, but it does not. This seems to be because the get_flags_linker_so method in the numpy.distutils.fcompiler.intel.IntelFCompiler class always extends the options with the result of self.get_flags_arch(). Removing that call fixes the problem. I'm asking about this here rather than simply filing a bug because I wonder if there's a way of overriding the get_flags_linker_so method that I've simply overlooked. I'm not sure that I've discovered all the ways to modify a numpy installation yet. (So far I've found site.cfg, setup.cfg, and Setup. Am I missing anything? Also, is there a recommended documentation source for this stuff?) Thanks, Mike
participants (1)
-
Mike Beachy