[SciPy-user] Installation on dual opteron ...

Arnd Baecker arnd.baecker at web.de
Fri Sep 23 02:34:13 CDT 2005


Hi,

we are trying to install scipy on a dual opteron machine
(presently running SUSE Linux 10.0 OSS beta).
Because there is no fortran compiler installed (and it seems
there is none for that beta?), we started  to compile
the relevant bits from scratch.

There are several problems, so before we start reporting them
in detail ;-), I would like to ask some general questions:

- I have read the thread started by Stephen Walton
  http://aspn.activestate.com/ASPN/Mail/Message/scipy-dev/2817873
  and would like to know, if the patches
  by Ravikiran Rajagopa
  (including the c versions of d1mach.f, r1mach.f and i1mach.f,
  posted in
  http://aspn.activestate.com/ASPN/Mail/Message/scipy-dev/2820689)
  have been applied to svn?

- Would you recommend to use
  - gcc, Branch status 2005-09-13  (frozen for 4.0.2 release)
  or
  - or GCC 3.4.4 (released 2005-05-18)
  instead of gcc 4.0.1?
  (Would choosing gcc 3.4.4 have any negative impact on 64Bit
  performance?)

- And more generally: is there any progress concerning
  Arrays >2GB with python/Numeric or numarray
  (as mentioned by Perry Greenfield
   http://www.scipy.net/pipermail/scipy-user/2005-February/004079.html
  The machine has 2x16 GB RAM and it would be nice
  to be able to use them...

Many thanks in advance,

Arnd and Jan



Short notes on the installation:

- gcc 4.0.1  (via http://gcc.gnu.org/)
  Compile command:
  ../gcc-4.0.1/configure --prefix=/scr/python --enable-shared           \
    --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu   \
    --enable-languages=c,c++,f95,objc
- export CFLAGS=-fPIC
- Python 2.4.1
- ATLAS:  atlas3.7.11.tar.bz2  (Linux_HAMMER64SSE3_2)
  added: full Lapack version
  (following http://www.scipy.org/documentation/buildatlas4scipy.txt)
  - BLAS: gfortran -fno-second-underscore -O2 -fPIC -c *.f
  - LAPACK: make.inc.LINUX,
    In OPTS variable replace '-fno-f2c -O3' with '-O2 -fPIC'

  - ATLAS:

  make xconfig
  ./xconfig -F f "-fomit-frame-pointer -O -fno-second-underscore -fPIC" -b $BLAS

  make config
   - 64 Bit
   - Posix threads
   - don't stop
   - use express setup? [y]:
   -  Enter f77 compiler [g77]: gfortran
      Enter F77 Flags [-fomit-frame-pointer -O -m64]:
   - Tune the Level 1 BLAS? [y]:


  One Problem is that the tests
    make sanity_test arch=Linux_HAMMER64SSE3_2
    make ptsanity_test arch=Linux_HAMMER64SSE3_2
  fail


- ipython
- fftw
- f2py2e
- scipy:

  svn co http://svn.scipy.org/svn/scipy/trunk scipy
  # Checked out revision 1270.

  cd scipy
  svn co http://svn.scipy.org/svn/scipy_core/trunk/ scipy_core

  # Install scipy_distutils:
  cd scipy_core/scipy_distutils
  python setup.py install

  # get system info:
  python scipy_core/scipy_distutils/system_info.py > ../scipy_systeminfo.txt

  F77=gfortran python setup.py install | tee ../scipy_install_log.txt




More information about the SciPy-user mailing list