source:
issm/oecreview/Archive/12221-12240/ISSM-12239-12240.diff@
12325
Last change on this file since 12325 was 12325, checked in by , 13 years ago | |
---|---|
File size: 1.5 KB |
-
proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/scipy/install-linux64.sh
1 #!/bin/bash 2 3 #1: install numpy 4 #2 install scipy 5 #3 erase 6 install=2 7 8 9 export CC="gcc -fPIC" 10 export CXX="g++ -fPIC" 11 export F77="gfortran -fPIC" 12 export FC="gfortran -fPIC" 13 export FFLAGS=-ff2c 14 15 16 if [[ $install == "1" ]];then 17 18 #download numpy first 19 20 export GIT_SSL_NO_VERIFY=true 21 git clone https://github.com/numpy/numpy.git 22 23 #install numpy 24 cd numpy 25 python setup.py build 26 python setup.py install 27 28 29 elif [[ $install == "2" ]];then 30 31 #download scipy 32 export GIT_SSL_NO_VERIFY=true 33 git clone https://github.com/scipy/scipy.git 34 35 #install scipy 36 cd scipy 37 export BLAS_SRC=$ISSM_DIR/externalpackages/blas/install/lib 38 export BLAS=$ISSM_DIR/externalpackages/blas/install/lib 39 export LAPACK_SRC=$ISSM_DIR/externalpackages/lapack/install/lib 40 export LAPACK=$ISSM_DIR/externalpackages/lapack/install/lib 41 42 python setup.py build 43 python setup.py install 44 45 elif [[ $install == "3" ]];then 46 rm -rf numpy scipy 47 else 48 echo "Choice not covered" 49 fi
Note:
See TracBrowser
for help on using the repository browser.