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

Running Error: CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument #3

Open
Eilowangfang opened this issue Aug 19, 2020 · 6 comments

Comments

@Eilowangfang
Copy link

I following the README, and complied the test example.
However, the error occurs when I runned "./bin/ssb/q11".
"
** LOADED DATA **
CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument
"

The error seems due to "cudaMemcpy(dest, src, sizeof(T) * numEntries, cudaMemcpyHostToDevice)".

Could you please help me identify the reason. Thank you.

@Eilowangfang
Copy link
Author

I following the README, and complied the test example.
However, the error occurs when I runned "./bin/ssb/q11".
"
** LOADED DATA **
CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument
"

The error seems due to "cudaMemcpy(dest, src, sizeof(T) * numEntries, cudaMemcpyHostToDevice)".

Could you please help me identify the reason. Thank you.

In details, the error message is:

$ ./bin/ssb/q11
Using device 0: TITAN Xp (PTX version 520, SM610, 30 SMs, 12023 free / 12196 total MB physmem, 547.680 GB/s @ 5705000 kHz mem clock, ECC off)
** LOADED DATA **
LO_LEN 6001171
CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument

@anilshanbhag
Copy link
Owner

Have you configured BASE_PATH is ssb_utils.h ?

@Eilowangfang
Copy link
Author

Have you configured BASE_PATH is ssb_utils.h ?

Yes. I think I modified it.

In src/ssb/ssb_utils.h, I configured:
#define SF 1

#define BASE_PATH "/home/spark/GPUdb/crystal/test/ssb/data/”

"/home/spark/GPUdb/crystal/test/ssb/data/” is my path.

@anilshanbhag
Copy link
Owner

I just checked, the error is due to it not finding files.
Can you check /home/spark/GPUdb/crystal/test/ssb/data/s1_columnar/ exists and it has files labelled LINEORDER1 - LINEORDER16 ?

@Eilowangfang
Copy link
Author

I just checked, the error is due to it not finding files.
Can you check /home/spark/GPUdb/crystal/test/ssb/data/s1_columnar/ exists and it has files labelled LINEORDER1 - LINEORDER16 ?

Yes. It works now. Thank you.

@Moiley
Copy link

Moiley commented Apr 30, 2024

hi, there. I get almost exactly same mistake when I runned "./bin/ssb/q11".
i check my base_path/s1_columnar (s1_columnar is manully created), but fail to find files labelled LINEORDER1 - LINEORDER16.
can you help me with it?

In details, the error message is:
Using device 0: Quadro RTX 8000 (PTX version 750, SM750, 72 SMs, 2308 free / 48601 total MB physmem, 672.096 GB/s @ 7001000 kHz mem clock, ECC off)
** LOADED DATA **
LO_LEN 6001171
CUDA error 1 [src/ssb/gpu_utils.h, 21]: invalid argument

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