[Feature] Add Windows Installer for ABACUS - #7267
Merged
Merged
Conversation
Collaborator
|
|
Collaborator
Author
Oh my god, why didn't you say so earlier?😧 |
Collaborator
|
|
Critsium-xy
marked this pull request as ready for review
April 21, 2026 03:04
Collaborator
Author
|
Recommended for some user who what to quickly test a demo on Windows machine. Don't burn your windows machine with this thing (You can, but not recommend) |
…MPI-as-root, env forwarding - Strip CR on the fly when piping provision.sh into bash so CRLF from git autocrlf or Windows editors no longer breaks shell parsing; add a tools/windows/.gitattributes pinning *.sh to LF and *.bat/*.cmd to CRLF. - Replace the `wsl -d ... true` distro probe with a registry query, which is not fooled by lingering Store appx state after --unregister. - Flatten the distro-install block and drop `& exit /b` so `if errorlevel 1` reads the runtime errorlevel of wsl.exe rather than the parse-time one, which was causing the window to close silently after install. - Let `wsl --update` / `wsl --install -d` output flow to the console so users see Microsoft's download progress bar instead of a silent hang. - Forward OMP_NUM_THREADS / MKL_NUM_THREADS / OPENBLAS_NUM_THREADS through WSLENV, default to 1 in the Linux wrapper to avoid oversubscription. - Allow OpenMPI / PRRTE to run as root inside WSL (flag + env vars) so abacus-mpi works without creating a non-root user. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Documents the WSL2 + conda-forge pipeline, requirements, usage (serial / MPI / hybrid), performance notes, file layout, troubleshooting table, and a two-tier uninstallation section that distinguishes removing only ABACUS from fully removing WSL via `wsl --uninstall`. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds docs/quick_start/windows_installer.md mirroring the README that ships next to the scripts in tools/windows/, wires it into the Quick Start toctree in docs/index.rst, and adds a cross-reference from easy_install.md so Windows users discover the scripted path instead of building from source or following WSL setup manually. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I add a
install-abacus.batfile. Running this file will install ABACUS Windows Version on the machine (Not exactly windows version in fact).However, this way of installation relies on using Miniconda to pack the environment. So it can only run the version on Miniconda (LTS Version) now.
How to use:
This just works😋👍