<div dir="ltr">Hi all,
<div><br></div><div>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.</div><div><br></div><div>Now I would like to test CUDA but I am unable to configure it. I get an error message related to thrust directory.</div>
<div><br></div><div>The options I use to configure are the following:</div><div><br></div><div>--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/cuda-6.0 --with-cuda-arch=sm_35 --with-cudac=/usr/local/cuda/bin/nvcc --with-thrust=1 --with-thrust-dir=/usr/local/cuda-6.0/include/thrust --with-cusp=1 --with-cusp-dir=/usr/local/cuda-6.0/include/cusp --download-txpetscgpu=1 --with-debugging=1 --with-scalar-type=real --with-precision=double --download-f-blas-lapack<br>
</div><div><br></div><div>The error message I get is:</div><div><br></div><div><div>===============================================================================</div><div> Configuring PETSc to compile on your system </div>
<div>===============================================================================</div><div>TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) *******************************************************************************</div>
<div> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</div><div>-------------------------------------------------------------------------------</div><div>--with-thrust-dir=/usr/local/cuda-6.0/include/thrust did not work</div>
<div>*******************************************************************************</div></div><div><br></div><div><br></div><div>Did I miss something ?</div><div>My GPU is a GeForce Titan Black and I am using CUDA 6.0.</div>
<div><br></div><div>Many thanks in advance for your help.</div><div>Christophe</div><div><br></div></div>