I have a legacy software that use qsub/qstat/qdel (it submit jobs programmatically). I don’t want to pollute the system installing a lots of legacy dependencies.
My idea is to create a container (in my case i use singularity). In the container i have installed al dependencies excluding pbs. Than i have bindend pbs installation dir from host to container.
I have the following error:
$ singularity shell --bind /opt/pbs --bind /etc/pbs.conf /work/XXXX/legacysofware.sif Singularity> /opt/pbs/bin/qstat pbs_iff: cannot connect to host pbs_iff: cannot connect to host auth: error returned: -1 auth: Unable to authenticate connection (XXXXX:15001) Invalid argument qstat: cannot connect to server XXXXX (errno=-1)
I think that the problem is related with the setuid bit of pbs_iff. For security reason is disabled on singularity.
Do you have any suggestion ? There is a clean way to solve this problem?