[[PageOutline]] = 2010-01-18 = == f-motif == * [陽明] f-motif debug * 原本懷疑當時有多筆輸入同時在跑,但從時間來看,近期輸入只有這三筆紀錄 {{{ -rw-r--r-- 1 www-data www-data 17K 2010-01-15 18:34 100115183405.txt -rw-r--r-- 1 www-data www-data 17K 2010-01-16 07:49 100116074933.txt -rw-r--r-- 1 www-data www-data 17K 2010-01-16 13:18 100116131808.txt }}} * 針對兩筆相同輸入,卻無法正常跑出輸出的比對,在檔案大小有很大的差異 {{{ 16M 100116074933.txt 1.3M 100116131808.txt }}} * 再仔細觀察無法跑出結果的[http://f-motif.classcloud.org/output/100116074933.txt 輸出內容],倒數幾筆的內容,我計算了這個重複出現的 pattern 一共出現了 168,076 次(接近 17 萬次) {{{ .R..R.S......:26 : 53 }}} * 我的懷疑是『收斂條件』or『結束條件』沒寫好。 * [陽明] rJava 問題 * 根據錯誤訊息,必須先跑 R CMD javareconf。跑過之後就可以正常安裝了。 * 解法 {{{ $ sudo R CMD javareconf $ echo "source(\"http://bioconductor.org/biocLite.R\")" > rJava.R $ echo "biocLite(\"rJava\")" >> rJava.R $ sudo R --no-save < rJava.R }}} * [陽明] Parallel::MPI::Simple 安裝 * 錯誤訊息:找不到 mpi.h 當然也無法正常用 -lmpi 的方式鏈結函式庫 - [attachment:wiki:jazz/10-01-18:Parallel-MPI-Simple.error 完整錯誤訊息] {{{ Note (probably harmless): No library found for -lmpi Simple.xs:8:18: error: mpi.h: No such file or directory }}} * 官方解法: {{{ If you find you cannot build this module, or that the tests fail, you may be on an odd system where you need to do more than pass -lmpi to your C compiler to build MPI applications. If this is the case, rerun perl Makefile.PL with appropriate LDFLAGS= and CCFLAGS= arguments. }}} * 癟腳解法: * 進 .cpan/build/Parallel-MPI-Simple-0.03-*/ 編輯 Makefile * 修改 LDFLAGS 加入 -L/opt/mpich2/lib * 修改 CCFLAGS 加入 -I/opt/mpich2/include * 執行 sudo make 編譯 * 執行 sudo make install 安裝 == Munin == * 有時候只是想監控單一台機器的負載,想要一個比 Ganglia 輕量化的工具,就可以考慮 [http://munin.projects.linpro.no/ Munin] * [參考] [http://www.debian-administration.org/articles/229 Monitoring systems with munin] * 步驟十分簡單,只要安裝兩個套件即可: {{{ $ sudo apt-get install munin munin-node }}} == Partclone == * 跟 thomas 討論 partclone.vmfs 的發展可能性 * 目前已有 libvmfs - http://git.glandium.org/?p=vmfs-tools.git;a=tree * 需求:備份 VMWare ESX Server 或者 ESXi Server 都有可能 * VMFS 簡介: [http://en.wikipedia.org/wiki/VMware_VMFS 維基百科] * [問題] 可以用 Clonezilla 備份 Lustre 嗎??? * liblustre - http://wiki.lustre.org/index.php/LibLustre_How-To_Guide