Page 1 of 1

cuda components error of configure --with-components=cuda

PostPosted: Sun Jul 08, 2012 10:10 am
by taoyuan
I want to configure cuda components for papi,and I did the configure in following steps.
1)cd < latest-papi-version >/src/components/cuda
2)./configure --with-cuda_incdir=/usr/local/cuda/include --with-cupti_incdir=/usr/local/cuda/extras/CUPTI/include --with-cupti_libdir=/usr/local/cuda/extras/CUPTI/lib64
3)./configure --prefix=/usr/local --with-components=cuda

There is error for step 3)
configure: error: Component requires path to CUDA includes

Anyone help me?
Thanks a lot!

Re: cuda components error of configure --with-components=cud

PostPosted: Sun Jul 08, 2012 11:56 am
by jagode00
You see this error because you are running configure twice in src/components/cuda. However, the second configure has to be run from the src directory instead of the src/components/cuda directory. So, between your 2) and 3) step, you need to do "cd ../.." and then try your 3) step again.

Let me know.
thanks,
heike.

Re: cuda components error of configure --with-components=cud

PostPosted: Mon Jul 09, 2012 3:54 am
by taoyuan
I got the right result following your direction.

Thanks a lot!

Yuan Tao