https://github.com/bencardoen/singularity_julia
Template definition file for Singularity RO containers with Julia and user package embedded.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Keywords
Repository
Template definition file for Singularity RO containers with Julia and user package embedded.
Basic Info
Statistics
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
README
Contains a template to create a Singularity Julia container with 1.7.1 on Fedora 35, with a user specified package pre-installed.
Use case : you're sharing private or public work but don't want your users to have to install Julia, deal with dependencies etc.
Usage
bash
sudo singularity build myimage.sif singularity_template.def
After creation:
bash
singularity exec myimage.sif julia --project=/opt/MyPackage.jl
bash
singularity shell myimage.sif
Singularity>julia --project=/opt/MyPackage.jl
Notes
- This sets the JULIADEPOTPATH variable (inside the container) to a container folder, to ensure we're using the environment inside the container, not outside. If you prefer to use the outside Julia env, remove the depot path steps, but note this will write to ~/.julia.
- Julia interactive use will write to logs, in order to enable this without making the container writable, we map the log directory to /dev/shm (tmpfs on Linux), which by POSIX should exist and be user writable. For execution of scripts you do not need this, so you could omit it.
Customizing
Replace MyPackage.jl with your own package. Optionally add extra dependencies (dnf or conda, ...).
Owner
- Name: Ben Cardoen
- Login: bencardoen
- Kind: user
- Location: Vancouver
- Company: https://github.com/sfu-mial
- Twitter: BenCardoen
- Repositories: 29
- Profile: https://github.com/bencardoen
PhD Student Computing Science @sfu-mial Simon Fraser University
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0