Skip to content

Move wannier90 build out of the final stage - #1538

Merged
danielhollas merged 2 commits into
mainfrom
move-wannier-build
Jun 26, 2026
Merged

Move wannier90 build out of the final stage#1538
danielhollas merged 2 commits into
mainfrom
move-wannier-build

Conversation

@danielhollas

Copy link
Copy Markdown
Contributor

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).

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.32%. Comparing base (1a80e16) to head (f9acb79).

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           
Flag Coverage Δ
python-3.12 75.32% <ø> (ø)
python-3.9 75.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread Dockerfile Outdated

@edan-bainglass edan-bainglass left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

@danielhollas

Copy link
Copy Markdown
Contributor Author

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.

@danielhollas
danielhollas merged commit dd5a2c5 into main Jun 26, 2026
15 of 18 checks passed
@danielhollas
danielhollas deleted the move-wannier-build branch June 26, 2026 14:15
Comment thread Dockerfile
Comment on lines +184 to +185
# This is for backwards compatibility
COPY --from=qe_conda_env ${QE_DIR}/bin/wannier90.x /opt/conda/bin/wannier90.x

@edan-bainglass edan-bainglass Jul 5, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@danielhollas can you explain how this is taking care of backwards compatibility? What exactly was the issue?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Existing deployments will have AiiDA Codes pointing to this path so we need to preserve it.

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