jtchilders/singularity_mpi_test_recipe:derived
$ singularity pull shub://jtchilders/singularity_mpi_test_recipe:derived
Singularity Recipe
Bootstrap: shub
From: jtchilders/singularity_mpi_test_recipe:latest
%setup
# make directory for test MPI program
mkdir ${SINGULARITY_ROOTFS}/uselocalmpi
cp pi.c ${SINGULARITY_ROOTFS}/uselocalmpi/
%post
# add to local environment to build pi.c
export PATH=$PATH:/mpich/install/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mpich/install/lib
env | sort
cd /uselocalmpi
mpicc -o pi -fPIC pi.c
%runscript
/uselocalmpi/pi
Collection
View on Datalad
Metrics
key | value |
---|---|
id | /containers/jtchilders-singularity_mpi_test_recipe-derived |
collection name | jtchilders/singularity_mpi_test_recipe |
branch | master |
tag | derived |
commit | ea686b87780c342f065e0dbeab4299b7f4688300 |
version (container hash) | 163116615de2a6577a1eebdd5906b8ee |
build date | 2018-06-20T02:46:53.567Z |
size (MB) | 774 |
size (bytes) | 224743455 |
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.