NEWEST /    BACK >

MEME + OpenMPI + GridEngine (SGE)

"MEME currently does not support Open MPI" とつれない MEME ですが、
OpenMPI でちゃんと動きました。

% ./configure --with-mpidir=/openmpi_root_path

で、コンパイル&インストール
SGEのスクリプトはこう書きます

 #!/bin/sh
 #$ -pe mpi_pe 8
 
 meme data_set meme_option -p 8


インストールガイドに、
Once mpicc and qsub are located by configure, the parallel version of MEME,
called meme_p is compiled and installed automatically via commands make and make install.

とあるので、思わず meme_p と書いてしまいそうですがこれは間違いで
meme_p は meme から自動で呼ばれ、気にしなくていいもののようです。
the -p <np> argument causes a version of MEME compiled for a parallel CPU architecture to be run. (By placing <np> in quotes you may pass installation specific switches to the 'mpirun' command. The number of processors to run on must be the first argument following -p).

とあり、コンパイルうまくいってれば mpirun を書く必要もないということでした〜

| BioInformatics::Software | 09:09 AM | comments (0) | trackback (x) |

MrBayes インストールで /usr/bin/ld: cannot find エラー

MrBayes を64bit版、MPI対応でインストール。

 % less Makefile

  ARCHITECTURE = unix
  MPI = yes
  OPTFLAGS = -O3


ここいらでバッチをゲット
http://technical.bestgrid.org/index.php/Bioinformatics_applications_at_University_of_Canterbury_HPC

 % setenv OBJECT_MODE 64
 % make _64BIT=yes


  /usr/bin/ld: cannot find -lncurses

この場合、-l に続くパッケージ(nucurses)のライブラリがないので、
yum で(探してから)インストール

 % yum search ncurses

 % yum install ncurses-devel.x86_64


エラーはなくなりインストール完了しました

| BioInformatics::Software | 01:32 PM | comments (0) | trackback (x) |

phrap以外のソフトで作られたACEファイルをconsedで開く

% consed -nophd -ace foo.ace


| BioInformatics::Software | 10:20 AM | comments (0) | trackback (x) |

MATLAB PCT が JobManager を見つけられない


Parallel Computing Toolbox から、Distributed Computing Server の JobManager に接続できない T T

MATLAB/Parallel から MDCS JobManager を設定し、
「Start Validation」をポチッとすると Test Stage - Find Resource でいきなりエラー
該当場所のコードはこんなの
 sched = findResource('jobmanager','LookupURL','foo.nibb.ac.jp')

続き▽

| BioInformatics::Software | 01:58 PM | comments (0) | trackback (x) |

In-Silico PCR 用ソフト isPcr を OSX にインストール

UCSCのJimKentにメールしてソースの在処を教えていただく。
これのコマンドライン版
http://genome.ucsc.edu/cgi-bin/hgPcr?command=start
ホームに解凍、README のとおり作業を進める。
Jimのソフトは基本、ホーム/bin/$MACHTYPE に入る(気がする)

 % echo $MACHTYPE
 i386
 % mkdir ~/bin/i386
 % mkdir ~/lib/i386
 % make

 (略)
 ld warning: in ../../lib/i386/jkOwnLib.a, file is not of required architecture
 ld warning: in ../../lib/i386/jkweb.a, file is not of required architecture
 Undefined symbols:
  "_gfPcrOutputFreeList", referenced from:
  _main in gfPcr.o
 (略)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [gfPcr] Error 1

あまり驚かないが・・・
「要求されてるライブラリのファイルじゃないですよー」って
その下のエラーは全部そこに入ってるやつじゃん!
かなり悩みましたが、
「gcc はi386だと思ってないらしい」ということに突然気付く

 % gcc
 i686-apple-darwin9-gcc-4.2.1: no input files

もしや・・・

 % setenv MACHTYPE i686
 % mkdir ~/bin/i686
 % mkdir ~/lib/i686
 % make


成功!!!

| BioInformatics::Software | 02:04 PM | comments (0) | trackback (x) |

NEWEST / PAGE TOP /    BACK >


ARCHIVES

<前月 2010年09月 次月>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30   

CATEGORIES

OTHER