[torqueusers] relative path problem

Mahmood Naderan nt_mahmood at yahoo.com
Wed Dec 29 13:31:04 MST 2010


Hi,
I have installed torque and maui andthey work with simple commands (like echo 
"sleep 30" | qsub) however, when I submit a script (qsub -q qname -l ncpus=1 
torscript.sh) that has relative paths I get an error. 


mahmood at localhost:tools$ ls
torscript.sh       flex    ....

mahmood at localhost:tools$cat torscript.sh
#!/bin/bash
./flex my_input

I get this error:mahmood at localhost:tools$cat torscript.sh.e26
/var/spool/pbs/mom_priv/jobs/26.qname.SC: line 2: ./flex: No such file or 
directory


So what should I do? thanks,
// Naderan *Mahmood;


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20101229/5112bc76/attachment.html 


More information about the torqueusers mailing list