Created
November 1, 2019 02:15
-
-
Save suqingdong/cd5319b097802f1a6d7434a070f9f2ce to your computer and use it in GitHub Desktop.
Compile SJM with SGE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e | |
INSTALL_DIR=/mnt/xxxxx/sjm/sjm-1.2.0 | |
# =============== | |
# 1 install tclap | |
# =============== | |
echo install tclap ... | |
wget https://jaist.dl.sourceforge.net/project/tclap/tclap-1.2.2.tar.gz | |
tar xf tclap-1.2.2.tar.gz | |
cd tclap-1.2.2 | |
./configure --prefix=$INSTALL_DIR | |
make -j 8 | |
make install | |
cd .. | |
# =============== | |
# 2 install boost | |
# =============== | |
echo install boost ... | |
sudo yum install boost boost-devel -y | |
# =============== | |
# 3 install sjm | |
# =============== | |
echo install sjm ... | |
wget https://github.com/StanfordBioinformatics/SJM/archive/1.2.0.tar.gz | |
tar xf 1.2.0.tar.gz | |
cd SJM-1.2.0 | |
./configure \ | |
--prefix=${INSTALL_DIR} \ | |
--with-scheduler=SGE \ | |
--with-pe=mpi \ | |
CPPFLAGS="-I${INSTALL_DIR}/include" | |
make -j8 | |
make install | |
echo install done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment