diff --git a/package/bwa/0.7.17/install.sh b/package/bwa/0.7.17/clang/install.sh similarity index 78% rename from package/bwa/0.7.17/install.sh rename to package/bwa/0.7.17/clang/install.sh index f71c6a0bb41f47289b550ce86659f7a3d6ce8030..6b5e85a17ce1f76a683a66784536761ec85fe0b3 100644 --- a/package/bwa/0.7.17/install.sh +++ b/package/bwa/0.7.17/clang/install.sh @@ -3,6 +3,8 @@ #!/bin/bash set -x set -e +. ${DOWNLOAD_TOOL} -u https://github.com/jratcliff63367/sse2neon/archive/refs/heads/master.zip -f sse2neon-master.zip +. ${DOWNLOAD_TOOL} -u https://sourceforge.net/projects/bio-bwa/files/bwa-0.7.17.tar.bz2 cd ${JARVIS_TMP} rm -rf bwa-0.7.17 sse2neon-master tar -xvf ${JARVIS_DOWNLOAD}/bwa-0.7.17.tar.bz2 diff --git a/package/ctffind/4.1.14/clang/install.sh b/package/ctffind/4.1.14/clang/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..ee713e6f853553199b06d4c9a6cef7bb4221b694 --- /dev/null +++ b/package/ctffind/4.1.14/clang/install.sh @@ -0,0 +1,21 @@ +#download from https://grigoriefflab.umassmed.edu/system/tdf?path=ctffind-4.1.14.tar.gz\&file=1\&type=node\&id=26 +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://grigoriefflab.umassmed.edu/system/tdf?path=ctffind-4.1.14.tar.gz\&file=1\&type=node\&id=26 -f ctffind-4.1.14.tar.gz +cd ${JARVIS_TMP} +rm -rf ctffind-4.1.14 +tar -xvf ${JARVIS_DOWNLOAD}/ctffind-4.1.14.tar.gz +cd ctffind-4.1.14 + +sed -i "7s%^%//%g" src/core/matrix.cpp +sed -i '7i #define _AL_SINCOS(x, s, c) s = sinf(x); c = cosf(x);' src/core/matrix.cpp +#yum install -y libjpeg* libtiff* fftw* +autoreconf -f -i +./configure --prefix=$1 --disable-mkl --enable-openmp --enable-debugmode CC=clang CXX=clang++ FC=flang +sed -i "296s/-O2/-O0/g" Makefile +sed -i "298s/-O2/-O0/g" Makefile +sed -i "302s/-O2/-O0/g" Makefile +make +make install + diff --git a/package/gatk/4.0.0.0/install.sh b/package/gatk/4.0.0.0/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..4f927170b74625140903a20d2f4b97c9f4f8b715 --- /dev/null +++ b/package/gatk/4.0.0.0/install.sh @@ -0,0 +1,11 @@ +#download from https://github.com/broadinstitute/gatk/releases/download/4.0.0.0/gatk-4.0.0.0.zip +#module load +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://github.com/broadinstitute/gatk/releases/download/4.0.0.0/gatk-4.0.0.0.zip + +cd ${JARVIS_TMP} + +unzip ${JARVIS_DOWNLOAD}/gatk-4.0.0.0.zip -d $1 +mv $1/gatk-4.0.0.0 $1/bin diff --git a/package/grads/2.0.a4/install.sh b/package/grads/2.0.a4/install.sh index 5d01ebf08760c8a7fbd60b52a7d6435c8a4ecac4..e35174dbb942c8f668af3ba2813db3e8fc168aaf 100644 --- a/package/grads/2.0.a4/install.sh +++ b/package/grads/2.0.a4/install.sh @@ -3,11 +3,13 @@ set -x set -e +. ${DOWNLOAD_TOOL} -u https://sourceforge.net/projects/opengrads/files/grads2/2.0.a4-1/grads-2.0.a4.oga.1-src.tar.gz + cd ${JARVIS_TMP} rm -rf grads-2.0.a4.oga.1-src.tar.gz tar -xvf ${JARVIS_DOWNLOAD}/grads-2.0.a4.oga.1-src.tar.gz cd grads-2.0.a4.oga.1 -#CC=clang CXX=clang++ +#export CC=clang CXX=clang++ FC=flang ./configure --prefix=$1 --build=aarch64-unknown-linux-gnu make -j make install diff --git a/package/hdf5/1.10.1/install.sh b/package/hdf5/1.10.1/install.sh index 738737190130a24bda1c666224e903607e73d362..d7baecbe6a3eb0f722466ae054fdd5ac08fabad6 100644 --- a/package/hdf5/1.10.1/install.sh +++ b/package/hdf5/1.10.1/install.sh @@ -2,7 +2,7 @@ #!/bin/bash set -x set -e - +. ${DOWNLOAD_TOOL} -u https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/hdf5-1.10.1.tar.gz cd ${JARVIS_TMP} tar -xvf ${JARVIS_DOWNLOAD}/hdf5-1.10.1.tar.gz cd hdf5-1.10.1 diff --git a/package/jasper/1.900.2/install.sh b/package/jasper/1.900.2/install.sh index b61c9f4ee90566784d2b71b13713204ae1b9b3b2..ade3fa523323afa97c01703ec5ac91788c4d336c 100644 --- a/package/jasper/1.900.2/install.sh +++ b/package/jasper/1.900.2/install.sh @@ -2,12 +2,12 @@ #!/bin/bash set -x set -e - +. ${DOWNLOAD_TOOL} -u https://www.ece.uvic.ca/~frodo/jasper/software/jasper-1.900.2.tar.gz cd ${JARVIS_TMP} rm -rf jasper-1.900.2 tar -xvf ${JARVIS_DOWNLOAD}/jasper-1.900.2.tar.gz cd jasper-1.900.2 -#CC=clang CXX=clang++ +#export CC=clang CXX=clang++ ./configure --prefix=$1 make -j make install diff --git a/package/opencv/4.5.5/install.sh b/package/opencv/4.5.5/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..2077723beb8c8120a84da81085f150fcea5afd14 --- /dev/null +++ b/package/opencv/4.5.5/install.sh @@ -0,0 +1,15 @@ +#download from https://github.com/opencv/opencv/archive/refs/tags/4.5.5.tar.gz +#!/bin/bash +set -x +set -e + +. ${DOWNLOAD_TOOL} -u https://github.com/opencv/opencv/archive/refs/tags/4.5.5.tar.gz -f opencv-4.5.5.tar.gz +cd ${JARVIS_TMP} +rm -rf opencv-4.5.5 +tar -xvf ${JARVIS_DOWNLOAD}/opencv-4.5.5.tar.gz +cd opencv-4.5.5 +mkdir build && cd build +#export CC=clang CXX=clang++ FC=flang +cmake .. -DCMAKE_INSTALL_PREFIX=$1 +make -j +make install diff --git a/package/relion/3.1.2/install.sh b/package/relion/3.1.2/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..cc4da6662f6ebfa5ef40ca3c1ee1a4a64ce343a8 --- /dev/null +++ b/package/relion/3.1.2/install.sh @@ -0,0 +1,17 @@ +#download from https://github.com/3dem/relion/archive/refs/tags/3.1.2.tar.gz relion-3.1.2.tar.gz +#!/bin/bash +set -x +set -e + +. ${DOWNLOAD_TOOL} -u https://github.com/3dem/relion/archive/refs/tags/3.1.2.tar.gz relion-3.1.2.tar.gz +cd ${JARVIS_TMP} +rm -rf relion-3.1.2 +tar -xvf ${JARVIS_DOWNLOAD}/relion-3.1.2.tar.gz +cd relion-3.1.2 +mkdir build && cd build +#yum install -y libtiff-* fltk* fltk-devel* +#yum -y install xorg-x11-xauth +#export CC=clang CXX=clang++ FC=flang +cmake -DCUDA=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=$1 .. +make -j +make install diff --git a/package/wxWidgets/3.0.5/install.sh b/package/wxWidgets/3.0.5/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..65e0510d7a32cf2d12af8aecacc23f3c0997bf15 --- /dev/null +++ b/package/wxWidgets/3.0.5/install.sh @@ -0,0 +1,14 @@ +#download from https://github.com/wxWidgets/wxWidgets/archive/refs/tags/v3.0.5.tar.gz +#!/bin/bash +set -x +set -e + +. ${DOWNLOAD_TOOL} -u https://github.com/wxWidgets/wxWidgets/archive/refs/tags/v3.0.5.tar.gz -f wxWidgets-3.0.5.tar.gz +cd ${JARVIS_TMP} +rm -rf wxWidgets-3.0.5 +tar -xvf ${JARVIS_DOWNLOAD}/wxWidgets-3.0.5.tar.gz +cd wxWidgets-3.0.5 +#CC=clang CXX=clang++ FC=flang +./configure --disable-gui --prefix=$1 +make -j +make install diff --git a/templates/bwa/0.7.17/data.bwa.arm.cpu.config b/templates/bwa/0.7.17/data.bwa.arm.cpu.config index c667b95b42ee56323e471cc73aa0b167edfd0205..b86b71b1dd40346732cc3391cf5640b0c9cd8914 100644 --- a/templates/bwa/0.7.17/data.bwa.arm.cpu.config +++ b/templates/bwa/0.7.17/data.bwa.arm.cpu.config @@ -3,8 +3,6 @@ [DOWNLOAD] bwa/0.7.17 https://sourceforge.net/projects/bio-bwa/files/bwa-0.7.17.tar.bz2 -sse2neon/master https://github.com/jratcliff63367/sse2neon/archive/refs/heads/master.zip sse2neon.zip -bisheng/2.1.0 https://mirrors.huaweicloud.com/kunpeng/archive/compiler/bisheng_compiler/bisheng-compiler-2.1.0-aarch64-linux.tar.gz [DEPENDENCY] module use ./software/modulefiles @@ -25,7 +23,23 @@ binary_dir = case_dir = [BUILD] -./jarvis -install bwa/0.7.17 clang +#./jarvis -install bwa/0.7.17/clang clang +cd ${JARVIS_TMP} +rm -rf bwa-0.7.17 sse2neon-master +tar -xvf ${JARVIS_DOWNLOAD}/bwa-0.7.17.tar.bz2 +unzip ${JARVIS_DOWNLOAD}/sse2neon.zip +cd bwa-0.7.17 +bisheng_includedir=`which clang` +bisheng_includedir=${bisheng_includedir%/*/*}/include +cp ${JARVIS_TMP}/sse2neon-master/SSE2NEON.h ${bisheng_includedir} +sed -i "1s/gcc/clang/g" Makefile +sed -i "14s%$%-I${bisheng_includedir}%g" Makefile +sed -i "29s///g" ksw.c +sed -i "33s%^%//%g" rle.h +make +mkdir -p $JARVIS_ROOT/software/apps/bisheng2/bwa/0.7.17 +cp -r ../bwa-0.7.17/* $JARVIS_ROOT/software/apps/bisheng2/bwa/0.7.17 +rm -rf ${bisheng_includedir}/SSE2NEON.h [RUN] run = diff --git a/templates/ctffind/4.1.14/data.ctffind.arm.cpu.config b/templates/ctffind/4.1.14/data.ctffind.arm.cpu.config new file mode 100644 index 0000000000000000000000000000000000000000..1eda15c048cf65a92b7feea4faa60e5e78b563f5 --- /dev/null +++ b/templates/ctffind/4.1.14/data.ctffind.arm.cpu.config @@ -0,0 +1,36 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +ctffind/4.1.14 https://grigoriefflab.umassmed.edu/system/tdf?path=ctffind-4.1.14.tar.gz\&file=1\&type=node\&id=26 ctffind-4.1.14.tar.gz + + +[DEPENDENCY] +module use ./software/modulefiles +module purge +./jarvis -install bisheng/2.1.0 com +module add bisheng2/2.1.0 +export CC=clang CXX=clang++ FC=flang +./jarvis -install wxWidgets/3.0.5 clang + + +[ENV] +module purge +module use ${JARVIS_ROOT}/software/modulefiles +module add bisheng2/2.1.0 +module add wxWidgets/3.0.5 +export CC=clang CXX=clang++ FC=flang + +[APP] +app_name = ctffind +build_dir = ${JARVIS_ROOT} +binary_dir = +case_dir = + +[BUILD] +./jarvis -install ctffind/4.1.14/clang clang + +[RUN] +run = +binary = +node = 1 diff --git a/templates/gatk/4.0.0.0/data.gatk.arm.cpu.config b/templates/gatk/4.0.0.0/data.gatk.arm.cpu.config new file mode 100644 index 0000000000000000000000000000000000000000..162e9bf1ecf195b1bbf0777cadd7d8fd308230aa --- /dev/null +++ b/templates/gatk/4.0.0.0/data.gatk.arm.cpu.config @@ -0,0 +1,28 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +gtak/4.0.0 https://github.com/broadinstitute/gatk/releases/download/4.0.0.0/gatk-4.0.0.0.zip + +[DEPENDENCY] + +[ENV] +module purge +#module use ${JARVIS_ROOT}/software/modulefiles +#module add bisheng2/2.1.0 +#export CC=clang CXX=clang++ FC=flang + +[APP] +app_name = gatk +build_dir = ${JARVIS_ROOT} +binary_dir = +case_dir = + +[BUILD] +mkdir -p $JARVIS_ROOT/software/apps/bisheng2/gatk/4.0.0.0 +unzip ${JARVIS_DOWNLOAD}/gatk-4.0.0.0.zip -d $JARVIS_ROOT/software/apps/bisheng2/gatk/4.0.0.0 + +[RUN] +run = +binary = +node = 1 diff --git a/templates/gatk/4.0.0.0/data.gatk.arm.cpu.config.bak b/templates/gatk/4.0.0.0/data.gatk.arm.cpu.config.bak new file mode 100644 index 0000000000000000000000000000000000000000..ac4e10a117cc7f339098db88cfef99bb54c64326 --- /dev/null +++ b/templates/gatk/4.0.0.0/data.gatk.arm.cpu.config.bak @@ -0,0 +1,27 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +gtak/4.0.0 https://github.com/broadinstitute/gatk/releases/download/4.0.0.0/gatk-4.0.0.0.zip + +[DEPENDENCY] + +[ENV] +module purge +module use ${JARVIS_ROOT}/software/modulefiles +module add bisheng2/2.1.0 +export CC=clang CXX=clang++ FC=flang + +[APP] +app_name = gatk +build_dir = ${JARVIS_ROOT} +binary_dir = +case_dir = + +[BUILD] +./jarvis -install gatk/4.0.0.0 clang + +[RUN] +run = +binary = +node = 1 diff --git a/templates/grads/2.0.a4/data.grads.arm.cpu.config b/templates/grads/2.0.a4/data.grads.arm.cpu.config index d0db6b6976ad11d3892b088e325b7c3c197dde35..ad86d9303c5fc2300338ce6df45b891d6b30d7e6 100644 --- a/templates/grads/2.0.a4/data.grads.arm.cpu.config +++ b/templates/grads/2.0.a4/data.grads.arm.cpu.config @@ -3,7 +3,7 @@ [DOWNLOAD] grads/2.0.a4 https://sourceforge.net/projects/opengrads/files/grads2/2.0.a4-1/grads-2.0.a4.oga.1-src.tar.gz -bisheng/2.1.0 https://mirrors.huaweicloud.com/kunpeng/archive/compiler/bisheng_compiler/bisheng-compiler-2.1.0-aarch64-linux.tar.gz + [DEPENDENCY] module use ./software/modulefiles diff --git a/templates/hdf5/1.10.1/data.hdf5.arm.cpu.config b/templates/hdf5/1.10.1/data.hdf5.arm.cpu.config index b519741c5dd5cd930117bb876a39bc50b2eb0ae1..9fda53ba43f12dfda47b6da518c1b82d723a30bc 100644 --- a/templates/hdf5/1.10.1/data.hdf5.arm.cpu.config +++ b/templates/hdf5/1.10.1/data.hdf5.arm.cpu.config @@ -2,11 +2,7 @@ 11.11.11.11 [DOWNLOAD] -zlib/1.2.11 https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/hdf5-1.10.1.tar.gz -bisheng/2.1.0 https://mirrors.huaweicloud.com/kunpeng/archive/compiler/bisheng_compiler/bisheng-compiler-2.1.0-aarch64-linux.tar.gz -hucx/1.1.1 https://github.com/kunpengcompute/hucx/archive/refs/tags/v1.1.1-huawei.zip hucx-1.1.1-huawei.zip -xucg/1.1.1 https://github.com/kunpengcompute/xucg/archive/refs/tags/v1.1.1-huawei.zip xucg-1.1.1-huawei.zip -hmpi/1.1.1 https://github.com/kunpengcompute/hmpi/archive/refs/tags/v1.1.1-huawei.zip hmpi-1.1.1-huawei.zip +hdf5/1.10.1 https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/hdf5-1.10.1.tar.gz [DEPENDENCY] module use ./software/modulefiles @@ -15,12 +11,12 @@ module purge module load bisheng2/2.1.0 export CC=clang CXX=clang++ FC=flang ./jarvis -install hmpi/1.1.1 clang -module load hmpi1/1.1.1 [ENV] module purge module use ${JARVIS_ROOT}/software/modulefiles module add bisheng2/2.1.0 +module load hmpi1/1.1.1 export CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort [APP] @@ -30,7 +26,7 @@ binary_dir = case_dir = [BUILD] -./jarvis -install hdf5/1.10.1 clang +./jarvis -install hdf5/1.10.1 clang+mpi [RUN] run = diff --git a/templates/opencv/4.5.5/data.opencv.arm.cpu.config b/templates/opencv/4.5.5/data.opencv.arm.cpu.config new file mode 100644 index 0000000000000000000000000000000000000000..d73dd54cdfda5e775fb43a97330906531013ec7a --- /dev/null +++ b/templates/opencv/4.5.5/data.opencv.arm.cpu.config @@ -0,0 +1,30 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +opencv/4.5.5 https://github.com/opencv/opencv/archive/refs/tags/4.5.5.tar.gz opencv-4.5.5.tar.gz + +[DEPENDENCY] +module use ./software/modulefiles +module purge +./jarvis -install bisheng/2.1.0 com + +[ENV] +module purge +module use ${JARVIS_ROOT}/software/modulefiles +module add bisheng2/2.1.0 +export CC=clang CXX=clang++ FC=flang + +[APP] +app_name = opencv +build_dir = ${JARVIS_ROOT} +binary_dir = +case_dir = + +[BUILD] +./jarvis -install opencv/4.5.5 clang + +[RUN] +run = +binary = +node = 1 diff --git a/templates/relion/3.1.2/data.relion.arm.cpu.config b/templates/relion/3.1.2/data.relion.arm.cpu.config new file mode 100644 index 0000000000000000000000000000000000000000..c532829c36063c65183cec2fb127037064c30265 --- /dev/null +++ b/templates/relion/3.1.2/data.relion.arm.cpu.config @@ -0,0 +1,50 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +relion/3.1.2 https://github.com/3dem/relion/archive/refs/tags/3.1.2.tar.gz relion-3.1.2.tar.gz + +[DEPENDENCY] +module use ./software/modulefiles +module purge +./jarvis -install bisheng/2.1.0 com +module add bisheng2/2.1.0 +export CC=clang CXX=clang++ FC=flang +./jarvis -install wxWidgets/3.0.5 clang +module add wxWidgets/3.0.5 +./jarvis -install ctffind/4.1.14/clang clang +./jarvis -install hmpi/1.1.1 clang + +[ENV] +module purge +module use ${JARVIS_ROOT}/software/modulefiles +module add bisheng2/2.1.0 +module add wxWidgets/3.0.5 +module add ctffind-clang/4.1.14 +module add hmpi1/1.1.1 +export CC=clang CXX=clang++ FC=flang + +[APP] +app_name = relion +build_dir = ${JARVIS_ROOT} +binary_dir = +case_dir = + +[BUILD] +#./jarvis -install relion/3.1.2 clang+mpi +cd ${JARVIS_TMP} +rm -rf relion-3.1.2 +tar -xvf ${JARVIS_DOWNLOAD}/relion-3.1.2.tar.gz +cd relion-3.1.2 +mkdir build && cd build +#yum install -y libtiff-* fltk* fltk-devel* +#yum -y install xorg-x11-xauth +cmake -DCUDA=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=${JARVIS_ROOT}/software/apps/relion/3.1.2 .. +make -j +make install + + +[RUN] +run = +binary = +node = 1 diff --git a/templates/wxWidgets/3.0.5/data.wxWidgets.arm.cpu.config b/templates/wxWidgets/3.0.5/data.wxWidgets.arm.cpu.config new file mode 100644 index 0000000000000000000000000000000000000000..bd364808545fc0db49d8a69814ccfda8b0f8de76 --- /dev/null +++ b/templates/wxWidgets/3.0.5/data.wxWidgets.arm.cpu.config @@ -0,0 +1,31 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +wxWidgets/3.0.5 https://github.com/wxWidgets/wxWidgets/archive/refs/tags/v3.0.5.tar.gz wxWidgets-3.0.5.tar.gz + +[DEPENDENCY] +module use ./software/modulefiles +module purge +./jarvis -install bisheng/2.1.0 com + + +[ENV] +module purge +module use ${JARVIS_ROOT}/software/modulefiles +module add bisheng2/2.1.0 +export CC=clang CXX=clang++ FC=flang + +[APP] +app_name = wxWidgets +build_dir = ${JARVIS_ROOT} +binary_dir = +case_dir = + +[BUILD] +./jarvis -install wxWidgets/3.0.5 clang + +[RUN] +run = +binary = +node = 1