anilshanbhag/crystal

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

Opened this issue · 6 comments

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.

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

Have you configured BASE_PATH is ssb_utils.h ?

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.

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 ?

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.

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