Repository navigation
docs: tested install commands and one Python setup - #439
Merged
Merged
Conversation
Require Python 3.10 like the kim package and make matplotlib a dependency, since KiLCA_interface imports it at load time. Move the plasmapy/cxroots needs of the dispersion modules into an optional "analysis" extra and drop python/Makefile and requirements.txt, which installed without a virtual environment. Rewrite python/README.md around the single venv recipe that the tutorials use.
A clean Ubuntu 24.04 container builds everything and passes ctest and the tutorials with only compilers, CMake, Ninja, Git, OpenBLAS/LAPACK and SuperLU. Document that list and the Homebrew equivalent, and make CI install exactly these packages and the documented Python packages so the instructions stay tested. Remove the outdated setup scripts in utility_scripts/ (setup_debian.sh lacked SuperLU).
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.
Makes the first two steps for a new user (installing system packages, setting up Python) concrete and tested.
System packages
ubuntu:24.04container builds every executable, passes all 197 non-golden CTest tests, all four tutorials andmake pytest, with only:git make cmake ninja-build gcc g++ gfortran libopenblas-dev liblapack-dev libsuperlu-dev python3-venv.NetCDF, HDF5, GSL, MPFR, GMP, OpenMPI and SuiteSparse from the system are not needed.
utility_scripts/setup_{debian,arch}.sh: unreferenced and outdated (the Debian one lacked SuperLU).Python
pip install -e ./KIM/python -e ./python.requires-python >= 3.10(matcheskim), matplotlib becomes a dependency (KiLCA_interfaceimports it at load time),plasmapy/cxrootsmove to an optional[analysis]extra.python/Makefileandpython/requirements.txt(installed with globalpip3).python/README.mdrewritten: install, extras, package overview.SyntaxWarnings printed on importingKiLCA_interface.Not in this PR
The container test ran on aarch64 Linux and found that the fetched
neo_rtadds-march=x86-64-v2on every non-Apple system, so KAMEL does not build on ARM Linux. That needs a fix in NEO-RT (and the same pattern exists in libneo's CMakeLists, guarded there).