using a singualrity application ARGs-OAP
1
0
Entering edit mode
3 months ago

Hi guys! I am trying use an application on singularity but it gives an error:

the error says failed to create a container. unable to add path to the mount list. the destination must be an absolute path.

Does anybody have any idea why it says so?

Thanks Saraswati

0
Entering edit mode
12 weeks ago
ATpoint 55k

It is what the message tells you. You must provide an absolute path to -B/--bind rather than a relative one. Here that could be for example -B \$(realpath inputdir) or -B /home/rakesh/inputdir and not just -B inputdir because the latter is relative to the current location you are in and not absolute with respect to the root dir which is /. Does that make sense to you? By the way there should be no need to sudo this.