Opened 10 years ago

Last modified 9 years ago

#44 assigned defect

Problem with pbs_submit()

Reported by: anonymous Owned by: bas
Priority: major Milestone:
Component: pbs Version: 4.4.0
Keywords: Cc:


Hi i need a little help with pbs_submit My python script:

import pbs server_name = pbs.pbs_default() c = pbs.pbs_connect(server_name) #c = 1

attropl = pbs.new_attropl(1)

attropl[0].name = pbs.ATTR_N attropl[0].value = "test"

job_id = pbs.pbs_submit(c, attropl, "simple.pbs", 'batch', 'NULL')

e, e_txt = pbs.error() if e:

print e,e_txt

print job_id

Error report is: 15025 Queue already exists job_id = None

My simple.pbs file:


for i in seq 1 60 ; do

echo $i sleep 1


Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by anonymous

It is not a queue problem. This is a false error message. It must be a problem with your submit hosts. If you are running this from localhost for example you should: qmgr -c "set server submit_hosts += localhost"

Check this out:

comment:2 Changed 9 years ago by bas

  • Status changed from new to assigned

Which version of torque do you use? The error message for torque 5 have been improved. If you are using torque 3/4 then the error messages are not up to date.

Add Comment

Modify Ticket

Change Properties
as assigned The owner will remain bas.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bas to the specified user. Next status will be 'new'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.