Move wannier90 build out of the final stage - #1538
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1538 +/- ##
=======================================
Coverage 75.32% 75.32%
=======================================
Files 115 115
Lines 7388 7388
=======================================
Hits 5565 5565
Misses 1823 1823
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
86857fe to
47fc402
Compare
edan-bainglass
left a comment
There was a problem hiding this comment.
Thanks @danielhollas. LGTM!
Note that I'd like to soon add also the compilation of SKEAF into the image, which is needed for the calculation of Fermi surfaces by the Wannier90 plugin. If you recall, the workflow required Julia. That is no longer the case - only Python! We just need the SKEAF code installed + aiida-skeaf.
For the SKEAF code, I started looking at placing it on conda-forge. Seems doable.
|
Yes, ideally wannier90 should be in conda-forge as well, should be relatively easy. This should make the build faster and also the image smaller I suspect. |
| # This is for backwards compatibility | ||
| COPY --from=qe_conda_env ${QE_DIR}/bin/wannier90.x /opt/conda/bin/wannier90.x |
There was a problem hiding this comment.
@danielhollas can you explain how this is taking care of backwards compatibility? What exactly was the issue?
There was a problem hiding this comment.
Existing deployments will have AiiDA Codes pointing to this path so we need to preserve it.
In general, builds shouldn't be done in the final stage since they can leave junk behind them (even though we tried hard to cleanup after ourselves).