Also, get rid of --download-txpetscgpu=1. That doesn't exist anymore. -Paul
On Thu, Aug 28, 2014 at 8:38 AM, Dominic Meiser <[email protected]> wrote: > Can you try configuring with > > --with-thrust-dir=/usr/local/cuda-6.0/include > > I.e. omit the 'thrust' at the end of the path. Probably you'll need the > same fix with cusp: > > --with-cusp-dir=/usr/local/cuda-6.0/include > > Cheers, > Dominic > > > On 08/28/2014 08:13 AM, Christophe Ortiz wrote: > >> Hi all, >> >> 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. >> >> Now I would like to test CUDA but I am unable to configure it. I get an >> error message related to thrust directory. >> >> The options I use to configure are the following: >> >> --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 >> >> The error message I get is: >> >> ============================================================ >> =================== >> Configuring PETSc to compile on your system >> ============================================================ >> =================== >> TESTING: checkInclude from config.headers(config/ >> BuildSystem/config/headers.py:86) ****************************** >> ************************************************* >> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for >> details): >> ------------------------------------------------------------ >> ------------------- >> --with-thrust-dir=/usr/local/cuda-6.0/include/thrust did not work >> ************************************************************ >> ******************* >> >> >> Did I miss something ? >> My GPU is a GeForce Titan Black and I am using CUDA 6.0. >> >> Many thanks in advance for your help. >> Christophe >> >> > > -- > Dominic Meiser > Tech-X Corporation > 5621 Arapahoe Avenue > Boulder, CO 80303 > USA > Telephone: 303-996-2036 > Fax: 303-448-7756 > www.txcorp.com > >
