-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from jithinjosepkl/master
CentOS 7.6/7.7 HPC images
- Loading branch information
Showing
36 changed files
with
321 additions
and
61 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# CentOS 7.6 HPC Image | ||
|
||
The CentOS 7.6 HPC Image includes optimizations and recommended configurations to deliver optimal performance, | ||
consistency, and reliability. This image consists of the following HPC tools and libraries: | ||
|
||
- Mellanox OFED | ||
- Pre-configured IPoIB (IP-over-InfiniBand) | ||
- Popular InfiniBand based MPI Libraries | ||
- HPC-X | ||
- IntelMPI | ||
- MVAPICH2 | ||
- OpenMPI | ||
- Communication Runtimes | ||
- Libfabric | ||
- OpenUCX | ||
- Optimized librares | ||
- AMD Blis | ||
- AMD FFTW | ||
- AMD Flame | ||
- Intel MKL | ||
|
||
The MPI libraries are configured as environment modules. Users can select any preferred MPI flavor as follows: | ||
|
||
`module load mpi/<mpi-flavor>` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../common/hpc-tuning.sh | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../common/install_amd_libs.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../../common/install_gcc-9.2.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../../common/install_intel_libs.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
wget https://www.mellanox.com/downloads/ofed/MLNX_OFED-4.7-1.0.0.1/MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.6-x86_64.tgz | ||
tar zxvf MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.6-x86_64.tgz | ||
|
||
KERNEL=( $(rpm -q kernel | sed 's/kernel\-//g') ) | ||
KERNEL=${KERNEL[-1]} | ||
yum install -y kernel-devel-${KERNEL} | ||
./MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.6-x86_64/mlnxofedinstall --kernel $KERNEL --kernel-sources /usr/src/kernels/${KERNEL} --add-kernel-support --skip-repo |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
|
||
# Load gcc | ||
GCC_VERSION=gcc-9.2.0 | ||
export PATH=/opt/${GCC_VERSION}/bin:$PATH | ||
export LD_LIBRARY_PATH=/opt/${GCC_VERSION}/lib64:$LD_LIBRARY_PATH | ||
set CC=/opt/${GCC_VERSION}/bin/gcc | ||
set GCC=/opt/${GCC_VERSION}/bin/gcc | ||
|
||
|
||
INSTALL_PREFIX=/opt | ||
|
||
# HPC-X v2.5.0 | ||
HPCX_VERSION="v2.5.0" | ||
wget http://www.mellanox.com/downloads/hpc/hpc-x/v2.5/hpcx-${HPCX_VERSION}-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.6-x86_64.tbz | ||
tar -xvf hpcx-${HPCX_VERSION}-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.6-x86_64.tbz | ||
mv hpcx-${HPCX_VERSION}-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.6-x86_64 ${INSTALL_PREFIX} | ||
HPCX_PATH=${INSTALL_PREFIX}/hpcx-${HPCX_VERSION}-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.6-x86_64 | ||
|
||
# Setup module files for MPIs | ||
mkdir -p /usr/share/Modules/modulefiles/mpi/ | ||
|
||
# HPC-X | ||
cat << EOF >> /usr/share/Modules/modulefiles/mpi/hpcx-${HPCX_VERSION} | ||
#%Module 1.0 | ||
# | ||
# HPCx ${HPCX_VERSION} | ||
# | ||
conflict mpi | ||
module load ${HPCX_PATH}/modulefiles/hpcx | ||
EOF | ||
|
||
# Create symlinks for modulefiles | ||
ln -s /usr/share/Modules/modulefiles/mpi/hpcx-${HPCX_VERSION} /usr/share/Modules/modulefiles/mpi/hpcx | ||
|
||
# Install platform independent MPIs | ||
../../common/install_mpis.sh ${GCC_VERSION} ${HPCX_PATH} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../common/install_utils.sh | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# CentOS 7.7 HPC Image | ||
|
||
The CentOS 7.7 HPC Image includes optimizations and recommended configurations to deliver optimal performance, | ||
consistency, and reliability. This image consists of the following HPC tools and libraries: | ||
|
||
- Mellanox OFED | ||
- Pre-configured IPoIB (IP-over-InfiniBand) | ||
- Popular InfiniBand based MPI Libraries | ||
- HPC-X | ||
- IntelMPI | ||
- MVAPICH2 | ||
- OpenMPI | ||
- Communication Runtimes | ||
- Libfabric | ||
- OpenUCX | ||
- Optimized librares | ||
- AMD Blis | ||
- AMD FFTW | ||
- AMD Flame | ||
- Intel MKL | ||
|
||
The MPI libraries are configured as environment modules. Users can select any preferred MPI flavor as follows: | ||
|
||
`module load mpi/<mpi-flavor>` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../common/hpc-tuning.sh | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../common/install_amd_libs.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../../common/install_gcc-9.2.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../../common/install_intel_libs.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
wget http://content.mellanox.com/ofed/MLNX_OFED-4.7-1.0.0.1/MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64.tgz | ||
tar zxvf MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64.tgz | ||
|
||
KERNEL=( $(rpm -q kernel | sed 's/kernel\-//g') ) | ||
KERNEL=${KERNEL[-1]} | ||
yum install -y kernel-devel-${KERNEL} | ||
./MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64/mlnxofedinstall --kernel $KERNEL --kernel-sources /usr/src/kernels/${KERNEL} --add-kernel-support --skip-repo | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
|
||
# Load gcc | ||
GCC_VERSION=gcc-9.2.0 | ||
export PATH=/opt/${GCC_VERSION}/bin:$PATH | ||
export LD_LIBRARY_PATH=/opt/${GCC_VERSION}/lib64:$LD_LIBRARY_PATH | ||
set CC=/opt/${GCC_VERSION}/bin/gcc | ||
set GCC=/opt/${GCC_VERSION}/bin/gcc | ||
|
||
|
||
INSTALL_PREFIX=/opt | ||
|
||
# HPC-X v2.5.0 | ||
HPCX_VERSION="v2.5.0" | ||
wget http://content.mellanox.com/hpc/hpc-x/v2.5/hpcx-v2.5.0-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.7-x86_64.tbz | ||
tar -xvf hpcx-${HPCX_VERSION}-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.7-x86_64.tbz | ||
mv hpcx-${HPCX_VERSION}-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.7-x86_64 ${INSTALL_PREFIX} | ||
HPCX_PATH=${INSTALL_PREFIX}/hpcx-${HPCX_VERSION}-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-redhat7.7-x86_64 | ||
|
||
# Setup module files for MPIs | ||
mkdir -p /usr/share/Modules/modulefiles/mpi/ | ||
|
||
# HPC-X | ||
cat << EOF >> /usr/share/Modules/modulefiles/mpi/hpcx-${HPCX_VERSION} | ||
#%Module 1.0 | ||
# | ||
# HPCx ${HPCX_VERSION} | ||
# | ||
conflict mpi | ||
module load ${HPCX_PATH}/modulefiles/hpcx | ||
EOF | ||
|
||
# Create symlinks for modulefiles | ||
ln -s /usr/share/Modules/modulefiles/mpi/hpcx-${HPCX_VERSION} /usr/share/Modules/modulefiles/mpi/hpcx | ||
|
||
# Install platform independent MPIs | ||
../../common/install_mpis.sh ${GCC_VERSION} ${HPCX_PATH} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
../common/install_utils.sh | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
# Load gcc | ||
GCC_VERSION=gcc-9.2.0 | ||
export PATH=/opt/${GCC_VERSION}/bin:$PATH | ||
export LD_LIBRARY_PATH=/opt/${GCC_VERSION}/lib64:$LD_LIBRARY_PATH | ||
set CC=/opt/${GCC_VERSION}/bin/gcc | ||
set GCC=/opt/${GCC_VERSION}/bin/gcc | ||
|
||
yum install -y texinfo | ||
INSTALL_PREFIX=/opt/amd | ||
mkdir -p ${INSTALL_PREFIX} | ||
|
||
# AMD FFTW | ||
wget https://github.com/amd/amd-fftw/releases/download/2.0/aocl-fftw-centos-2.0.tar.gz | ||
tar -xvf aocl-fftw-centos-2.0.tar.gz | ||
cp -r amd-fftw ${INSTALL_PREFIX}/fftw | ||
|
||
|
||
# AMD libflame | ||
wget https://github.com/amd/libflame/releases/download/2.0/aocl-libflame-centos-2.0.tar.gz | ||
tar -xvf aocl-libflame-centos-2.0.tar.gz | ||
cp -r amd-libflame ${INSTALL_PREFIX}/libflame | ||
|
||
|
||
# AMD blis | ||
wget https://github.com/amd/blis/releases/download/2.0/aocl-blis-centos-2.0.tar.gz | ||
tar -xvf aocl-blis-centos-2.0.tar.gz | ||
cp -r amd-blis ${INSTALL_PREFIX}/blis | ||
|
||
|
||
# AMD blis-mt | ||
wget https://github.com/amd/blis/releases/download/2.0/aocl-blis-mt-centos-2.0.tar.gz | ||
tar -xvf aocl-blis-mt-centos-2.0.tar.gz | ||
cp -r amd-blis-mt ${INSTALL_PREFIX}/blis-mt | ||
|
Empty file.
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
Oops, something went wrong.