Skip to content
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

stop LAPACK least_squares from printing / verbose #375

Closed
azmyrajab opened this issue Mar 14, 2024 · 0 comments
Closed

stop LAPACK least_squares from printing / verbose #375

azmyrajab opened this issue Mar 14, 2024 · 0 comments

Comments

@azmyrajab
Copy link

Hello!

When running ndarray-linalg least squares (which should use LAPACK SGELSD)
let solution = x.least_squares(&y).map_err(|_| LeastSquaresError::SolveError)?;

I get the following printed out -
start of SGELSD
start of SGELSD
overdetermined, path 1
overdetermined, path 1a
end of SGELSD

Repeated calling of the least squares routine results in flooding sysout and meaningful performance implications (for an otherwise fast implementation).

Is there any way to disable this? or make being verbose optional?

Thanks!

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

No branches or pull requests

1 participant