Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ scorep is a module that allows tracing of python scripts using [Score-P](https:/
<!-- <small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small> -->

# Install
You need at least Score-P 5.0, build with `--enable-shared` and the gcc compiler plugin.
You need at least Score-P 5.0, build with `--enable-shared`.
Please make sure that `scorep-config` is in your `PATH` variable.

The Score-P community provides an unofficial PPA for Ubuntu LTS systems: https://launchpad.net/~score-p/+archive/ubuntu/releases .
Expand Down
7 changes: 0 additions & 7 deletions scorep/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def scorep_main(argv=None):

keep_files = False
verbose = False
no_default_compiler = False
no_instrumenter = False
if scorep.instrumenter.has_c_instrumenter():
instrumenter_type = "cProfile"
Expand All @@ -39,9 +38,6 @@ def scorep_main(argv=None):
keep_files = True
elif elem == "--verbose" or elem == '-v':
verbose = True
elif elem == "--nocompiler":
scorep_config.append(elem)
no_default_compiler = True
elif elem == "--nopython":
no_instrumenter = True
elif elem == "--noinstrumenter":
Expand All @@ -68,9 +64,6 @@ def scorep_main(argv=None):
else:
prog_argv.append(elem)

if not no_default_compiler:
scorep_config.append("--compiler")

if len(prog_argv) == 0:
_err_exit("Did not find a script to run")

Expand Down
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@
'Score-P not build with "--enable-shared". Link mode is:\n{}'.format(link_mode)
)

check_compiler = scorep.helper.get_scorep_config("C99 compiler used:")
if check_compiler is None:
check_compiler = scorep.helper.get_scorep_config("C99 compiler:")
if check_compiler is None:
raise RuntimeError("Can not parse the C99 compiler, aborting!")
if "gcc" in check_compiler:
gcc_plugin = scorep.helper.get_scorep_config("GCC plug-in support:")
if not ("yes" in gcc_plugin):
raise RuntimeError(
"Score-P uses GCC but is not build with GCC Compiler Plugin. "
"GCC plug-in support is:\n{}".format(gcc_plugin)
)


install_requires= ["setuptools>=68.0.0"]

cmodules = []
Expand Down
Loading