-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
382 changed files
with
40,825 additions
and
10,997 deletions.
There are no files selected for viewing
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,33 @@ | ||
# Use scs-lab/base:1.0 as base image | ||
FROM spack/ubuntu-jammy:latest as coeus-builder | ||
ENV DOCKER_TAG=0.2 | ||
|
||
# What we want to install and how we want to install it | ||
# is specified in a manifest file (spack.yaml) | ||
RUN mkdir /opt/spack-environment \ | ||
&& (echo "spack:" \ | ||
&& echo " specs:" \ | ||
&& echo " - [email protected]" \ | ||
&& echo " - [email protected]~fortran +verbs +argobots ^[email protected] fabrics=mlx,rxd,rxm,shm,sockets,tcp,udp,verbs" \ | ||
&& echo " - [email protected] ^[email protected] fabrics=mlx,rxd,rxm,shm,sockets,tcp,udp,verbs" \ | ||
&& echo " - [email protected] ^[email protected] fabrics=mlx,rxd,rxm,shm,sockets,tcp,udp,verbs" \ | ||
&& echo " - [email protected]~boostsys ^[email protected] fabrics=mlx,rxd,rxm,shm,sockets,tcp,udp,verbs" \ | ||
&& echo " - [email protected]" \ | ||
&& echo " concretizer:" \ | ||
&& echo " unify: true" \ | ||
&& echo " config:" \ | ||
&& echo " install_tree: /opt/software" \ | ||
&& echo " view: /opt/view") > /opt/spack-environment/spack.yaml | ||
|
||
# Install the software, remove unnecessary deps | ||
RUN cd /opt/spack-environment && spack env activate . && spack install --fail-fast && spack gc -y | ||
|
||
FROM ubuntu:22.04 | ||
ENV DEBIAN_FRONTEND="noninteractive" | ||
|
||
RUN apt-get update -y && apt-get upgrade -y | ||
RUN apt-get install -y pkg-config cmake build-essential environment-modules gfortran git python3 gdb | ||
|
||
COPY --from=coeus-builder /opt/spack-environment /opt/spack-environment | ||
COPY --from=coeus-builder /opt/software /opt/software | ||
COPY --from=coeus-builder /opt/view /usr |
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,15 @@ | ||
FROM scslab/chronolog:0.1 | ||
ENV DEBIAN_FRONTEND="noninteractive" | ||
|
||
RUN apt-get install -y openssh-server sudo | ||
|
||
RUN passwd -d root | ||
|
||
RUN mkdir /var/run/sshd | ||
RUN sed -i'' -e's/^#PermitRootLogin prohibit-password$/PermitRootLogin yes/' /etc/ssh/sshd_config \ | ||
&& sed -i'' -e's/^#PasswordAuthentication yes$/PasswordAuthentication yes/' /etc/ssh/sshd_config \ | ||
&& sed -i'' -e's/^#PermitEmptyPasswords no$/PermitEmptyPasswords yes/' /etc/ssh/sshd_config \ | ||
&& sed -i'' -e's/^UsePAM yes/UsePAM no/' /etc/ssh/sshd_config | ||
|
||
EXPOSE 22 | ||
CMD ["/usr/bin/sudo", "/usr/sbin/sshd", "-D"] |
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 |
---|---|---|
|
@@ -30,8 +30,6 @@ module load boost-1.77.0-gcc-9.3.0-hdotzut | |
module load bzip2-1.0.8-gcc-9.3.0-gk3mz66 | ||
# [email protected]%[email protected]+optimize+pic+shared arch=linux-ubuntu20.04-zen2 | ||
module load zlib-1.2.11-gcc-9.3.0-whj3n7m | ||
# [email protected]%[email protected]~bz2+lz4+shared~snappy+static~tbb+zlib~zstd patches=9a8833a arch=linux-ubuntu20.04-zen2 | ||
module load rocksdb-6.20.3-gcc-9.3.0-hqiuiit | ||
# [email protected]%[email protected]~ipo build_type=RelWithDebInfo arch=linux-ubuntu20.04-zen2 | ||
module load gflags-2.2.2-gcc-9.3.0-ox4tyrq | ||
# [email protected]%[email protected] libs=shared,static arch=linux-ubuntu20.04-zen2 | ||
|
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
Oops, something went wrong.