Skip to content
Snippets Groups Projects
Commit 5944eeae authored by David Verelst's avatar David Verelst
Browse files

--node argument was not removed when launching launch.py on a cluster node

parent a695104b
No related branches found
No related tags found
No related merge requests found
......@@ -702,7 +702,7 @@ if __name__ == '__main__':
elif arg[:9] == '--logfile':
ilogfile = i
args[i] = '--logfile= '
args.pop(i)
args.pop(inode)
# if they were not defined in the original command, add them
if iqsub_cmd is None:
rpl = (os.getcwd(), '%s')
......@@ -714,6 +714,7 @@ if __name__ == '__main__':
# first argument is the full path of the script
args.pop(0)
com = 'launch.py %s' % ' '.join(args)
# create a PBS script that contains the launch.py command
fpath = pbswrap.create_input(walltime='72:00:00', queue='workq',
pbs_in='pbs_in/', ppn=1, pbs_out='pbs_out/',
jobname=jobname, commands=com, lnodes=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment