update
This commit is contained in:
parent
9cad8f4a9d
commit
60b9410584
@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
#PBS -N task
|
||||
#PBS -l nodes=1:ppn=1
|
||||
#PBS -q bigmem
|
||||
python a.py
|
||||
|
@ -29,8 +29,6 @@ for parameter_str in parameter_str_array:
|
||||
with open('a'+str(index)+'.py', 'w') as f: # 写入
|
||||
f.write(content)
|
||||
|
||||
|
||||
|
||||
# 以下处理任务上传文件
|
||||
old_file = 'a.sh'
|
||||
new_file = 'a'+str(index)+'.sh'
|
||||
@ -50,7 +48,5 @@ for parameter_str in parameter_str_array:
|
||||
with open('a'+str(index)+'.sh', 'w') as f: # 写入
|
||||
f.write(content)
|
||||
|
||||
|
||||
|
||||
# 提交任务
|
||||
os.system('qsub '+new_file)
|
Loading…
x
Reference in New Issue
Block a user