singularity-hpc
singularity-hpc copied to clipboard
SHPC provide option to just get command provided in module.lua
Hello I am newbie to shpc and still learning Does shpc has any flag that will inspect the module.lua file generated and just get the command section? or there is a flag in config section that can move the commands provided commands to a location so that when user load module, that binary is in the PATH.
E.g . Module.lua for couchdb 3.1. consists
couchdb:
singularity exec -B <wrapperDir>/99-shpc.sh:/.singularity.d/env/99-shpc.sh
- couchdb.cmd:
singularity exec -B <wrapperDir>/99-shpc.sh:/.singularity.d/env/99-shpc.sh
/opt/couchdb/bin/couchdb.cmd "$@" - couchjs:
singularity exec -B <wrapperDir>/99-shpc.sh:/.singularity.d/env/99-shpc.sh
/opt/couchdb/bin/couchjs "$@" - remsh:
singularity exec -B <wrapperDir>/99-shpc.sh:/.singularity.d/env/99-shpc.sh
/opt/couchdb/bin/remsh "$@"
Can this binaires be added as files to path where couchdb module.lua is located ?
It generates a standard module for your software of interest, so you can use the standard module info or similar to inspect the files.