Skip to content

Commit 428584b

Browse files
Used Scripts/watch_runlog.py for touching PostProc.STOP.
1 parent 43c8b58 commit 428584b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Scripts/write_job_script.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090

9191
file_out.write('\n\nsleep 180\n\n')
9292

93-
for iDir in SIMDirs:
94-
file_out.write('touch '+iDir+'/PostProc.STOP\n')
95-
93+
if ARGS.IDs.strip():
94+
file_out.write('ibrun -o 0 -n 1 Scripts/watch_runlog.py -i '+ARGS.IDs+' >& log_watch_runlog_`date +%y%m%d%H%M%S` &\n')
95+
else:
96+
file_out.write('ibrun -o 0 -n 1 Scripts/watch_runlog.py >& log_watch_runlog_`date +%y%m%d%H%M%S` &\n')
9697
file_out.write('\nwait\n')

0 commit comments

Comments
 (0)