2009-01-01から1年間の記事一覧

OpenMPI

未整理 ビルド --with-openib[=] --with-libnuma --with-tm 例 # yum install libibverbs libibverbs-devel $ ./configure --prefix=/opt/openmpi/ --with-openib --enable-mpi-f90 F77=ifort FC=ifort $ make # make install 実行 mpirun --mca btl openib,…

Adaptive Poisson-Boltzmann Solver (APBS)

http://www.poissonboltzmann.org/apbs/ APBS is a software package for modeling biomolecular solvation through solution of the Poisson-Boltzmann equation (PBE), one of the most popular continuum models for describing electrostatic interactio…

Windows小技

画面の拡大、縮小 Ctrlを押しながら、マウスのホイールを上下ビジュアルモードで選択 Altキーを押しながら、マウスをドラッグし選択 ボリュームIDの確認 > vol または > vol %systemdrive%

Intel Math Kernel Library Link Line Advisor

ははは、便利かも。http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ あれ、URL変わってる(2012/09/11)? MKL Link Line Advisor http://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor.html ついでにコレも。 http:/…

panda-world.ne.jp

lastで変なドメイン名が。。調べたら、 descr: Japan Nation-wide Network of Softbank BB Corp. で管理されているとのこと。iPhoneのssh clientからアクセスした際のものらしい。 紛らわしい名称だ。

MS数式エディタ

スペースを入力Ctrl + Space

netcdf

http://www.unidata.ucar.edu/software/netcdf/ 一部うまく動作しないけど、↓でほぼ足りてるな。。 http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-pgplot-with-the-intel-compilers/

OOM-Killer の対処

その一、 # echo 2 > /proc/sys/vm/overcommit_memory # echo 80 > /proc/sys/vm/overcommit_ratio ブート時に自動設定するには、/etc/sysctl.confに下記を追加 vm.overcommit_memory = 2 vm.overcommit_ratio = 80 # sysctl -a | grep overcommit で現在の…

Linux 技術文書一覧

おもしろいし、勉強になる。 IBM developerWorks Japan : Linux : 技術文書一覧 http://www.ibm.com/developerworks/jp/views/linux/libraryview.jsp

LinuxとWindowsのデュアルブート

2nd HDDにWindowsがインストールされている場合、の例 1) /boot/grub/grub.confに下記を追加 title MS Windows XP 32-bit map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) rootnoverify (hd1,0) chainloader (hd1,0)+12) grub-installコマンド実行 # grub-install …

正規分布の再生性

っていうらしい。 独立な2つのガウス分布を畳み込み積分(和?)すると、やはりガウス分布になること。IGOR Proでプロットしてみた。 FFTして、積をとって、IFFTしても同様の結果が得られた。 (convolve関数のAlgorithmは、Circularを選択)

PGPLOT Graphics Subroutine Library

http://www.astro.caltech.edu/~tjp/pgplot/

Mondorescue

古いVAIOでmondorescueでLinux(Fedora11/i386)のバックアップを試そうとしたら、めちゃめちゃ嵌った。 mondoarchiveは、それほど問題なく進めたたけども、 レストアは、ドライバだとか(?)、selinuxだとかの問題で、悉くつまづいた。まず、 # mondoarchive…

SRPMのビルド

rpm v3.x # rpm --rebuild xxx.src.rpmrpm v4.x or later # rpmbuild --rebuild xxx.src.rpmrpmbuildのパッケージ名はrpm-build、 # yum install rpm-build でインストール。書き出し先は、~/rpm/以下か /usr/src/redhat/RPMS/以下。

Linuxのイメージビューア

軽いの。 ↑ eog (rpm) - Eye of GNOME image viewer gthumb (rpm) - Image viewer, editor, organizer ↓ 重いの。 Ref. 10 Best Image Viewers for Linux http://techcityinc.com/2009/03/10-best-image-viewers-for-linux/ psやpdfは、evince。

puttyでX11 Forwarding

PuTTY Configurationから、 Connection >> SSH >> X11 と選択し、 Enable X11 forwardingチェックボックスを有効、 X display locationにlocalhost:0を入力 Xmingと組み合わせれば、たいへん便利。 また、ssh接続が勝手に切れないようにするため、ServerAliv…

パッチファイルの作成context 出力形式 $ diff -c original.txt new.txt > patch.txtunified 出力形式 $ diff -u original.txt new.txt > patch.txt※ディレクトリを比較する場合、-rNオプションを追加。例 $ diff -crN old-dir new-dir > patch.txtパッチの…

rsshのインストール

普通のssh/sftpだと、shellにアクセスできてしまうので、 rsshを使って、chrooted jail+sftp環境を構築。 // 以前、ここに書いたと思うんだけども、 // 保存していなかったらしい。焦った。 1. パッケージ入手 http://www.pizzashack.org/rssh/ から、tar ba…

.dir_colorsでlsの視認性アップ

今まで、使ってなかったことを後悔した。orz 端末の背景色は、黒にすることがほとんどなので、 ディレクトリ名が青色で表示されて、見難くて、 要らないと思っていたLS_COLORSだけども、 ホームディレクトリに.dir_colorsファイルを作成して、 ユーザ毎にカ…

logwatchで送信元アドレスを変更

logwatch.confのMailFromフィールドのみの変更だと、 メールフィルタでフィルタリングされてしまう。。 ひとまず、同じlogwatch.confの中の、sendmail -tを叩いているところで、指定し、回避。 例 mailer = "sendmail -t -f logwatch@sample.com"

Atomization energy

日本語では、原子化エネルギーと言うらしい。構成原子個々のエネルギーを足し合わせたモノと、ZPE補正した分子のエネルギーの差 Sum(D0) = ( E_atom1 + E_atom2 + ... + E_atomN ) - ( E_molecule + ZPE) 分子 / G2法 / 実験値(単位: kcal/mol) CH4 / 393.2 …

bcコマンドで関数定義

知らなかった。。 define d (n) { return (2*n); } もしくは、 define d (n) { return (2*n); } bc Command Manual - Table of Contents http://www.gnu.org/software/bc/manual/html_chapter/bc_toc.html Functions http://www.gnu.org/software/bc/manual/…

gnuplot tips

手軽にグラフを描きたい時に便利。 最近のLinuxには、標準インストールされていない? 2Dプロット例 gnuplot> plot 'filename.dat' using column# 描画方法を変更可、with lines で折線、 他に points, linespoints, dots, impulses, yerrorbars, xerrorbars…

時間hh:mm:ss.0を秒で表示する@Excel

86400をかける。 例) A1=5:30.2 とすると、 A2=A1*86400 でOK。

Windows Tips

#001 cmd起動 shift + 右クリック ※フォルダ選択し起動すれば、初期フォルダを指定可 #002 フォルダ表示方法の切り替え @visata 1. エクスプローラでフォルダを開く 2. エクスプローラ左上、"整理"をクリック 3. "フォルダ名"のプロパティが表示される 4. "…

Computational Science Software #2

■ --- Docking software ----------------------------ParaDockS http://europa.pharmazie.uni-halle.de/joomla/DockingServer http://www.dockingserver.com/ PLANTS / University of Konstanz http://www.tcd.uni-konstanz.de/research/plants.php AutoDoc…

Get a Free Software PDF reader!

PDFreaders.org http://pdfreaders.org/

エクスプローラのショートカットキー

前からあったら便利だと思っていたショートカットキーがわかった。 (※Windows ヘルプとサポートにショートカットキーの説明があり、そこに一覧表があった) Alt+Dで、エクスプローラのアドレスバーをポイントすることが出来る - End 作業中のウィンドウの一…

RISCとCISCとMIMDとSIMD

よく忘れるので。 RISC - Reduced Instruction Set Computer CISC - Complex Instruction Set Computer EPIC - Explicitly Parallel Instruction Computing MIMD - Multiple Instruction Multiple Data SIMD - Single Instruction Multiple Data

psftpでポートを指定

1) 起動時に指定 psftp -P [use port number] computer 2) Open時に指定 open xxx.xxx.xxx.xxx [port number]