Browse files

Added notes for Intel compiler support

  • Loading branch information...
1 parent 2a05718 commit 4662814a8e8ec787a59c5fdf17aedf9e5ca0fa22 @pearu pearu committed Oct 21, 2002
Showing with 37 additions and 7 deletions.
  1. +37 −7 INSTALL.txt
@@ -6,14 +6,14 @@ SciPy requires the following software installed:
1) Python 2.1.x, 2.2.x, or 2.3.x (see NOTES 1)
-2) Numerical Python 20.x or 21.x
+2) Numerical Python 20.3 or newer but < Numarray
3) ATLAS 3.2.1 or newer with complete LAPACK (see NOTES 2, 3, 4)
4) f2py 2.13.175-1250 or newer
-5) C, C++, Fortran 77 compilers.
+5) C, C++, Fortran 77 compilers (see COMPILER NOTES)
gcc 2.95.x, 3.1.x compilers are recommended
@@ -46,6 +46,7 @@ NOTES
make lapacklib # On 400MHz PII it takes about 15min.
that will create lapack_LINUX.a when using
INSTALL/, for example.
+ If using Intel Fortran Compiler, see additional notes below.
* Get the latest stable ATLAS sources from
and unpack to /path/to/src/
@@ -56,7 +57,7 @@ NOTES
where arch may vary (see the output of the previous command).
* Make optimized LAPACK library:
cd /path/to/src/ATLAS/lib/Linux_PII/
- mkdir tmp; cd tmp;
+ mkdir tmp; cd tmp
ar x ../liblapack.a
cp /path/to/src/LAPACK/lapack_LINUX.a ../liblapack.a
ar r ../liblapack.a *.o
@@ -105,17 +106,46 @@ From a tar ball
Unpack SciPy-<version>.tar.gz, change to SciPy-<version> directory,
and run
- python install
+ python install
-This can take several minutes to hours, depending on the speed of your
-computer. You can specify which Fortran compiler to use by
+This can take several minutes to hours depending on the speed of your
+You can specify which Fortran compiler to use by
export FC_VENDOR=<Vendor>
before the install command. <Vendor> is Absoft, Sun, SGI, Intel,
Itanium, NAG, Compaq, Digital, Gnu, or VAST.
+Or use the following install command:
+ python build build_flib --fcompiler=<Vendor> install
+Intel Fortran Compiler
+Intel Fortran Compiler (IFC) compiled codes are not binary compatible
+with g77 compiled codes. Therefore, when using IFC, *all* Fortran
+codes used in SciPy must be compiled with IFC, this also includes
+LAPACK, BLAS, and ATLAS libraries. Usage of GCC for compiling C codes
+is OK.
+IFC version 5.0 is not supported (because its bugs cause segfaults in
+scipy tests).
+Minimum IFC flags for building LAPACK and LAPACK are
+ -FI -w90 -w95 -cm -O3
-XXX: From rpm,deb,zip,..
+When finishing LAPACK build, you must recompile ?lamch.f without
+any optimization (otherwise infinite loops occur when using these
+ cd /path/to/src/LAPACK/SRC
+ ifc -FI -w90 -w95 -cm -O0 -c ?lamch.f
+ cd ..
+ make lapacklib

0 comments on commit 4662814

Please sign in to comment.