Skip to content

Commit

Permalink
Bug fix: sql filename suffix to be sql instead of sql_0 if MPI with 1…
Browse files Browse the repository at this point in the history
… core
  • Loading branch information
yonghoonlee committed Aug 7, 2024
1 parent 2e73132 commit 0fa00a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weis/glue_code/runWEIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def run_weis(fname_wt_input, fname_modeling_options, fname_opt_options, geometry
SKIP_SMT = False
sm_filename = os.path.join(folder_output, os.path.splitext(opt_options['recorder']['file_name'])[0] + '.smt')
sql_filename = os.path.join(folder_output, opt_options['recorder']['file_name'])
if MPI:
if MPI and max_cores>1:
sql_filename += '_{:}'.format(rank)
if opt_options['opt_flag'] and opt_options['driver']['design_of_experiments']['flag']: # if DOE enabled
# Skip DOE Driver if SQL file exists
Expand Down

0 comments on commit 0fa00a0

Please sign in to comment.