-
Notifications
You must be signed in to change notification settings - Fork 48
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 #402 from gassmoeller/add_tacc_docker_image
Add TACC docker image
- Loading branch information
Showing
5 changed files
with
91 additions
and
0 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
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,25 @@ | ||
FROM tacc/tacc-base:ubuntu22.04-impi19.0.9-common | ||
|
||
LABEL maintainer <[email protected]> | ||
|
||
RUN apt-get update || true && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ | ||
git libmkl-dev libfftw3-dev | ||
|
||
RUN cd /opt && git clone 'https://github.com/geodynamics/Rayleigh.git' | ||
|
||
ENV FC mpifc | ||
ENV CC mpicc | ||
ENV MKLROOT /opt/intel/compilers_and_libraries_2020.0.166/linux/mkl | ||
ENV LD_LIBRARY_PATH="${MKLROOT}/lib/intel64:${LD_LIBRARY_PATH}" | ||
|
||
RUN cd /opt/Rayleigh && \ | ||
./configure --with-fftw=/usr --FFLAGS_OPT="-march=skylake-avx512 -O3 -ffixed-line-length-132" \ | ||
\ | ||
&& make -j \ | ||
&& make install \ | ||
&& make clean | ||
|
||
ENV RAYLEIGH_DIR /opt/Rayleigh | ||
|
||
ENV PATH="${RAYLEIGH_DIR}/bin:${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,6 @@ | ||
This is a docker container that can be used to run Rayleigh on the set of TACC | ||
supercomputers, in particular Frontera and Stampede3, without having to manually | ||
compile the code. | ||
|
||
Steps to use this container on Stampede3/Frontera are described on | ||
https://rayleigh-documentation.readthedocs.io/en/latest/doc/source/User_Guide/getting_started.html. |
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 | ||
|
||
# This script generates a docker image from the latest Rayleigh development version. | ||
# It requires a docker installation on the local machine, and the ability to | ||
# communicate with the docker daemon without root user privileges (see the docker | ||
# webpage for an explanation). | ||
# Note: This container is build from the developer version on Github, it does not use | ||
# the local Rayleigh folder. Therefore local changes are not included in the container. | ||
|
||
docker build --no-cache -t geodynamics/rayleigh:tacc-latest . 2>&1 | tee build.log |