I'm new to Rust. I'm writing research code, currently in C++, that uses numerical libraries such as EIGEN, BLAS, and LAPACK. I've just dipped my toe into green-field development of analysis tools in Rust.
I've made a couple of attempts to use various crates that access these libraries, and consistently have linker errors that prevent the code from running.
10:38PM - 07 Dec 22 UTC
I'm using this crate and the [example program](https://github.com/acge
… tchell/rust-blas/blob/b6f00a4499b4005f44824a66bc7ba0744564325b/src/main.rs) [fails due to linker issues](https://github.com/acgetchell/rust-blas/actions/runs/3643382516/jobs/6151553090#step:4:37).
Sorry, I'm fairly new to Rust.
December 11, 2022, 11:17am
I can't vouch for
faer, but maybe this recent post would be useful:
faer is a collection of crates that implement a low level API for linear algebra routines. It's somewhat similar to BLAS/Lapack, but gives more control to users by allowing parallelism to be specified on a per-call basis. it also exposes some of the low level knobs that users can tweak to maximize performance on their hardware, although the default settings should also give good performance on their own.
Benchmarks can be found on the
official website, and code examples can be found there, as…
December 11, 2022, 11:19am
To try to help with using BLAS/LAPACK as requested, I note that the problem has been narrowed down in the linked GitHub ticket to
I note this in case it will catch the attention of people who know about using Rust and FFI on Windows.
(Edit: To that end, I've also appended "on Windows" to this topic's title.)
So far I'm using BLAS/LAPACK as part of libraries like Eigen and CGAL, so I can't yet use faer until I have truly Greenfield development that doesn't depend upon these standard scientific libraries.
March 12, 2023, 7:43pm
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.