federatedcloud/NixTemplates:nix_alpine_openmpi_6796a60398bb890002e7010593c14cf3731613a1
$ singularity pull shub://federatedcloud/NixTemplates:nix_alpine_openmpi_6796a60398bb890002e7010593c14cf3731613a1
Singularity Recipe
Bootstrap: shub
From: federatedcloud/NixTemplates:nix_alpine_base_e51467b4ad06617b8b104f6c9066df915fb4dfbd
# For development:
# Bootstrap: localimage
# From: Base/nix_alpine_base_bc4bd803c3aaa8622b493bcf66190c3944706ec3_testing.img
%environment
export TRIGGER=1
export PATH="${PATH}:/usr/local/bin"
%setup
%files
Utils/persist-env.sh /nixenv/nixuser/
OpenMPI/config.nix /template/hometmp/.config/nixpkgs/
OpenMPI/dev-env.nix /nixenv/nixuser/
OpenMPI/mpi4py_benchmarks /nixenv/nixuser/
OpenMPI/entrypoint* /nixenv/nixuser/
OpenMPI/default.nix /nixenv/nixuser/
OpenMPI/default.sh /nixenv/nixuser/
%runscript
# Run the base nix runscript to initialize nix
sh /.singularity.d/runscript-nixbase
# We need to overwrite the file from base
cp -R /template/hometmp/.config/nixpkgs/* $HOME/.config/nixpkgs/
$nixenv && cd /tmp && sh /nixenv/nixuser/persist-env.sh /nixenv/nixuser/dev-env.nix
# TODO: May need this later
# cp default-mca-params.conf ${HOME}/.openmpi/mca-params.conf
#TODO: check if "$@", if not, run default.sh
# exec /bin/sh "$@"
exec /bin/sh "/nixenv/nixuser/default.sh"
Collection
View on Datalad
Metrics
key | value |
---|---|
id | /containers/federatedcloud-NixTemplates-nix_alpine_openmpi_6796a60398bb890002e7010593c14cf3731613a1 |
collection name | federatedcloud/NixTemplates |
branch | master |
tag | nix_alpine_openmpi_6796a60398bb890002e7010593c14cf3731613a1 |
commit | 0f329fa3821e414b02c73e4703d2f55205b88b6c |
version (container hash) | 1ba393dbd34b035c75fa32203bfd1a71 |
build date | 2020-11-30T21:05:39.102Z |
size (MB) | 302 |
size (bytes) | 53547039 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.