Use `python -m cProfile` for profiling ILE jobs
Here is an example: /home/richard.oshaughnessy/RIFT_develUWM/src/research-projects-RIT/.travis/fulltest_aligned13/G329473_C01_IMRPhenomD_fmin20_fmin-template20_lmax2_default_manualBWpsd_LIseglen8_GMM_rf/command-single.sh
To implement this first change the subfile format to
# current standard case
executable = /path/to/ile
arguments = ilearg_0 ...
---
# new standard case
executable = /path/to/python
arguments = /path/to/ile ilearg_0 ...
---
# new profile case
executable = /path/to/python
arguments = -m cProfile -o output.log /path/to/ile ilearg_0 ...
Edited by VINAYA VALSAN