Skip to content

Commit

Permalink
Remove push file from pbspro. see slurm commit for justification.
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Nov 8, 2024
1 parent 6a9666e commit 38d29e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions parsl/providers/pbspro/pbspro.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,13 @@ def submit(self, command, tasks_per_node, job_name="parsl"):
logger.debug("Writing submit script")
self._write_submit_script(self.template_string, script_path, job_name, job_config)

channel_script_path = self.channel.push_file(script_path, self.channel.script_dir)

submit_options = ''
if self.queue is not None:
submit_options = '{0} -q {1}'.format(submit_options, self.queue)
if self.account is not None:
submit_options = '{0} -A {1}'.format(submit_options, self.account)

launch_cmd = "qsub {0} {1}".format(submit_options, channel_script_path)
launch_cmd = "qsub {0} {1}".format(submit_options, script_path)
retcode, stdout, stderr = self.execute_wait(launch_cmd)

job_id = None
Expand Down

0 comments on commit 38d29e1

Please sign in to comment.