2011年2月22日星期二

invoking bamova in updated Mac OS system

##############################################################
1.1 download bamova for its website (http://www.uwyo.edu/buerkle/software/bamova/).
1.2 create a folder for bamova and conserved the downloaded binary for Mac OS (bamova 1.0 binary for Mac OS X (Intel-based))

# not only binary file for Mac OS in the following folder
abt6-mao-mbp:bamova jianfengmao$ ls
bamova_1.0_osx bamova_1.0_osx.tar.gz bamova_1.0_src.tar.gz bamova_manual_1.0.pdf

1.3 get the binary file compressed

##############################################################
2.1 install gsl lib, which is necessary for invoking bamova

# create a folder anywhere in your computer for gsl
/Users/jianfengmao/gsl/

# download the updated version of gsl and install it in the standard location (/usr/local)
Curl -O http://ftp.cw.net/pub/gnu/gsl/gsl-1.14.tar.gz
tar xzvf gsl-1.14.tar.gz
cd gsl-1.14
./configure
make
sudo make install # should be done by sudo mode

2.2 check if gsl was installed

abt6-mao-mbp:lib jianfengmao$ pwd
/usr/local/lib

abt6-mao-mbp:lib jianfengmao$ ls
ImageMagick-6.6.1 libgcc_s_ppc64.1.dylib libgfortran.dylib libtkstub8.4.a tkConfig.sh
gcc libgcc_s_x86_64.1.dylib libgfortran.la ppc64 x86_64
libgcc_s.1.dylib libgfortran.2.0.0.dylib libtcl8.4.dylib tcl8.4
libgcc_s.10.4.dylib libgfortran.2.dylib libtclstub8.4.a tclConfig.sh
libgcc_s.10.5.dylib libgfortran.a libtk8.4.dylib tk8.4
abt6-mao-mbp:lib jianfengmao$ ls
ImageMagick-6.6.1 libgfortran.2.0.0.dylib libgsl.dylib libtclstub8.4.a tk8.4
gcc libgfortran.2.dylib libgsl.la libtk8.4.dylib tkConfig.sh
libgcc_s.1.dylib libgfortran.a libgslcblas.0.dylib libtkstub8.4.a x86_64
libgcc_s.10.4.dylib libgfortran.dylib libgslcblas.a pkgconfig
libgcc_s.10.5.dylib libgfortran.la libgslcblas.dylib ppc64
libgcc_s_ppc64.1.dylib libgsl.0.dylib libgslcblas.la tcl8.4
libgcc_s_x86_64.1.dylib libgsl.a libtcl8.4.dylib tclConfig.sh

##############################################################
3. test bamova

abt6-mao-mbp:bamova_1.0_osx jianfengmao$ pwd
/Users/jianfengmao/programe_files/bamova/bamova_1.0_osx

abt6-mao-mbp:bamova_1.0_osx jianfengmao$ ./bamova

USAGE: ./bamova -f frequencydata [-d distancefile -g groupfile -t theta_outputfile -m ms_outputfile -p phi_outputfile]

4. It seems bamova works for me.

没有评论:

发表评论