Hello,
I am trying to run a job with the following path for stagein/stageout:
#PBS -W stagein=“.@xx.xx.xx.1:/srv/dev_workspace/test_pbs/*”
#PBS -W stageout=“*@xx.xx.xx.1:/srv/dev_workspace/test_pbs/”
In /srv, 2 cifs storages are mounted:
/srv/dev_workspace/
/srv/dev_storage/
when using /srv/dev_storage/ the jobs work fine, the stagin/stageout are both successful:
#PBS -W staginin=‘.@xx.xx.xx.1:/srv/dev_storage/Public/BDE/PBS/test4/*’
#PBS -W stagout=‘*@xx.xx.xx.1:/srv/dev_storage/Public/BDE/PBS/test4/’
when using
#PBS -W stagein=”.@xx.xx.xx.1:/srv/dev_workspace/test_pbs/*”
#PBS -W stageout=“*@xx.xx.xx.1:/srv/dev_workspace/test_pbs/”
The stagein fails, in the mom_log:
‘/srv/dev_workspacetest_pbs/FeaJob.py.o31’: No such file or directory
PBS is stiching “dev_workspace” and “test” for some reason
I found a way around using a double slash //
#PBS -W stagein=“.@xx.xx.xx.1:/srv/dev_workspace//test_pbs/*"
#PBS -W stageout="*@xx.xx.xx.1:/srv/dev_workspace//test_pbs/”
The stagein is successful, the jobs run properly but is unable to stageout:
…;34.ip-123456;copy file request received
…;sys_copy;command: /usr/bin/pbs_cp -rp 34.ip-123456.OU /srv/dev_workspacetest_pbs/FeaJob.py.o34 status=1, try=1
…;sys_copy;command: /usr/bin/pbs_cp -rp 34.ip-123456.OU /srv/dev_workspacetest_pbs/FeaJob.py.o34 status=1, try=2
…;sys_copy;command: /usr/bin/pbs_cp -rp 34.ip-123456.OU /srv/dev_workspacetest_pbs/FeaJob.py.o34 status=1, try=3
…;sys_copy;command: /usr/bin/pbs_cp -rp 34.ip-123456.OU /srv/dev_workspacetest_pbs/FeaJob.py.o34 status=1, try=4
…;copy_file;Job 34.ip-123456: sys_copy failed, return value=1
…;34.ip-123456.OU;Unable to copy file 34.ip-123456.OU to ip-0a582e85:/srv/dev_workspace/test_pbs/FeaJob.py.o34
…;34.ip-123456.OU;/usr/bin/cp: cannot create regular file ‘/srv/dev_workspacetest_pbs/FeaJob.py.o34’: No such file or directory
…;stage_file;Job 34.ip-123456: no wildcards:local stageout failed for saf112092 from 34.ip-123456.OU to ip-123455:/srv/dev_workspace/test_pbs/FeaJob.py.o34
…;34.ip-123456;Job files not copied:---->>>>
…;34.ip-123456;Unable to copy file 34.ip-123456.OU to ip-0a582e85:/srv/dev_workspace/test_pbs/FeaJob.py.o34
…;34.ip-123456;>>> error from copy
…;34.ip-123456;/usr/bin/cp: cannot create regular file ‘/srv/dev_workspacetest_pbs/FeaJob.py.o34’: No such file or directory
…;34.ip-123456;>>> end error output
again I get the same problem even with double slash:
/usr/bin/cp: cannot create regular file ‘/srv/dev_workspacetest_pbs/FeaJob.py.o34’: No such file or directory
I also tried with quotes inside quotes like explained in the userr guide 3.2.5.1
#PBS -W stagein=“.@xx.xx.xx.1:’/srv/dev_workspace/test_pbs/’”
#PBS -W stageout=“*@xx.xx.xx.1:’/srv/dev_workspace/test_pbs/’”
This time, stagein works fine with one slash but I still get the same error with a path where one slash has been removed.
I tried to copy manually the file successfully to check the user permissions. It works.
Could you advise ? The behavior is strange because “/” is not an escape character like “\”. All the system works under Linux.
Regards
Bert