[[FrontPage]]

* python環境構築 [#m6074937]

 wget http://github.com/utahta/pythonbrew/raw/master/pythonbrew-install --no-check-certificate
 chmod +x pythonbrew-install
 ./pythonbrew-install
 echo "source ~/.pythonbrew/etc/bashrc" >> ~/.bashrc
 source ~/.bashrc
 pythonbrew install 2.7.3
 pythonbrew switch 2.7.3
 pip install virtualenv virtualenvwrapper
 echo "source ~/.pythonbrew/pythons/Python-2.7.3/bin/virtualenvwrapper.sh" >> ~/.bashrc
 mkdir ~/.virtualenvs

* numpy scipyとか [#p04c7124]
これ参考にいれる
http://lucidfrontier45.wordpress.com/2012/02/26/building-numpy-and-scipy-with-gotoblas2/

GotoBLAS2
 aaa

CBLAS
 aaa

LAPACK
 aaa

SuiteSparse
 wget http://www.cise.ufl.edu/research/sparse/SuiteSparse/current/SuiteSparse.tar.gz
 tar vzxf Suit...
 cd Suit...
 emacs SuitSparse_config/SuiteSparse_config.mk

編集
 BLAS = -lptf77blas, -lptcblas, -latlas
 LAPACK = -llapack, -lptf77blas, -lptcblas, -latlas

 make CC=gcc CPLUSPLUS=g++ F77=gfortran CFLAGS="-I../Include -O3 -fno-tree-vectorize -fPIC -fexceptions -m64 -march=native" F77FLAGS="-O3 -fno-tree-vectorize -fPIC -fexceptions -m64 -march=native"
 make install

FFTW
 wget http://www.fftw.org/fftw-3.3.tar.gz
 tar zxf fftw-3.3.tar.gz
 cd fftw-3.3
 ./configure
 make
 make install



トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS