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 Nov 21, 2024
1 parent b614eb4 commit f0f926d
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 @@ -219,7 +219,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 f0f926d

Please sign in to comment.