Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the dbmodel and dbscript test errors #313

Merged
merged 2 commits into from
Jul 3, 2023

Conversation

mellis13
Copy link
Contributor

@mellis13 mellis13 commented Jul 3, 2023

In PR 304 (#304), the DB model and script tests were updated to enable testing on workload managers. However, these tests were not constrained to run on only one node and one process during the update. As a result, each SmartSim model and Ensemble member is run with a generic run command (e.g. srun) that results in multiple, identical clones of the test entity running on each compute node (e.g. in a generic slurm interactive allocation with three nodes, a srun command without -N and/or -n arguments will launch the test script on three compute nodes). This oversight causes a combination of key collisions that results in sporadic test failures. This PR addresses those test failures.

collisions by setting the number of nodes and tasks to be one.
This will cause warnings for local test launching, but the
tests will still successfully pass.
@mellis13 mellis13 requested a review from MattToast July 3, 2023 18:58
Copy link
Member

@MattToast MattToast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!! Thanks for tracking down and the fast fix!

@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #313 (becaf66) into develop (6a57e1e) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #313   +/-   ##
========================================
  Coverage    87.00%   87.00%           
========================================
  Files           59       59           
  Lines         3518     3518           
========================================
  Hits          3061     3061           
  Misses         457      457           

@mellis13 mellis13 merged commit 200bc01 into CrayLabs:develop Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants