Skip to content

Fix script to launch Singularity container#1380

Merged
auphelia merged 1 commit intoXilinx:mainfrom
gabrielrodcanal:fix_singularity
Jun 30, 2025
Merged

Fix script to launch Singularity container#1380
auphelia merged 1 commit intoXilinx:mainfrom
gabrielrodcanal:fix_singularity

Conversation

@gabrielrodcanal
Copy link
Copy Markdown
Contributor

Hi there,
The script run-docker.sh is currently broken for Singularity. The command generated contains unwanted quotes. See for example:

singularity exec "--env "SHELL=/bin/bash "--pwd "/lustre/home/nx08/nx08/s2081362-2/Software/finn "-B "/lustre/home/nx08/nx08/s2081362-2/Software/finn:/lustre/home/nx08/nx08/s2081362-2/Software/finn "-B "/tmp/finn_dev_s2081362-2:/tmp/finn_dev_s2081362-2 "--env "FINN_BUILD_DIR=/tmp/finn_dev_s2081362-2 " ...

This patch fixes the script so that FINN can be used in Singularity.

@auphelia auphelia requested a review from fpjentzsch June 30, 2025 09:22
@fpjentzsch
Copy link
Copy Markdown
Collaborator

When I test it on our system, I don't get these unwanted quotes with the current implementation. But your change doesn't seem to break it for me either, so I suppose we can merge.

@fpjentzsch fpjentzsch changed the base branch from main to dev June 30, 2025 09:53
@auphelia auphelia changed the base branch from dev to main June 30, 2025 10:36
@auphelia
Copy link
Copy Markdown
Collaborator

Thank you @gabrielrodcanal! I will update dev with this commit as well and I would recommend that you work with the dev branch rather than with the main branch if you would like to make use of the latest developments.

@auphelia auphelia merged commit af5041d into Xilinx:main Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants