<div>I have configured PETSc with &quot;<span class="Apple-style-span" style="font-family: monospace; white-space: pre; font-size: medium; ">--download-f-blas-lapack=1 --download-cuda=1 --download-cusp=1 --download-thrust=1&quot;</span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">I am unable to get the tutorial codes on petsc-dev to work on GPU&#39;s. </div>
<div><br></div><div>For e.g. in src/snes/examples/tutorials</div><div><span class="Apple-style-span" style="white-space: pre; font-family: &#39;Times New Roman&#39;; font-size: medium; "><br></span></div><div><span class="Apple-style-span" style="white-space: pre; font-family: &#39;Times New Roman&#39;; font-size: medium; ">./ex19 -pc_type jacobi -da_vec_type cusp -da_mat_type aijcusp</span></div>
<div><pre style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">I am getting the error message: &quot; <span class="Apple-style-span" style="font-family: monospace; ">Unknown vector type: cusp! &quot;</span></pre>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><pre><font class="Apple-style-span" size="3"><br></font></pre><pre><font class="Apple-style-span" size="3">Below is the complete error message. </font></pre>
<pre><font class="Apple-style-span" size="3"><br></font></pre><pre><font class="Apple-style-span" size="3">[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing external package needed for type
 seehttp://<a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/installation.html#external">www.mcs.anl.gov/petsc/petsc-as/documentation/installation.html#external</a>!
[0]PETSC ERROR: Unknown vector type: cusp!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development HG revision: unknown  HG Date: unknown
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: ./ex19 on a arch-linu named gpute-10 by gaurish.telang Thu Jul 21 13:10:22 2011
[0]PETSC ERROR: Libraries linked from /home/gaurish.telang/petsc-dev/petsc-dev/arch-linux2-c-debug/lib
[0]PETSC ERROR: Configure run at Thu Jul 21 12:48:29 2011
[0]PETSC ERROR: Configure options --download-f-blas-lapack=1 --download-cuda=1 --download-cusp=1 --download-thrust=1
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: VecSetType() line 45 in src/vec/vec/interface/vecreg.c
[0]PETSC ERROR: DMCreateGlobalVector_DA() line 35 in src/dm/impls/da/dadist.c
[0]PETSC ERROR: DMCreateGlobalVector() line 286 in src/dm/interface/dm.c
[0]PETSC ERROR: DMMGSetDM() line 258 in src/snes/utils/damg.c
[0]PETSC ERROR: main() line 113 in src/snes/examples/tutorials/ex19.c
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD 
with errorcode 86.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
------------------------------------------------------------------------</font></pre><pre style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><br></pre><pre style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">
<br></pre></div>