Skip to content

How to enable multithreading? #125

Description

@atbug

I expect the following script should use 16 threads:

using SparseArrays
using SuiteSparseGraphBLAS
using Arpack

gbset(:nthreads, 16)
A = GBMatrix(sprand(100000, 100000, 0.001))
H = A' + A

@info "matrix constructed"

eigs(H, nev=6, which=:SR, maxiter=1000)

However, the CPU usage keeps < 100% during eigs, for which I believe most of the time should be doing matrix vector multiplication:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions