Changes between Version 11 and Version 12 of misc


Ignore:
Timestamp:
02/04/09 15:38:25 (14 years ago)
Author:
norris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • misc

    v11 v12  
    11== Miscellaneous Topics and Porting Notes == 
    22 
    3 === Building and Installing !NumPy 1.2.1 on the BG/P (Surveyor) === 
     3=== Building and Installing !NumPy 1.2.1 on the BG/P (Surveyor): Using GOTO BLAS and Reference LAPACK === 
    44 
    55These instructions were derived from the wonderful information at https://wiki.fysik.dtu.dk/gpaw/install/platforms_and_architectures.html. The below instructions assume bash. 
     
    1111{{{ 
    1212[DEFAULT] 
    13 library_dirs = /soft/apps/ESSL-4.4/lib 
    14 include_dirs = /soft/apps/ESSL-4.4/include 
    15 libraries = mass, x1, xlopt, xlf90_r, xlfmath, xlsmp 
    1613search_static_first = true 
     14library_dirs = /soft/apps/LAPACK,/soft/apps/LIBGOTO 
     15libraries = lapack_bgp, goto 
    1716}}} 
    1817 
     
    2120{{{ 
    2221ldpath=/bgsys/drivers/ppcfloor/gnu-linux/lib 
    23 ldflags="-Wl,--allow-multiple-definition -L/opt/ibmcmp/xlmass/bg/4.4/bglib" 
    24 root=$HOME/soft/numpy-1.2.1-essl 
     22root=$HOME/soft/numpy-1.2.1 
    2523p=/bgsys/drivers/ppcfloor/gnu-linux/bin/python 
    26 c='"/bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc-bgp-linux-gcc -DNO_APPEND_FORTRAN -L/opt/ibmcmp/xlmass/bg/4.4/bglib"' 
     24c='"mpicc"' 
    2725}}} 
    2826   
     
    3028 
    3129{{{ 
    32 MATHLIB="mass" LDFLAGS="$ldflags" LD_LIBRARY_PATH="$ldpath" CC="$c" $p setup.py install --root="$root" 
     30LD_LIBRARY_PATH="$ldpath" CC="$c" $p setup.py install --root="$root" 
    3331}}} 
    3432 
     
    3634 
    3735{{{ 
    38 PYTHONPATH+=$HOME/soft/numpy-1.2.1-essl/bgsys/drivers/ppcfloor/gnu-linux/lib/python2.5/site-packages 
     36PYTHONPATH+=$HOME/soft/numpy-1.2.1/bgsys/drivers/ppcfloor/gnu-linux/lib/python2.5/site-packages 
    3937}}} 
    4038 
     
    4543 }}} 
    4644 
    47  
    4845 * To run a test script, make sure you are '''not''' in the numpy-1.2.1 source directory, then do: 
    4946 
    5047{{{ 
    5148qsub -n 1 -t 5 -A <projectname>\  
    52   --env PYTHONPATH=$PYTHONPATH:$HOME/soft/numpy-1.2.1-essl/bgsys/drivers/ppcfloor/gnu-linux/lib/python2.5/site-packages/numpy\  
     49  --env PYTHONPATH=$PYTHONPATH:$HOME/soft/numpy-1.2.1/bgsys/drivers/ppcfloor/gnu-linux/lib/python2.5/site-packages/numpy\  
    5350  /bgsys/drivers/ppcfloor/gnu-linux/bin/python test.py 
    5451}}} 
     52 
     53[wiki:numpy-essl Here] are the equivalent instructions on building it using ESSL, which at present do not quite work since there is at least one required LAPACK routine that is not implemented in the ESSL.