- Timestamp:
- Nov 28, 2014, 12:54:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/platforms/tsar_generic_iob/scripts/onerun.py
r890 r893 111 111 command.extend(["-MEMCID", str(args.debug[3])]); 112 112 else: 113 command.extend(["-NCYCLES", "1000000"]) 113 # by observation, the procedure grows linearly with the diameter of the mesh. 114 maxcycles = (args.x + args.y) * 20000; 115 command.extend(["-NCYCLES", str(maxcycles)]) 114 116 115 print command 117 logfile.write("Execute: {0}\n".format(" ".join(command))) 118 logfile.flush() 119 116 120 subprocess.call(command, stdout=logfile, stderr=logfile) 117 121
Note: See TracChangeset
for help on using the changeset viewer.