I have a problem on a PBS run of a job job.sh by qsub.

Basically:
   we go to the directory      
   we look at files file.txt (readable)  
       and job.sh (executable)
                               
  we run job.sh from           
   shell terminal and see the           
   expected output             
                               
  we run job.sh by qsub and 
     we observe empty output   
     as well as error messages.

The file file.txt has good file permissions
but its existance is ignored when we use PBS.

See shell output below.

Does anyone have a clue on how to achieve
the expected output by running the job by qsub?
Thanks a lot to anyone who can help!


- Alex

P.S.

Here is the demonstration -- a very simple run on server:

[shirokov@antares grafic1]$cd /tmp/shirokov/grafic1/
[shirokov@antares grafic1]$ls -la file.txt job.sh
-rw-r--r--    1 shirokov users   file.txt
-rwxr-xr-x    1 shirokov users   job.sh
[shirokov@antares grafic1]$cat file.txt
This is simply a context of
file /tmp/shirokov/grafic1/file.txt

[shirokov@antares grafic1]$cat job.sh
#!/bin/sh
cat /tmp/shirokov/grafic1/file.txt
cd /tmp/shirokov/grafic1
cat file.txt

[shirokov@antares grafic1]$job.sh
This is simply a context of
file /tmp/shirokov/grafic1/file.txt

This is simply a context of
file /tmp/shirokov/grafic1/file.txt

[shirokov@antares grafic1]$qsub job.sh
84.antares
[shirokov@antares grafic1]$cat job.sh.o84
[shirokov@antares grafic1]$cat job.sh.e84
cat: /tmp/shirokov/grafic1/file.txt: No such file or directory
cat: file.txt: No such file or directory
[shirokov@antares grafic1]$





-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to