https://github.com/bencardoen/singularity_julia

Template definition file for Singularity RO containers with Julia and user package embedded.

https://github.com/bencardoen/singularity_julia

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

container definition-file hpc-clusters julia julia-language singularity singularity-container
Last synced: 5 months ago · JSON representation

Repository

Template definition file for Singularity RO containers with Julia and user package embedded.

Basic Info
  • Host: GitHub
  • Owner: bencardoen
  • License: agpl-3.0
  • Default Branch: main
  • Homepage:
  • Size: 18.6 KB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
container definition-file hpc-clusters julia julia-language singularity singularity-container
Created about 4 years ago · Last pushed about 4 years ago
Metadata Files
Readme License

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

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
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels