I'm using Blackwell on Ubuntu 24.04 and installed cuda 13.0.
Then I tried to compile AutoDock-GPU as below:
export CUDAROOT=/usr/local/cuda-13.0
make DEVICE=CUDA NUMWI=128 GPU_INCLUDE_PATH=/usr/local/cuda-13.0/include/ GPU_LIBRARY_PATH=/usr/local/cuda-13.0/lib64/
...
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:18:251: error: macro "__cudaLaunch" requires 2 arguments, but only 1 given
18 | ple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaLaunch(((char *)((void ( *)(float *, float *))gpu_calc_initpop_kernel)));}
| ^
In file included from /tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:8,
from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/usr/local/cuda-13.0/include/crt/host_runtime.h:112: note: macro "__cudaLaunch" defined here
112 | #define __cudaLaunch(fun, isTileKernel) \
|
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:142: error: macro "__cudaLaunch" requires 2 arguments, but only 1 given
1 | #pragma GCC diagnostic push
| ^
In file included from /tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:8,
from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/usr/local/cuda-13.0/include/crt/host_runtime.h:112: note: macro "__cudaLaunch" defined here
112 | #define __cudaLaunch(fun, isTileKernel) \
|
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:255: error: macro "__cudaLaunch" requires 2 arguments, but only 1 given
1 | #pragma GCC diagnostic push
| ^
In file included from /tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:8,
from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/usr/local/cuda-13.0/include/crt/host_runtime.h:112: note: macro "__cudaLaunch" defined here
112 | #define __cudaLaunch(fun, isTileKernel) \
|
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:401: error: macro "__cudaLaunch" requires 2 arguments, but only 1 given
1 | #pragma GCC diagnostic push
| ^
In file included from /tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:8,
from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/usr/local/cuda-13.0/include/crt/host_runtime.h:112: note: macro "__cudaLaunch" defined here
112 | #define __cudaLaunch(fun, isTileKernel) \
|
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:263: error: macro "__cudaLaunch" requires 2 arguments, but only 1 given
1 | #pragma GCC diagnostic push
| ^
In file included from /tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:8,
from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/usr/local/cuda-13.0/include/crt/host_runtime.h:112: note: macro "__cudaLaunch" defined here
112 | #define __cudaLaunch(fun, isTileKernel) \
|
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:267: error: macro "__cudaLaunch" requires 2 arguments, but only 1 given
1 | #pragma GCC diagnostic push
| ^
In file included from /tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:8,
from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/usr/local/cuda-13.0/include/crt/host_runtime.h:112: note: macro "__cudaLaunch" defined here
112 | #define __cudaLaunch(fun, isTileKernel) \
|
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c: In function 'void __device_stub__Z23gpu_calc_initpop_kernelPfS_(float*, float*)':
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:18:174: error: '__cudaLaunch' was not declared in this scope
18 | oat *__par0, float *__par1){__cudaLaunchPrologue(2);__cudaSetupArgSimple(__par0, 0UL);__cudaSetupArgSimple(__par1, 8UL);__cudaLaunch(((char *)((void ( *)(float *, float *))gpu_calc_initpop_kernel)));}
| ^~~~~~~~~~~~
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c: In function 'void __device_stub__Z20gpu_sum_evals_kernelv()':
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:80: error: '__cudaLaunch' was not declared in this scope
1 | #pragma GCC diagnostic push
| ^
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c: In function 'void __device_stub__Z21gpu_perform_LS_kernelPfS_(float*, float*)':
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:180: error: '__cudaLaunch' was not declared in this scope
1 | #pragma GCC diagnostic push
| ^
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c: In function 'void __device_stub__Z31gpu_gen_and_eval_newpops_kernelPfS_S_S_(float*, float*, float*, float*)':
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:298: error: '__cudaLaunch' was not declared in this scope
1 | #pragma GCC diagnostic push
| ^
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c: In function 'void __device_stub__Z25gpu_gradient_minAD_kernelPfS_(float*, float*)':
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:184: error: '__cudaLaunch' was not declared in this scope
1 | #pragma GCC diagnostic push
| ^
In file included from tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c: In function 'void __device_stub__Z27gpu_gradient_minAdam_kernelPfS_(float*, float*)':
/tmp/tmpxft_000442a3_00000000-6_kernels.compute_120.cudafe1.stub.c:1:186: error: '__cudaLaunch' was not declared in this scope
1 | #pragma GCC diagnostic push
| ^
make: *** [Makefile.Cuda:189: kernels] 오류 1
I'm using Blackwell on Ubuntu 24.04 and installed cuda 13.0.
Then I tried to compile AutoDock-GPU as below:
Then I got the following error messages:
Any ideas?