Commit 6febf349 authored by Peter-Bernd Otte's avatar Peter-Bernd Otte

output.txt fixed dir

parent dd93f591
......@@ -76,7 +76,7 @@ if rank == 0:
print("ToDo: "+worklist[i])
print("Wait for process...")
rec = comm.recv(tag=2) # get the rank of free worker
comm.send({"workstr":args.execname + " " + args.inputdir+"/"+worklist[i] + " "+outputdir+"/outfile.txt" ,"jobid":i,"outputdir":outputdir}, dest=rec)
comm.send({"workstr":args.execname + " " + args.inputdir+"/"+worklist[i] + " "+outputdir+"/"+str(i)+"/outfile.txt" ,"jobid":i,"outputdir":outputdir}, dest=rec)
sleep(args.delay/1000)
for i in range(1,size): # End all workers by sending an empty task
comm.send({"workstr":""}, i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment