Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

OpenBLAS build and LAPACK binding #6

Open
ChrisRackauckas opened this issue May 23, 2018 · 10 comments
Open

OpenBLAS build and LAPACK binding #6

ChrisRackauckas opened this issue May 23, 2018 · 10 comments

Comments

@ChrisRackauckas
Copy link
Member

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?

@staticfloat
Copy link
Contributor

staticfloat commented May 29, 2018

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.

@staticfloat
Copy link
Contributor

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.

@staticfloat
Copy link
Contributor

Okay I ended up chipping away at it while watching Firefly tonight, and before I knew what I had done it was 3am and #7 appeared. Shiny.

@tshort
Copy link
Contributor

tshort commented May 29, 2018

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

@ChrisRackauckas ChrisRackauckas changed the title OpenBLAS build OpenBLAS build and LAPACK binding May 30, 2018
@ChrisRackauckas
Copy link
Member Author

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, #9

@ChrisRackauckas
Copy link
Member Author

Alright, #11 didn't work at all so I'll have to look into this in more detail later.

@staticfloat
Copy link
Contributor

@jd-lara
Copy link

jd-lara commented Oct 26, 2019

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?

@ChrisRackauckas
Copy link
Member Author

we currently don't build with LAPACK because of those issues 🤷‍♂ . Not sure anyone knows of a solution.

@jd-lara
Copy link

jd-lara commented Oct 26, 2019

I see. since I saw it enabled in the repo though it was working. Thanks for the answer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants