Skip to content

Commit a21d797

Browse files
Apply suggestions from code review
Co-authored-by: Bert Wesarg <[email protected]>
1 parent 148dd0b commit a21d797

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scorep/__main__.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def print_help():
1616
print("""
1717
Usage: python -m scorep [options] [--] your_program.py [args]
1818
19-
Score-P Python instrumentation wrapper. The following options control how the program is instrumented and executed:
19+
Score-P Python instrumentation wrapper. The following options control how the program is instrumented and executed. Any unknown option are passed directly to 'scorep-config'.
2020
2121
--help Show this help message and exit.
2222
--mpi Enable MPI instrumentation (equivalent to --mpp=mpi).
@@ -26,16 +26,18 @@ def print_help():
2626
--nopython Disable instrumentation of Python code.
2727
Instrumentation can still be enabled later from within the application's source code.
2828
--noinstrumenter Same as --nopython.
29-
--instrumenter-type=<t> Specify custom instrumenter type (e.g., cProfile).
30-
--instrumenter-file=<f> Path to a Python script that is executed before the application.
29+
--instrumenter-type=<type>
30+
Specify custom instrumenter type (e.g., cProfile).
31+
--instrumenter-file=<file>
32+
Path to a Python script that is executed before the application.
3133
Allows instrumentation of specific modules and functions without modifying their source code.
3234
-- Stop parsing Score-P options; pass following args to your script.
3335
3436
Other options starting with '-' are passed directly to 'scorep-config'.
3537
To view all available Score-P configuration options, run: scorep-config --help
3638
3739
Example:
38-
scorep --mpi --thread=pthread -- your_script.py --arg1 --arg2
40+
scorep --mpi --thread=pthread -- ./your_script.py --arg1 --arg2
3941
4042
Note:
4143
If using --noinstrumenter, Score-P will not trace Python code, but it may still collect MPI or threading events

0 commit comments

Comments
 (0)