Skip to content

Commit 35581ef

Browse files
committed
modify error message
1 parent 2c6a722 commit 35581ef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scorep/subsystem.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ def init_environment(scorep_config, keep_files=False, verbose=False):
128128
if not os.access(temp_dir + "/" + subsystem_lib_name, os.X_OK):
129129
clean_up(keep_files=keep_files)
130130
raise RuntimeError(
131-
"The Score-P Subsystem Library at {} cannot be executed. Cleaning up.".format(temp_dir + "/" + subsystem_lib_name))
131+
"The Score-P Subsystem Library at {} cannot be executed. Changing $TMP might help. "
132+
"Directory erased, use --keep-files to inspect the situation.".format(
133+
temp_dir + "/" + subsystem_lib_name))
132134

133135
scorep.helper.add_to_ld_library_path(temp_dir)
134136

0 commit comments

Comments
 (0)