Skip to content

Commit 8caf14d

Browse files
authored
Set pid so that SU2 resource usage is monitored not the Python script
1 parent 333fcc0 commit 8caf14d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/SU2/SU2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
metadata[attr] = line.split('%s= ' % attr)[1].strip()
3737

3838
run = Run()
39+
run.set_pid(pid)
3940
run.init(metadata=metadata, tags=['SU2'],
4041
description='SU2 tutorial https://su2code.github.io/tutorials/Inviscid_ONERAM6/')
4142

0 commit comments

Comments
 (0)