Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Singularity image links to use Singularity apps #54

Open
nikosavola opened this issue Jun 8, 2023 · 0 comments
Open

Refactor Singularity image links to use Singularity apps #54

nikosavola opened this issue Jun 8, 2023 · 0 comments
Labels
feature A feature request submitted by the community FEM Finite Element simulations refactoring

Comments

@nikosavola
Copy link
Contributor

Description

Currently, singularity/create_links.sh along with singularity/libexec/kqclib.sh is used for creating commands like kqclib and ElmerSolver to be runnable on host OS. I think the inner implementation should be changed from manual bash files runnning singularity exec to Singularity Apps. See also Reproducible SCI-F Apps.
This would change the implementation to something standardised.

Use case

Using Singularity apps, one exposes an interface given in the Singularity definition file

singularity run --app ElmerSolver /some/path [args...]

Though the current exec solution is also possible with apps.

singularity exec --app ElmerSolver container.sif command_inside_container

The functionality overlaps with the exposed kqc command (kqc simulate and kqc mask). So maybe that should kept as a main runscript instead of something like

singularity run --app kqc-simulate /some/path.py
@nikosavola nikosavola added feature A feature request submitted by the community FEM Finite Element simulations refactoring labels Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature request submitted by the community FEM Finite Element simulations refactoring
Projects
None yet
Development

No branches or pull requests

1 participant