Skip to content

Commit

Permalink
updated mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
afdezfraga committed Mar 13, 2023
1 parent bf752bc commit 6363fe4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/scripts/prep.ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@
sudo apt-get -o Acquire::ForceIPv4=true update -qq 1>/dev/null
sudo apt-get -o Acquire::ForceIPv4=true upgrade -qq 1>/dev/null
sudo apt-get -o Acquire::ForceIPv4=true install \
gcc-10 g++-10 cmake libomp-dev -qq 1>/dev/null

# Send std out to null
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.bz2 -O openmpi.tar.bz2 1>/dev/null 2>&1
tar -xjvf openmpi.tar.bz2 1>/dev/null 2>&1
cd openmpi-4.1.5
mkdir build && cd build
../configure
make all install
gcc-10 g++-10 cmake libomp-dev openmpi-bin libopenmpi4 libopenmpi-dev -qq 1>/dev/null

# Fix openmpi complaining about not having enough slots
OPENMPI_HOSTFILE=/etc/openmpi/openmpi-default-hostfile
Expand All @@ -22,7 +14,6 @@ if [ -z "$(cat ${OPENMPI_HOSTFILE} | grep -v -E '^#')" ]; then\
fi

# Install HTSlib
cd
wget https://github.com/samtools/htslib/releases/download/1.17/htslib-1.17.tar.bz2 -O htslib.tar.bz2 1>/dev/null
tar -xjvf htslib.tar.bz2 1>/dev/null
cd htslib-1.17
Expand Down

0 comments on commit 6363fe4

Please sign in to comment.