[petsc-users] Trouble with running code on GPU's

Gaurish Telang gaurish108 at gmail.com
Thu Jul 21 12:27:24 CDT 2011


I have configured PETSc with "--download-f-blas-lapack=1 --download-cuda=1
--download-cusp=1 --download-thrust=1"

I am unable to get the tutorial codes on petsc-dev to work on GPU's.

For e.g. in src/snes/examples/tutorials

./ex19 -pc_type jacobi -da_vec_type cusp -da_mat_type aijcusp

I am getting the error message: " Unknown vector type: cusp! "


Below is the complete error message.


[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing
external package needed for type
 seehttp://www.mcs.anl.gov/petsc/petsc-as/documentation/installation.html#external!
[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.
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110721/56ab1513/attachment.htm>


More information about the petsc-users mailing list