File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,12 +46,12 @@ def scorep_main(argv=None):
4646 no_instrumenter = True
4747 elif elem == "--noinstrumenter" :
4848 no_instrumenter = True
49- elif elem == "--io=runtime:posix" or elem == "--io=posix" :
49+ elif elem in ["--io=runtime:posix" , "--io=posix" ]:
50+ print_err (f"scorep: Warning: The option '{ elem } ' is deprecated." )
5051 if "SCOREP_IO_POSIX" in os .environ :
51- print_err ("scorep: Warning: The option '--io=runtime:posix' is deprecated." )
52- print_err ( " Please set the environment variable 'SCOREP_IO_POSIX=true' instead ." )
52+ print_err (" Will not overwrite existing value for environment variable "
53+ f" 'SCOREP_IO_POSIX={ os . environ [ 'SCOREP_IO_POSIX' ] } ' ." )
5354 else :
54- print_err ("scorep: The option '--io=runtime:posix' is deprecated. " )
5555 print_err (" The environment variable 'SCOREP_IO_POSIX=true' is set and will be used." )
5656 os .environ ["SCOREP_IO_POSIX" ] = "true"
5757 elif "--instrumenter-type" in elem :
You can’t perform that action at this time.
0 commit comments