-
Notifications
You must be signed in to change notification settings - Fork 71
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
Feature/jon/npool #76
Conversation
Codecov Report
@@ Coverage Diff @@
## master #76 +/- ##
==========================================
+ Coverage 51.68% 51.72% +0.03%
==========================================
Files 43 43
Lines 6046 6053 +7
==========================================
+ Hits 3125 3131 +6
- Misses 2921 2922 +1
Continue to review full report at Codecov.
|
Python f string might be good? Here is the PEP for it. It can be cleaner than the traditional string formatting |
flare/dft_interface/qe_util.py
Outdated
return parse_dft_forces('pwscf.out') | ||
if (no_cpus > 1): | ||
# dft_command = 'mpirun -np {} {}'.format(no_cpus, dft_command) | ||
dft_command = 'srun -n {} --mpi=pmi2 {}'.format(no_cpus, dft_command) |
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.
This line is the culprit for unit test failure. Should leave it to the user to decide.
b0997f3
to
78a7a29
Compare
closes #73
@nw13slx I added a dummy "npool" input to the cp2k run_dft_par function so that it's still compatible with otf.py. Not sure how cp2k handles parallelization by k-point, though (or if it even can).