FPM + Lapack on GitHub Actions #618
Replies: 2 comments 3 replies
-
I'm using it quite extensively in quite a few of my projects like dftd4 or tblite. At least the Linux runners usually have a working BLAS/LAPACK installation around, for MacOS I usually install OpenBLAS from homebrew. In the package manifest you need link = ["lapack", "blas"] |
Beta Was this translation helpful? Give feedback.
-
I ran into this issue when I tested this repository locally on Windows with openblas. I thought is was a quirk of Windows/openblas but I managed to fix it by moving the name = "nlesolver-fortran"
author = "Jacob Williams"
copyright = "Copyright (c) 2021, Jacob Williams"
license = "BSD-3"
description = "Nonlinear Equation Solver with Modern Fortran"
homepage = "https://github.com/jacobwilliams/nlesolver-fortran"
keywords = ["nle solver"]
[build]
auto-executables = false
auto-examples = false
auto-tests = false
link = "openblas"
[library]
source-dir = "src"
[install]
library = true
[[test]]
name = "nlesolver_test_1"
source-dir = "tests"
main = "nlesolver_test_1.f90"
|
Beta Was this translation helpful? Give feedback.
-
Does anybody have an example of using FPM with a project that requires LAPACK and have it working in GitHub Actions.
I've got:
and that works fine locally. I guess I probably need to install Lapack... tried this in my CI config:
But didn't seem to work. Probably I'm missing something simple here. Does anyone have this working?
Beta Was this translation helpful? Give feedback.
All reactions