iSALE - Debian GNU Linux 7.0(Wheezy)へのインストールレポート Diff
- Added parts are displayed like this.
- Deleted parts are displayed
like this.
このドキュメントはiSALE をDebian GNU/Linux 7.0(wheezy) へ導入するためのものである.
* Windows 上に仮想化ソフトウェア導入・wheezy のインストール方法は((<こちら|URL:http://www.cosmo.sci.hokudai.ac.jp/~mikataka/try/wheezy/wheezy_clean_install.htm>))
== 準備
* iSALE インストールに際し,最低限必要なパッケージは以下の通り
* subversion
* pgplot5
* gfortran
* make
* gcc
* g++
*以下は拡張的な機能を利用したい場合に必要なパッケージ
* python
* gnuplot
* qt3-dev-tools
=== 必要パッケージの導入
# apt-get update
# apt-get install subversion gfortran make gcc python gnuplot g++
pgplot とqt3-dev-tools に関しては,デフォルトのsources.listではパッケージインストールできないので,
sources.list を書き換える
=== pgplot のインストール
* sources.list の書き換え
# emacs /etc/apt/sources.list (non-free を追記する, この際アーカイブ先は本ドキュメントと同じでなくてもよい)
deb http://dennou-h.gfd-dennou.org/debian/ wheezy main non-free
deb-src http://dennou-h.gfd-dennou.org/debian/ wheezy main non-free
deb http://security.debian.org/ wheezy/updates main non-free
deb-src http://security.debian.org/ wheezy/updates main non-free
* インストール
# apt-get update
# apt-get install pgplot5
=== qt3-dev-tools のインストール
qt3-dev-tools はすでにdebian パッケージから削除されており,
http://debian.tryphon.eu からインストールするが,そのために
公開鍵の取得と登録が必要となる.
* sources.list の書き換え
# emacs /etc/apt/sources.list (http://debian.tryphon.eu を追記)
deb http://debian.tryphon.eu wheezy main contrib
* 公開鍵の取得
# wget -q -O - http://debian.tryphon.eu/release.asc | apt-key add -
* インストール
# apt-get update
# apt-get install qt3-dev-tools
これで準備は完了である.
* 参考文献
* ((<tryphon project|URL:http://debian.tryphon.eu/>))
== iSALE インストール
* 作業ディレクトリの準備
$ cd
$ mkdir -p iSALE/work
* svn でソースを取り寄せる
$ svn co --username mikataka svn://earth.naturkundemuseum-berlin.de/iSALE/tags/chicxulub ./iSALE/work
--username とその次のユーザー名は,svn アカウントとローカルの(今設定しようとしている計算機上の)アカウントとが同じであれば必要ない.
最後の引数は,インストール先のディレクトリ名
===コンパイル
* ((<iSALE インストールガイド|URL:http://www.isale-code.de/projects/isale/wiki/Install_guide>)) に従って作業を進める
$ cd iSALE/work
$ ./configure --prefix=/home/mikataka/isale/work --with-isaleplot --with-vimod
--prefixにはインストールしたいディレクトリ先を指定(今回は/home/mikataka/isale/work)
--with-isaleplot,--with-vimod はそれぞれ可視化ツールを利用するためのオプション
* make してインストール
$ make
$ make install
== 動作チェック
* デモを動かす
$ cd ~isale/work/share/examples/demo2D
$ ./iSALE2D
しばらく時間がかかる
$ cd demo2D
$ ../iSALEPlot -f ../iSALEPlot.inp -m jdata.dat
~/isale/work/share/examples/demo2D/demo2D/DamPre にpng ファイルが作成されていればOK
他のファイル形式にしたい場合はiSALEPlot.inp のDEVICE の行をpng/png => gif/gif などに変える
* 結果は以下のようになる.
{{attach_view(isale_demo2D_test.png)}}
* Windows 上に仮想化ソフトウェア導入・wheezy のインストール方法は((<こちら|URL:http://www.cosmo.sci.hokudai.ac.jp/~mikataka/try/wheezy/wheezy_clean_install.htm>))
== 準備
* iSALE インストールに際し,最低限必要なパッケージは以下の通り
* subversion
* pgplot5
* gfortran
* make
* gcc
* g++
*以下は拡張的な機能を利用したい場合に必要なパッケージ
* python
* gnuplot
* qt3-dev-tools
=== 必要パッケージの導入
# apt-get update
# apt-get install subversion gfortran make gcc python gnuplot g++
pgplot とqt3-dev-tools に関しては,デフォルトのsources.listではパッケージインストールできないので,
sources.list を書き換える
=== pgplot のインストール
* sources.list の書き換え
# emacs /etc/apt/sources.list (non-free を追記する, この際アーカイブ先は本ドキュメントと同じでなくてもよい)
deb http://dennou-h.gfd-dennou.org/debian/ wheezy main non-free
deb-src http://dennou-h.gfd-dennou.org/debian/ wheezy main non-free
deb http://security.debian.org/ wheezy/updates main non-free
deb-src http://security.debian.org/ wheezy/updates main non-free
* インストール
# apt-get update
# apt-get install pgplot5
=== qt3-dev-tools のインストール
qt3-dev-tools はすでにdebian パッケージから削除されており,
http://debian.tryphon.eu からインストールするが,そのために
公開鍵の取得と登録が必要となる.
* sources.list の書き換え
# emacs /etc/apt/sources.list (http://debian.tryphon.eu を追記)
deb http://debian.tryphon.eu wheezy main contrib
* 公開鍵の取得
# wget -q -O - http://debian.tryphon.eu/release.asc | apt-key add -
* インストール
# apt-get update
# apt-get install qt3-dev-tools
これで準備は完了である.
* 参考文献
* ((<tryphon project|URL:http://debian.tryphon.eu/>))
== iSALE インストール
* 作業ディレクトリの準備
$ cd
$ mkdir -p iSALE/work
* svn でソースを取り寄せる
$ svn co --username mikataka svn://earth.naturkundemuseum-berlin.de/iSALE/tags/chicxulub ./iSALE/work
--username とその次のユーザー名は,svn アカウントとローカルの(今設定しようとしている計算機上の)アカウントとが同じであれば必要ない.
最後の引数は,インストール先のディレクトリ名
===コンパイル
* ((<iSALE インストールガイド|URL:http://www.isale-code.de/projects/isale/wiki/Install_guide>)) に従って作業を進める
$ cd iSALE/work
$ ./configure --prefix=/home/mikataka/isale/work --with-isaleplot --with-vimod
--prefixにはインストールしたいディレクトリ先を指定(今回は/home/mikataka/isale/work)
--with-isaleplot,--with-vimod はそれぞれ可視化ツールを利用するためのオプション
* make してインストール
$ make
$ make install
== 動作チェック
* デモを動かす
$ cd ~isale/work/share/examples/demo2D
$ ./iSALE2D
しばらく時間がかかる
$ cd demo2D
$ ../iSALEPlot -f ../iSALEPlot.inp -m jdata.dat
~/isale/work/share/examples/demo2D/demo2D/DamPre にpng ファイルが作成されていればOK
他のファイル形式にしたい場合はiSALEPlot.inp のDEVICE の行をpng/png => gif/gif などに変える
* 結果は以下のようになる.
{{attach_view(isale_demo2D_test.png)}}