You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version of Singularity: singularity-ce version 3.11.3
Its a question, rather than an issue.
Is there any way to pass an inline argument for singularity shell call
#! /bin/bash
# following arguments are the arguments for the script
filename=$1
ptg=$2
data_block=$3
locno=$4
# Path to your Singularity container
SINGULARITY_CONTAINER=/Path-to-your /Singularity /container.sif
# Command to run an interactive shell session with Singularity
singularity shell $SINGULARITY_CONTAINER << 'EOF'
# some other stuffs
# Run the script
./my_script.sh $filename $ptg $data_block $locno
EOF
This does not pass the arguments <filename, ptg, data_block, locno>.
The text was updated successfully, but these errors were encountered:
Version of Singularity: singularity-ce version 3.11.3
Its a question, rather than an issue.
Is there any way to pass an inline argument for singularity shell call
This does not pass the arguments <filename, ptg, data_block, locno>.
The text was updated successfully, but these errors were encountered: