[SciPy-user] SCIPY install with Intel Math Kernel and Intel Fortran
David Cournapeau
cournape at gmail.com
Sat Jun 20 01:17:13 EDT 2009
On Sat, Jun 20, 2009 at 1:54 PM, Patrick Marsh<patrickmarshwx at gmail.com> wrote:
> Greetings,
>
> I have run into a problem where I can't build Scipy using the Intel
> Fortran compilers and the Intel Math Kernel. I have (at least I
> believe so) set up my environment as is directed by Intel, but I can't
> seem to get it to work. The install routine find the ifort
> executable, but then fails later. I've spent many hours banging my
> head against this so any help is appreciated.
Unfortunately, Itanium is not a well tested platform, since not many
developers have access to one. From your build log, the problem is not
MKL, but the fortran compiler not being properly setup. But this is
hard to debug without being able to run the build by ourselves,
unfortunately.
>From the log, I would first look at the fcompiler customization in the
build_ext command. In the installed numpy, in
numpy/distutils/commands/build_ext, there is the following code in the
run method:
if need_f77_compiler:
ctype = self.fcompiler
self._f77_compiler = new_fcompiler(compiler=self.fcompiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force,
requiref90=False,
c_compiler=self.compiler)
fcompiler = self._f77_compiler
if fcompiler:
ctype = fcompiler.compiler_type
fcompiler.customize(self.distribution)
if fcompiler and fcompiler.get_version():
fcompiler.customize_cmd(self)
fcompiler.show_customization()
else:
self.warn('f77_compiler=%s is not available.' %
(ctype))
Could you add a print fcompiler, fcompiler.get_version() just before
the "if fcompiler and fcompiler.get_version()" ? This should confirm
whether it fails where I think it fails (i.e. the get_version)
cheers,
David
More information about the SciPy-User
mailing list