-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If you replace lines like
python-jl /home/khalil.nor/Code/RMG-Py/rmg.py input.py
in your slurm bash scripts with
python-jl /home/khalil.nor/Code/RMG-Py/rmg.py -p input.py
(just adding a -p option) then it should record and save profiling information.
If it finishes building a model then it will postprocess it and make you a nice PDF showing where the code spent its time. This may give ideas for speeding things up.
If it crashes or is killed before finishing, then you need to manually post-process it which you can do by calling it again with -P instead of -p. The postprocessing runs gprof2dot so you'll need graphviz, etc. installed (probably just conda install gprof2dot if it fails).
Nora-Khalil
Metadata
Metadata
Assignees
Labels
No labels