Open ChrisRackauckas opened 6 years ago
BLAS is a special case; during build time, you can use the releases of OpenBLASBuilder
. I suggest using this one. You'd use this as a dependency during the Sundials
build. You could go through the wizard again, or you could just add it to the dependencies
list that gets passed into build_tarballs()
. During runtime, you won't need any kind of dependency, as OpenBLAS is guaranteed to be loaded by Julia.
Ah, looks like SundialsBuilder hasn't been updated in a while. We've got a new and improved API that will make your build_tarballs.jl
a little easier to manage.
Okay I ended up chipping away at it while watching Firefly tonight, and before I knew what I had done it was 3am and https://github.com/JuliaDiffEq/SundialsBuilder/pull/7 appeared. Shiny.
It looks like SuiteSparseBuilder has a release now. Depending on that might give us KLU and OpenBLAS, so we could reduce code here.
https://github.com/JuliaLinearAlgebra/SuiteSparseBuilder/releases
It looks like that's all cleared up and Sundials was upgraded to 3.1.1, along with Travis working now. The last short term goal is to get it to find the OpenBLAS LAPACK, https://github.com/JuliaDiffEq/SundialsBuilder/pull/9
Alright, https://github.com/JuliaDiffEq/SundialsBuilder/pull/11 didn't work at all so I'll have to look into this in more detail later.
This seems to be more widespread than I originally thought:
I am currently trying to update the BinaryBuilder for Sundials v5.0.0 and If I keep this configuration for Sundials I get that LAPACK isn't functional.
-- Looking for LAPACK libraries... OK
-- Checking if LAPACK works... FAILED
CMake Warning at config/SundialsCMakeMacros.cmake:83 (message):
------------------------------------------------------------------------
WARNING: LAPACK not functional
Blas/Lapack support will not be provided
------------------------------------------------------------------------
Call Stack (most recent call first):
CMakeLists.txt:914 (print_warning)
Any ideas?
we currently don't build with LAPACK because of those issues 🤷♂ . Not sure anyone knows of a solution.
I see. since I saw it enabled in the repo though it was working. Thanks for the answer.
Sundials can add in the use of BLAS if available.
https://computation.llnl.gov/sites/default/files/public/cv_guide.pdf
All that needs to be set are the BLAS binary locations. I know that @staticfloat how do you chain builds to be able to do that?