Skip to content

Commit 87ca5b7

Browse files
committed
not all apps have individual data dirs - lets not expect it
1 parent 17b1899 commit 87ca5b7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

util/job_launching/run_simulations.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ def run(self, build_handle, benchmarks, run_directory, cuda_version, simdir):
5353
exec_dir, data_dir, benchmark, self.command_line_args_list = dir_bench
5454
if options.trace_dir == "":
5555
full_exec_dir = common.dir_option_test(os.path.expandvars(exec_dir), "", this_directory)
56-
full_data_dir = common.dir_option_test(\
57-
os.path.join(os.path.expandvars(data_dir), benchmark.replace('/','_')), "",\
58-
this_directory)
56+
try:
57+
full_data_dir = common.dir_option_test(\
58+
os.path.join(os.path.expandvars(data_dir), benchmark.replace('/','_')), "",\
59+
this_directory)
60+
except common.PathMissing:
61+
pass
5962
else:
6063
full_exec_dir = "" # For traces it is not necessary to have the apps built
6164
full_data_dir = ""

0 commit comments

Comments
 (0)