georgiesamaha / configBuilder-nf

Nextflow config builder scripts for supported HPC infrastructures.
7 stars 1 forks source link

Infrastructure config - autodetect step: detect options for container/software systems #17

Open jfy133 opened 8 months ago

jfy133 commented 8 months ago

Try to autodetect what possible container engines/conda are available on the machine, and store for future questions (for defaults, or a --fast mode)

jfy133 commented 8 months ago

Commands to parse (exit code not 127)

module --version

This will guide if need to load a env module first

If module_load == true :
    singularity: module avail | grep singularity
    docker: module avail | grep docker
etc…
else: 
    singularity: singularity
docker: docker
conda: conda
etc…
jfy133 commented 6 months ago

Local installation done, next will need to test on environment with e.g. module envs