tacc / rgc Goto Github PK
View Code? Open in Web Editor NEWRollingGantryCrane pulls and converts containers to LMOD modules
Home Page: https://tacc.github.io/rgc/
License: BSD 3-Clause "New" or "Revised" License
RollingGantryCrane pulls and converts containers to LMOD modules
Home Page: https://tacc.github.io/rgc/
License: BSD 3-Clause "New" or "Revised" License
If something like libcuda is detected in the container, run with --nv
, OR always use --nv
if running on a GPU node.
Should be something like
depends_on("tacc-singularity")
prereq("tacc-singularity")
Some people may want compilers exposed, so add an option to exclude all the compiler binaries that conda may install. This may require a custom target.
A problematic example is fastqtl.
Example Command:
rgc -M /apps/modulefiles/containers -I /apps/singularity-3/containers -S biocontainers/bwa:0.7.15
Resulting Modulefile line:
set_shell_function("bwa",'singularity exec /home/jhrogers/apps/singularity-3/containers/bwa/bwa-0.7.15.sif bwa $@','singularity exec /home/jhrogers/apps/singularity-3/containers/bwa/bwa-0.7.15.sif bwa $*')
Expected Line:
set_shell_function("bwa",'singularity exec /apps/singularity-3/containers/bwa/bwa-0.7.15.sif bwa $@','singularity exec /apps/singularity-3/containers/bwa/bwa-0.7.15.sif bwa $*')
Further Information:
If I use the --prefix without the --imagedir, the modulefile comes out mostly correct, but the needed image isn't stored.
Example:
rgc -M /apps/modulefiles/containers -P /apps/singularity-3 -S biocontainers/bwa:0.7.15
Results:
Modulefile:
set_shell_function("bwa",'singularity exec /apps/singularity-3/containers/bwa/bwa-0.7.15.sif bwa $@','singularity exec /apps/singularity-3/containers/bwa/bwa-0.7.15.sif bwa $*')
note: it adds "containers" to the path, which is strange.
ls -l /apps/singularity-3/containers
total 0
Expected Results:
ls -l /apps/singularity-3/containers/
total 0
drwxr-x--- 2 jhrogers admin 36 Aug 11 16:25 bwa
Correctly handle shub:// urls
Should include something like this
if (myShellName() == "bash") then
execute{cmd="export -f funcs", modeA={"load"}}
execute{cmd="unset funcs", modeA={"unload"}}
end
Images should be pulled once to make sure it works, but other tests should either hit a cache or skip the pulling step.
with something like qemu
This will allow for faster downloads of target images.
Before substituting strings into the lmod modulefile template whatis functions, check for double-quotes in the string.
Either remove line breaks or encode them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.