<div dir="ltr">Also, get rid of --download-txpetscgpu=1. That doesn't exist anymore. <div>-Paul</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 28, 2014 at 8:38 AM, Dominic Meiser <span dir="ltr"><<a href="mailto:dmeiser@txcorp.com" target="_blank">dmeiser@txcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you try configuring with<br>
<br>
--with-thrust-dir=/usr/local/<u></u>cuda-6.0/include<br>
<br>
I.e. omit the 'thrust' at the end of the path. Probably you'll need the same fix with cusp:<br>
<br>
--with-cusp-dir=/usr/local/<u></u>cuda-6.0/include<br>
<br>
Cheers,<br>
Dominic<div class="HOEnZb"><div class="h5"><br>
<br>
On 08/28/2014 08:13 AM, Christophe Ortiz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have implemented a problem of coupled diffusion equations in 1D using PETSc. I was able to configure PETSC with and without MPI. The code runs well in both cases.<br>
<br>
Now I would like to test CUDA but I am unable to configure it. I get an error message related to thrust directory.<br>
<br>
The options I use to configure are the following:<br>
<br>
--with-x=1 --with-mpi=0 --with-cc=icc --with-cxx=icpc --with-clanguage=cxx --with-fc=ifort --with-cuda=1 --with-cuda-dir=/usr/local/<u></u>cuda-6.0 --with-cuda-arch=sm_35 --with-cudac=/usr/local/cuda/<u></u>bin/nvcc --with-thrust=1 --with-thrust-dir=/usr/local/<u></u>cuda-6.0/include/thrust --with-cusp=1 --with-cusp-dir=/usr/local/<u></u>cuda-6.0/include/cusp --download-txpetscgpu=1 --with-debugging=1 --with-scalar-type=real --with-precision=double --download-f-blas-lapack<br>

<br>
The error message I get is:<br>
<br>
==============================<u></u>==============================<u></u>===================<br>
             Configuring PETSc to compile on your system<br>
==============================<u></u>==============================<u></u>===================<br>
TESTING: checkInclude from config.headers(config/<u></u>BuildSystem/config/headers.py:<u></u>86) ******************************<u></u>******************************<u></u>*******************<br>
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>
------------------------------<u></u>------------------------------<u></u>-------------------<br>
--with-thrust-dir=/usr/local/<u></u>cuda-6.0/include/thrust did not work<br>
******************************<u></u>******************************<u></u>*******************<br>
<br>
<br>
Did I miss something ?<br>
My GPU is a GeForce Titan Black and I am using CUDA 6.0.<br>
<br>
Many thanks in advance for your help.<br>
Christophe<br>
<br>
</blockquote>
<br>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Dominic Meiser<br>
Tech-X Corporation<br>
5621 Arapahoe Avenue<br>
Boulder, CO 80303<br>
USA<br>
Telephone: <a href="tel:303-996-2036" value="+13039962036" target="_blank">303-996-2036</a><br>
Fax: <a href="tel:303-448-7756" value="+13034487756" target="_blank">303-448-7756</a><br>
<a href="http://www.txcorp.com" target="_blank">www.txcorp.com</a><br>
<br>
</font></span></blockquote></div><br></div>