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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IMGW
Singularity
Commits
1ec6df8e
Commit
1ec6df8e
authored
3 years ago
by
Marty Kandes
Browse files
Options
Downloads
Patches
Plain Diff
Add Singularity.ubuntu-18.04-mlnx-ofed-4.7-3.2.9.0-mvapich-2.3.6
parent
2474487c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
definition-files/ubuntu/Singularity.ubuntu-18.04-mlnx-ofed-4.7-3.2.9.0-mvapich-2.3.6
+87
-0
87 additions, 0 deletions
...gularity.ubuntu-18.04-mlnx-ofed-4.7-3.2.9.0-mvapich-2.3.6
with
87 additions
and
0 deletions
definition-files/ubuntu/Singularity.ubuntu-18.04-mlnx-ofed-4.7-3.2.9.0-mvapich-2.3.6
0 → 100644
+
87
−
0
View file @
1ec6df8e
Bootstrap: oras
From: ghcr.io/mkandes/naked-singularity:ubuntu-18.04-mlnx-ofed-4.7-3.2.9.0
%labels
APPLICATION_NAME ubuntu + mlnx-ofed + mvapich
APPLICATION_VERSION 18.04 + 4.7-3.2.9.0 + 2.3.6
APPLICATION_URL https://mvapich.cse.ohio-state.edu
AUTHOR_NAME Marty Kandes
AUTHOR_EMAIL mkandes@sdsc.edu
LAST_UPDATED 20210805
%setup
%environment
# Set MVAPICH major, minor, and revision numbers, root and
# installation directories
export MV_ROOT_URL='http://mvapich.cse.ohio-state.edu/download/mvapich'
export MV_MAJOR='2'
export MV_MINOR='3'
export MV_REVISION='6'
export MV_VERSION="${MV_MAJOR}.${MV_MINOR}.${MV_REVISION}"
export MV_ROOT_DIR='/opt/mvapich'
export MV_INSTALL_DIR="${MV_ROOT_DIR}/${MV_VERSION}"
# Set paths to MVAPICH binaries and libraries
export PATH="${MV_INSTALL_DIR}/bin:${PATH}"
export LD_LIBRARY_PATH="${MV_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}"
%post -c /bin/bash
# Set operating system mirror URL
export MIRRORURL='http://us.archive.ubuntu.com/ubuntu'
# Set operating system version
export OSVERSION='bionic'
# Set system locale
export LC_ALL='C'
# Set debian frontend interface
export DEBIAN_FRONTEND='noninteractive'
# Upgrade all software packages to their latest versions
apt-get -y update && apt-get -y upgrade
# Set MVAPICH major, minor, and revision numbers, root and
# installation directories
export MV_ROOT_URL='http://mvapich.cse.ohio-state.edu/download/mvapich'
export MV_MAJOR='2'
export MV_MINOR='3'
export MV_REVISION='6'
export MV_VERSION="${MV_MAJOR}.${MV_MINOR}.${MV_REVISION}"
export MV_ROOT_DIR='/opt/mvapich'
export MV_INSTALL_DIR="${MV_ROOT_DIR}/${MV_VERSION}"
cd /tmp
# Download, build, and install MVAPICH
wget "${MV_ROOT_URL}/mv${MV_MAJOR}/mvapich${MV_MAJOR}-${MV_VERSION}.tar.gz"
tar -xf "mvapich${MV_MAJOR}-${MV_VERSION}.tar.gz"
cd "mvapich${MV_MAJOR}-${MV_VERSION}"
./configure --prefix="${MV_INSTALL_DIR}"
make
make install
cd /tmp
# Remove MVAPICH build directory and source tarball
rm -rf "mvapich${MV_MAJOR}-${MV_VERSION}"
rm "mvapich${MV_MAJOR}-${MV_VERSION}.tar.gz"
# Cleanup
apt-get -y autoremove --purge
apt-get -y clean
# Update database for mlocate
updatedb
%files
%runscript
%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
register
or
sign in
to comment