Changeset 13264
- Timestamp:
- 09/05/12 08:42:22 (13 years ago)
- Location:
- issm/trunk-jpl/externalpackages
- Files:
-
- 4 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/numpy/install-linux64.sh
r13179 r13264 11 11 12 12 #clean up 13 rm -rf numpy scipy13 rm -rf numpy 14 14 15 15 #download numpy first … … 24 24 ${PYTHON} -c "import numpy; print 'Installed NumPy', numpy.__version__" 25 25 ${PYTHON} -c "import numpy; numpy.test()" 26 27 #download scipy28 export GIT_SSL_NO_VERIFY=true29 git clone https://github.com/scipy/scipy.git30 31 #install scipy32 cd scipy33 export BLAS_SRC=$ISSM_DIR/externalpackages/blas/install/lib34 export BLAS=$ISSM_DIR/externalpackages/blas/install/lib35 export LAPACK_SRC=$ISSM_DIR/externalpackages/lapack/install/lib36 export LAPACK=$ISSM_DIR/externalpackages/lapack/install/lib37 38 python setup.py build39 python setup.py install40 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 1 1 #!/bin/bash 2 2 set -eu 3 4 #1: install numpy5 #2 install scipy6 #3 erase7 install=28 9 3 10 4 export CC=gcc … … 12 6 export FFLAGS=-ff2c 13 7 8 #download numpy first 9 git clone https://github.com/numpy/numpy.git 14 10 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 12 cd numpy 13 python setup.py build 14 python setup.py install -
issm/trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh
r13246 r13264 3 3 PYVERSION=2.7 4 4 PYTHON=python${PYVERSION} 5 6 #1: install numpy7 #2 install scipy8 #3 erase9 install=210 5 11 6 # gfortran 4.6 (see ISSM_DIR/externalpackages/gfortran) is necessary for ISSM compilation. … … 14 9 export CXX=/usr/local/gfortran/bin/g++ 15 10 16 if [[ $install == "1" ]];then 11 #download numpy first 12 git clone https://github.com/numpy/numpy.git 17 13 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 15 cd numpy 16 python setup.py build 17 python setup.py install 18 cd .. 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 11 11 12 12 #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()" 13 rm -rf scipy 26 14 27 15 #download scipy -
issm/trunk-jpl/externalpackages/scipy/install-macosx-lion.sh
r13246 r13264 1 1 #!/bin/bash 2 2 set -eu 3 4 #1: install numpy5 #2 install scipy6 #3 erase7 install=28 9 3 10 4 export CC=gcc 11 5 export CXX=g++ 12 6 export FFLAGS=-ff2c 7 8 #download scipy 9 git clone https://github.com/scipy/scipy.git 13 10 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 12 cd scipy 13 python setup.py build 14 python setup.py install -
issm/trunk-jpl/externalpackages/scipy/install-macosx-snowleopard.sh
r13246 r13264 3 3 PYVERSION=2.7 4 4 PYTHON=python${PYVERSION} 5 6 #1: install numpy7 #2 install scipy8 #3 erase9 install=210 5 11 6 # gfortran 4.6 (see ISSM_DIR/externalpackages/gfortran) is necessary for ISSM compilation. … … 14 9 export CXX=/usr/local/gfortran/bin/g++ 15 10 16 if [[ $install == "1" ]];then 11 #download scipy 12 git clone https://github.com/scipy/scipy.git 17 13 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 15 cd scipy 16 python setup.py build 17 python setup.py install 18 cd .. 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.