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

run error #158

Open
Chisen-Wang opened this issue Feb 28, 2024 · 3 comments
Open

run error #158

Chisen-Wang opened this issue Feb 28, 2024 · 3 comments

Comments

@Chisen-Wang
Copy link

When i run audikw_1.mtx on superlu_dist with 32 rank, i get an assert : pdgstrf: Assertion `nbrow*(st_col+num_col_stream) < buffer_size' failed. what is this mean ang how can i fix it

@xiaoyeli
Copy link
Owner

The default size (256MB) to use GPU memory exceeded. You can increase it to something a lot larger by setting the environment variable:
export SUPERLU_MAX_BUFFER_SIZE=1024000000

This paper describes the user-tunable parameters, esp. for GPU:
https://dl.acm.org/doi/full/10.1145/3577197

@jhlee508
Copy link

jhlee508 commented Jan 5, 2025

This worked for me.

assert(nbrow*(st_col+num_col_stream) < buffer_size);

The line in the code here should be fixed as below:

 assert(nbrow*(st_col+num_col_stream) <= buffer_size);

xiaoyeli added a commit that referenced this issue Jan 5, 2025
@xiaoyeli
Copy link
Owner

xiaoyeli commented Jan 5, 2025

I don't think this is important. But I pushed a change in master branch. It will be in the next release.

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

3 participants