Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Singularity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IMGW
Singularity
Commits
86b2a6ab
Commit
86b2a6ab
authored
May 16, 2019
by
Marty Kandes
Browse files
Options
Downloads
Patches
Plain Diff
naked-singularity-v0.7.3 :: added centos.def and centos-openmpi.def for
comet
parent
4f3aafe9
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README
+2
-2
2 additions, 2 deletions
README
definition-files/comet/centos/centos-openmpi.def
+135
-0
135 additions, 0 deletions
definition-files/comet/centos/centos-openmpi.def
definition-files/comet/centos/centos.def
+91
-0
91 additions, 0 deletions
definition-files/comet/centos/centos.def
with
228 additions
and
2 deletions
README
+
2
−
2
View file @
86b2a6ab
...
...
@@ -46,8 +46,8 @@ AUTHOR
VERSION
0.7.
2
0.7.
3
LAST UPDATED
Wedne
sday, May 1
5
th, 2019
Thur
sday, May 1
6
th, 2019
This diff is collapsed.
Click to expand it.
definition-files/comet/centos/centos-openmpi.def
0 → 100644
+
135
−
0
View file @
86b2a6ab
Bootstrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-7/7.6.1810/os/x86_64/
Include: yum
%labels
APPLICATION_NAME centos + openmpi
APPLICATION_VERSION 7.6.1810 + 1.8.4
APPLICATION_URL https://www.open-mpi.org/
SYSTEM_NAME comet
SYSTEM_SINGULARITY_VERSION 2.6.1
SYSTEM_URL http://www.sdsc.edu/support/user_guides/comet.html
SINGULARITY_IMAGE_SIZE 8192
AUTHOR_NAME Marty Kandes
AUTHOR_EMAIL mkandes@sdsc.edu
LAST_UPDATED 20190514
%setup
%environment
# Set system locale
export LC_ALL=C
# Set paths to OpenMPI binaries and libraries
export PATH="/opt/openmpi-1.8.4/bin:${PATH}"
export LD_LIBRARY_PATH="/opt/openmpi-1.8.4/lib:${LD_LIBRARY_PATH}"
%post -c /bin/bash
# Set system locale
export LC_ALL=C
# Add repositories
yum -y install epel-release
# Install system metapackages
yum -y groupinstall "Development Tools"
yum -y groupinstall "Additional Development"
yum -y groupinstall "Compatibility Libraries"
# Upgrade all packages to their latest versions
yum -y update
# Install common packages
yum -y install bc
yum -y install cmake
yum -y install curl
yum -y install mlocate
yum -y install rsync
yum -y install time
yum -y install wget
yum -y install which
# Install expect to automate responses for interactive build questions
yum -y install expect
# Make filesystem mount points
mkdir /cvmfs /oasis /projects /scratch
# Use /tmp to store temporary files within the container during the
# bootstraping process
cd /tmp
# Install miniconda2
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
chmod +x Miniconda2-latest-Linux-x86_64.sh
./Miniconda2-latest-Linux-x86_64.sh -b -p /opt/miniconda2
# Install miniconda3
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda3
# Install basic drivers for user space access to Ethernet, RDMA,
# and Infiniband. See https://community.mellanox.com/docs/DOC-2431
yum -y install dkms
yum -y install infiniband-diags
yum -y install infiniband-diags-devel
yum -y install libibverbs
yum -y install libibverbs-devel
yum -y install ibacm
yum -y install librdmacm
yum -y install librdmacm-devel
yum -y install libmlx4
yum -y install libmlx5
yum -y install msflint
yum -y install libibcm
yum -y install libibmad
yum -y install libibmad-devel
yum -y install libibumad
yum -y install libibumad-devel
yum -y install opensm
yum -y install srptools
# Install additional tools
yum -y install ibutils
yum -y install libibverbs-utils
yum -y install rdmacm-utils
yum -y install librdmacm-utils
yum -y install perftest
yum -y install numactl
# Install libnl
yum -y install libnl3
yum -y install libnl3-devel
# Install OpenMPI dependencies
yum -y install zlib
yum -y install zlib-devel
# Download, build, and install OpenMPI
wget https://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.4.tar.gz
tar -xzvf openmpi-1.8.4.tar.gz
cd openmpi-1.8.4
./configure --prefix=/opt/openmpi-1.8.4
make all install
# Set paths to OpenMPI binaries and libraries
export PATH="/opt/openmpi-1.8.4/bin:${PATH}"
export LD_LIBRARY_PATH="/opt/openmpi-1.8.4/lib:${LD_LIBRARY_PATH}"
# Update database for mlocate
updatedb
%files
%runscript
%test
This diff is collapsed.
Click to expand it.
definition-files/comet/centos/centos.def
0 → 100644
+
91
−
0
View file @
86b2a6ab
Bootstrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-7/7.6.1810/os/x86_64/
Include: yum
%labels
APPLICATION_NAME centos
APPLICATION_VERSION 7.6.1810
APPLICATION_URL https://www.centos.org
SYSTEM_NAME comet
SYSTEM_SINGULARITY_VERSION 2.6.1
SYSTEM_URL http://www.sdsc.edu/support/user_guides/comet.html
SINGULARITY_IMAGE_SIZE 4096
AUTHOR_NAME Marty Kandes
AUTHOR_EMAIL mkandes@sdsc.edu
LAST_UPDATED 20190513
%setup
%environment
# Set system locale
export LC_ALL=C
%post -c /bin/bash
# Set system locale
export LC_ALL=C
# Add repositories
yum -y install epel-release
# Install system metapackages
yum -y groupinstall "Development Tools"
yum -y groupinstall "Additional Development"
yum -y groupinstall "Compatibility Libraries"
# Upgrade all packages to their latest versions
yum -y update
# Install common packages
yum -y install bc
yum -y install cmake
yum -y install curl
yum -y install mlocate
yum -y install rsync
yum -y install time
yum -y install wget
yum -y install which
# Install expect to automate responses for interactive build questions
yum -y install expect
# Make filesystem mount points
mkdir /cvmfs /oasis /projects /scratch
# Use /tmp to store temporary files within the container during the
# bootstraping process
cd /tmp
# Install miniconda2
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
chmod +x Miniconda2-latest-Linux-x86_64.sh
./Miniconda2-latest-Linux-x86_64.sh -b -p /opt/miniconda2
# Install miniconda3
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda3
# Update database for mlocate
updatedb
%files
%runscript
echo " "
echo " __________________ __ _______________ "
echo " -----/ ____/ __ \/ |/ / ____/_ __/ "
echo " --/ / / / / / /|_/ / __/ / / "
echo " / /___/ /_/ / / / / /___ / / "
echo " \____/\____/_/ /_/_____/ /_/ "
echo " "
%test
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment