-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: singularity definition file and slurm multi-node example in the…
… docker readme
- Loading branch information
1 parent
3769ff4
commit 6a69b56
Showing
2 changed files
with
42 additions
and
1 deletion.
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,16 @@ | ||
cat heat-nvidia.def | ||
Bootstrap: docker | ||
From: nvcr.io/nvidia/pytorch:22.12-py3 | ||
|
||
%files | ||
./tzdata.seed /tmp/tzdata.seed | ||
|
||
%post | ||
debconf-set-selections /tmp/tzdata.seed | ||
apt update && DEBIAN_FRONTEND=noninteractive apt install -y build-essential openssh-client python3-dev git && apt clean && rm -rf /var/lib/apt/lists/* | ||
git clone -b main https://github.com/helmholtz-analytics/heat.git | ||
cd heat | ||
pip install mpi4py --no-binary :all: | ||
pip install .[hdf5,netcdf] | ||
cd .. | ||
rm -rf heat |