Changeset 13264


Ignore:
Timestamp:
09/05/12 08:42:22 (13 years ago)
Author:
seroussi
Message:

CHG: created numpy package separated from scipy

Location:
issm/trunk-jpl/externalpackages
Files:
4 edited
3 copied

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/numpy/install-linux64.sh

    r13179 r13264  
    1111
    1212#clean up
    13 rm -rf numpy scipy
     13rm -rf numpy
    1414
    1515#download numpy first
     
    2424${PYTHON} -c "import numpy; print 'Installed NumPy', numpy.__version__"
    2525${PYTHON} -c "import numpy; numpy.test()"
    26 
    27 #download scipy
    28 export GIT_SSL_NO_VERIFY=true
    29 git clone https://github.com/scipy/scipy.git
    30 
    31 #install scipy
    32 cd scipy
    33 export  BLAS_SRC=$ISSM_DIR/externalpackages/blas/install/lib
    34 export  BLAS=$ISSM_DIR/externalpackages/blas/install/lib
    35 export  LAPACK_SRC=$ISSM_DIR/externalpackages/lapack/install/lib
    36 export  LAPACK=$ISSM_DIR/externalpackages/lapack/install/lib
    37 
    38 python setup.py build
    39 python setup.py install
    40 cd ..
    41 ${PYTHON} -c "import scipy; print 'Installed SciPy', scipy.__version__"
    42 ##${PYTHON} -c "import scipy; scipy.test()"
  • issm/trunk-jpl/externalpackages/numpy/install-macosx-lion.sh

    r13246 r13264  
    11#!/bin/bash
    22set -eu
    3 
    4 #1: install numpy
    5 #2 install scipy
    6 #3 erase
    7 install=2
    8 
    93
    104export CC=gcc
     
    126export FFLAGS=-ff2c
    137
     8#download numpy first
     9git clone https://github.com/numpy/numpy.git
    1410
    15 if [[ $install == "1" ]];then
    16 
    17         #download numpy first
    18         git clone https://github.com/numpy/numpy.git
    19 
    20         #install numpy
    21         cd numpy
    22         python setup.py build
    23         python setup.py install
    24 
    25        
    26 elif [[ $install == "2" ]];then
    27        
    28         #download scipy
    29         git clone https://github.com/scipy/scipy.git
    30 
    31         #install scipy
    32         cd scipy
    33         python setup.py build
    34         python setup.py install
    35 
    36 elif [[ $install == "3" ]];then
    37         rm -rf numpy scipy
    38 else
    39         echo "Choice not covered"
    40 fi
     11#install numpy
     12cd numpy
     13python setup.py build
     14python setup.py install
  • issm/trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh

    r13246 r13264  
    33PYVERSION=2.7
    44PYTHON=python${PYVERSION}
    5 
    6 #1: install numpy
    7 #2 install scipy
    8 #3 erase
    9 install=2
    105
    116# gfortran 4.6 (see ISSM_DIR/externalpackages/gfortran) is necessary for ISSM compilation.
     
    149export CXX=/usr/local/gfortran/bin/g++
    1510
    16 if [[ $install == "1" ]];then
     11#download numpy first
     12git clone https://github.com/numpy/numpy.git
    1713
    18         #download numpy first
    19         git clone https://github.com/numpy/numpy.git
    20 
    21         #install numpy
    22         cd numpy
    23         python setup.py build
    24         python setup.py install
    25         cd ..
    26         ${PYTHON} -c "import numpy; print 'Installed NumPy', numpy.__version__"
    27         ${PYTHON} -c "import numpy; numpy.test()"
    28        
    29 elif [[ $install == "2" ]];then
    30        
    31         #download scipy
    32         git clone https://github.com/scipy/scipy.git
    33 
    34         #install scipy
    35         cd scipy
    36         python setup.py build
    37         python setup.py install
    38         cd ..
    39         ${PYTHON} -c "import scipy; print 'Installed SciPy', scipy.__version__"
    40         ${PYTHON} -c "import scipy; scipy.test()"
    41 
    42 elif [[ $install == "3" ]];then
    43         rm -rf numpy scipy
    44 else
    45         echo "Choice not covered"
    46 fi
     14#install numpy
     15cd numpy
     16python setup.py build
     17python setup.py install
     18cd ..
     19${PYTHON} -c "import numpy; print 'Installed NumPy', numpy.__version__"
     20${PYTHON} -c "import numpy; numpy.test()"
  • issm/trunk-jpl/externalpackages/scipy/install-linux64.sh

    r13179 r13264  
    1111
    1212#clean up
    13 rm -rf numpy scipy
    14 
    15 #download numpy first
    16 export GIT_SSL_NO_VERIFY=true
    17 git clone https://github.com/numpy/numpy.git
    18 
    19 #install numpy
    20 cd numpy
    21 python setup.py build
    22 python setup.py install
    23 cd ..
    24 ${PYTHON} -c "import numpy; print 'Installed NumPy', numpy.__version__"
    25 ${PYTHON} -c "import numpy; numpy.test()"
     13rm -rf scipy
    2614
    2715#download scipy
  • issm/trunk-jpl/externalpackages/scipy/install-macosx-lion.sh

    r13246 r13264  
    11#!/bin/bash
    22set -eu
    3 
    4 #1: install numpy
    5 #2 install scipy
    6 #3 erase
    7 install=2
    8 
    93
    104export CC=gcc
    115export CXX=g++
    126export FFLAGS=-ff2c
     7       
     8#download scipy
     9git clone https://github.com/scipy/scipy.git
    1310
    14 
    15 if [[ $install == "1" ]];then
    16 
    17         #download numpy first
    18         git clone https://github.com/numpy/numpy.git
    19 
    20         #install numpy
    21         cd numpy
    22         python setup.py build
    23         python setup.py install
    24 
    25        
    26 elif [[ $install == "2" ]];then
    27        
    28         #download scipy
    29         git clone https://github.com/scipy/scipy.git
    30 
    31         #install scipy
    32         cd scipy
    33         python setup.py build
    34         python setup.py install
    35 
    36 elif [[ $install == "3" ]];then
    37         rm -rf numpy scipy
    38 else
    39         echo "Choice not covered"
    40 fi
     11#install scipy
     12cd scipy
     13python setup.py build
     14python setup.py install
  • issm/trunk-jpl/externalpackages/scipy/install-macosx-snowleopard.sh

    r13246 r13264  
    33PYVERSION=2.7
    44PYTHON=python${PYVERSION}
    5 
    6 #1: install numpy
    7 #2 install scipy
    8 #3 erase
    9 install=2
    105
    116# gfortran 4.6 (see ISSM_DIR/externalpackages/gfortran) is necessary for ISSM compilation.
     
    149export CXX=/usr/local/gfortran/bin/g++
    1510
    16 if [[ $install == "1" ]];then
     11#download scipy
     12git clone https://github.com/scipy/scipy.git
    1713
    18         #download numpy first
    19         git clone https://github.com/numpy/numpy.git
    20 
    21         #install numpy
    22         cd numpy
    23         python setup.py build
    24         python setup.py install
    25         cd ..
    26         ${PYTHON} -c "import numpy; print 'Installed NumPy', numpy.__version__"
    27         ${PYTHON} -c "import numpy; numpy.test()"
    28        
    29 elif [[ $install == "2" ]];then
    30        
    31         #download scipy
    32         git clone https://github.com/scipy/scipy.git
    33 
    34         #install scipy
    35         cd scipy
    36         python setup.py build
    37         python setup.py install
    38         cd ..
    39         ${PYTHON} -c "import scipy; print 'Installed SciPy', scipy.__version__"
    40         ${PYTHON} -c "import scipy; scipy.test()"
    41 
    42 elif [[ $install == "3" ]];then
    43         rm -rf numpy scipy
    44 else
    45         echo "Choice not covered"
    46 fi
     14#install scipy
     15cd scipy
     16python setup.py build
     17python setup.py install
     18cd ..
     19${PYTHON} -c "import scipy; print 'Installed SciPy', scipy.__version__"
     20${PYTHON} -c "import scipy; scipy.test()"
Note: See TracChangeset for help on using the changeset viewer.