Is there a way to configure PETSc to build with nvcc CUDA support, but without the CUSP flags being set? I'd like to set up PETSc independent of any CUSP flags or MACROs.<br><br>Default, any configuration settings require you specify CUSP and THRUST support.<br>
<br>Here is my current configuration file:<br><br>CFLG="--CFLAGS=-O2 -fopenmp -msse2 -mfpmath=sse -g -ggdb"<br>FFLG="--FFLAGS=-O2 -fopenmp -g"<br>WCC="--with-cc=gcc"<br>MPI_DIR="--with-mpi-dir=$MPICH2_HOME"<br>
WBL="--with-blas-lapack-dir=$INTEL_MKL"<br>LAD="--download-c-blas-lapack=yes --download-f-blas-lapack=yes"<br>HYP="--download-hypre=1"<br>HDF="--with-hdf5=1 --download-hdf5=1"<br>CUD="--with-cuda-dir=/soft/cuda-4.0/cuda"<br>
USP="--with-thrust-dir=/soft/cuda-4.0/cuda/include --with-cusp-dir=/soft/cuda-4.0/cuda/include"<br><br><br>./config/configure.py $MPI_DIR $LAD $CFLG $FFLG $HYP $HDF $CUD \<br>--with-cudac="nvcc -m64" \<br>
--with-precision=double \<br>--with-clanguage=c \<br>--with-cuda-arch=sm_20 \<br>PETSC_ARCH=structgrid_cuda<br><br><br><br>Note my USP flag is not included in the configuration invocation.<br><br><br><br>Thanks,<br><br>Daniel Lowell<br>