Tracking issue for improvements to install_KLU_Sundials.py
and build infrastructure
#3651
Closed
5 tasks done
Labels
difficulty: easy
A good issue for someone new. Can be done in a few hours
difficulty: medium
Will take a few days
priority: low
No existing plans to resolve
Warning
Following an imminent migration for the build system and/or choice of build-backend for PyBaMM, not all of the listed points may not be applicable for completion. Please refer to #3564 for more information.
There are a number of improvements that can be introduced to improve the installation of the build-time dependencies (SuiteSparse and SUNDIALS) and the IDAKLU extension module and general improvements to the installation scripts:
pybamm-requires
to return early if an existing SUNDIALS installation is found #3418) (Replace wget with urllib for downloading and parallelize with concurrent.futures for efficiency #3719)CMAKE_BUILD_PARALLEL_LEVEL
environment variable (SetCMAKE_BUILD_PARALLEL_LEVEL
to speed up SUNDIALS and IDAKLU compilation #3646)(noted by @kratman: we install
gcc
in CI for macOS, but it is never used!)wget
as a dependency and useurllib
from the Python standard library for downloading. In addition to this, usemultiprocessing.Pool
orconcurrent.futures
to download both tarballs in parallel to save time (Replace wget with urllib for downloading and parallelize with concurrent.futures for efficiency #3719)These tasks have a mixture of easy and medium difficulty. Some of them have a higher priority than the rest, I am glad to take those up myself.
Tip
The rest of the tasks have been moved to #3564.
The text was updated successfully, but these errors were encountered: