-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set CMAKE_BUILD_PARALLEL_LEVEL
to speed up SUNDIALS and IDAKLU compilation
#3646
Labels
difficulty: easy
A good issue for someone new. Can be done in a few hours
priority: medium
To be resolved if time allows
Comments
agriyakhetarpal
added
difficulty: easy
A good issue for someone new. Can be done in a few hours
priority: medium
To be resolved if time allows
labels
Dec 20, 2023
agriyakhetarpal
changed the title
Set CMAKE_BUILD_PARALLEL_LEVEL to speed up SUNDIALS and IDAKLU compilation
Set Dec 20, 2023
CMAKE_BUILD_PARALLEL_LEVEL
to speed up SUNDIALS and IDAKLU compilation
6 tasks
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Dec 21, 2023
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Dec 21, 2023
5 tasks
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Dec 23, 2023
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Dec 23, 2023
for Linux wheel builds
8 tasks
6 tasks
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Jan 6, 2024
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Jan 6, 2024
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Jan 6, 2024
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Jan 6, 2024
agriyakhetarpal
added a commit
to agriyakhetarpal/PyBaMM
that referenced
this issue
Jan 6, 2024
4 tasks
js1tr3
pushed a commit
to js1tr3/PyBaMM
that referenced
this issue
Aug 12, 2024
js1tr3
pushed a commit
to js1tr3/PyBaMM
that referenced
this issue
Aug 12, 2024
js1tr3
pushed a commit
to js1tr3/PyBaMM
that referenced
this issue
Aug 12, 2024
js1tr3
pushed a commit
to js1tr3/PyBaMM
that referenced
this issue
Aug 12, 2024
for Linux wheel builds
js1tr3
pushed a commit
to js1tr3/PyBaMM
that referenced
this issue
Aug 12, 2024
js1tr3
pushed a commit
to js1tr3/PyBaMM
that referenced
this issue
Aug 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
difficulty: easy
A good issue for someone new. Can be done in a few hours
priority: medium
To be resolved if time allows
THE
CMAKE_BUILD_PARALLEL_LEVEL
(CMake 3.12+) environment variable provides immense speedups (in the order of ~3x in my case) in the compilation of SuiteSparse and SUNDIALS if set, with the use of multithreaded builds – we can use this environment variable ininstall_KLU_Sundials.py
, and for the IDAKLU extension module compilation in thebuild_ext
command classes insetup.py
.The value of the environment variable should be set to the number of CPU cores present on the machine (computed through the value of
multiprocessing.cpu_count()
or similar).Addendum: it can also be set accordingly in
pybamm/install_odes.py
to speed up the compilation of SUNDIALS for user installations.The text was updated successfully, but these errors were encountered: