[SciPy-dev] Setup doesn't pickup Intel Fortran compiler

Matthieu Brucher matthieu.brucher@gmail....
Fri May 29 04:48:02 CDT 2009

2009/5/29 Matthieu Brucher <matthieu.brucher@gmail.com>:
> 2009/5/29 David Cournapeau <david@ar.media.kyoto-u.ac.jp>:
>> David Cournapeau wrote:
>>> Yes, intelem is for ia architectures IIRC
>>> I have just tried compiling numpy with both icc/ifort (11.0), it works
>>> without trouble with numscons:
>>> CFLAGS="-debug" FFLAGS="-debug" CC=icc F77=ifort python setupscons.py scons
>>> I used the -debug flag to avoid waiting forever - the whole numpy test
>>> suite passes.
>> Just after sending the email, I saw your bug-report :)
>> You may want to try the last numscons code:
>> http://github.com/cournape/numscons/tree/master
>> cheers,
> Thanks, I'll try this at once ;)
> I didn't remember you switched to github :|
> Matthieu

Now, I don't have an error, but the folders are still empty:

Executing scons command (pkg is numpy.core):
-f numpy/core/SConstruct -I. scons_tool_path="" src_dir="numpy/core"
pkg_name="numpy.core" log_level=50
distutils_libdir="../../../../build/lib.linux-x86_64-2.5" cc_opt=icc
cc_opt_path="/appli/intel/10.1.018/intel64/cce/bin" cxx_opt=icpc
include_bootstrap=../../../../numpy/core/include silent=0
scons: Reading SConscript files ...

scons: warning: Ignoring missing SConscript 'build/scons/numpy/core/SConscript'
File "/users/brucher/pau112/local/x86_64_RH5/lib/python2.5/site-packages/numscons/core/numpyenv.py",
line 108, in DistutilsSConscript
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

gfortran is still detected in the wrong folder: f77_opt=gfortran
I deleted the numpy folder completely and started again from scratch,
but I keep getting the same errors :|
I deleted the environment variables, and the fortran compilers seem
OK. If I export F77=ifort, it gives me something even stranger:
f77_opt=fortran f77_opt_path="/appli/intel/10.1.018/intel64/fce/bin"

The strangest thing for me is that the scons subfolders are almost
empty (just have the .dblite file).

Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher

More information about the Scipy-dev mailing list