Hi all,
<br>
<br>
<br>I've recently installed TORQUE on a Linux Fedora Core5 cluster. I've managed to submit some jobs (in this case perl scripts) with: 'qsub script.pl' but if I use the normal command ('qsub perl script.pl') the job is deleted (with qstat status column = E).
<br>
<br>It also fails if I use any comand line argument: 'qsub script.pl file1.txt'
<br>'usage: qsub [-a date_time] [-A account_string] [-b secs]
<br>[-c { c[=<INTERVAL>] | s | n }] [-C directive_prefix] [-d path] [-D path]
<br>[-e path] [-h] [-I] [-j oe] [-k {oe}] [-l resource_list] [-m {abe}]
<br>[-M user_list] [-N jobname] [-o path] [-p priority] [-q queue] [-r y|n]
<br>[-S path] [-u user_list] [-X] [-W otherattributes=value...] [-v variable_list]
<br>[-V ] [-z] [script]'
<br>
<br>I tried to use a script file but the job gets deleted.
<br>'# declare a name for this job to be sample_job                                                                                                                                    
<br>#PBS -N test                                                                                                                                              
<br>
<br># request the queue (enter the possible names, if omitted, default is the default)                                                                                                
<br>#PBS -q qtest                                                                                                                                                      
<br>
<br># request 1 node                                                                                                                                                                  
<br>#PBS -l nodes=1                                                                                                                                                                   
<br>
<br># By default, PBS scripts execute in your home directory, not the                                                                                                                 
<br># directory from which they were submitted. The following line                                                                                                                    
<br># places you in the directory from which the job was submitted.                                                                                                                   
<br>cd $PBS_O_WORKDIR
<br>
<br># run the program                                                                                                                                                                 
<br>perl ./script.pl'
<br>
<br>Another thing that I've been looking for is the possibility of submiting multiple serial jobs. I tried to used one script file with several executions but it is submitted as a single job. Is there a way to get them all submitted independently? And with arguments?
<br>
<br>thanks in adv,