-
Notifications
You must be signed in to change notification settings - Fork 17
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
Refactor common MD engine functions #57
Conversation
Codecov Report
@@ Coverage Diff @@
## master #57 +/- ##
==========================================
- Coverage 89.35% 89.13% -0.23%
==========================================
Files 11 12 +1
Lines 526 506 -20
==========================================
- Hits 470 451 -19
+ Misses 56 55 -1
Continue to review full report at Codecov.
|
Regarding 0446c91: I consolidated |
We now always pass the actual MD engine via We could later think about rewriting parts of the MD engine to use classes, but this should be fine as a first step. This is ready to be reviewed @MSiggel @kain88-de. |
@@ -188,11 +189,12 @@ def generate(name, gpu, module, host, min_nodes, max_nodes, time, | |||
'Creating a total of {} benchmarks, with a run time of {} each.', | |||
number_of_benchmarks, run_time_each) | |||
|
|||
top = dtr.Tree(directory) | |||
base_directory = dtr.Tree(directory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe top_directory?
Changes made in this pull request:
write_bench
function frommdengines.gromacs.write_bench
andmdengines.namd.write_bench
intomdengines.utils.write_benchmark
.mdengines.utils.write_benchmark
. We now also check wheter all variables in the generatedbench.job
were replaced correctly.cleanup_before_restart
for both NAMD and GROMACS.parse_ns_day
,parse_ncores
andanalyze_run
for both NAMD and GROMACS.PR Checklist
./changelog/
(more information)?[ ] Issue raised/referenced?