Hi PETSc developers,<br>I have installed PETSc and Cuda 3.2 on computer, and when I try to run a tutorial example for the nonlinear solvers<br> PETSC_DIR/src/snes/examples/tutorials/ex19.c <br><br>I get an error message in the mpiaijcuda mat type.<br>
<br>Any help?<br><br>Thanks,<br>Pablo.<br><br><br>=========================================================================================<br><br>$ ./ex19 -da_vec_type mpicuda -da_mat_type mpiaijcuda -pc_type none -dmmg_nlevels 1 -da_grid_x 100 -da_grid_y 100 -log_summary -mat_no_inode -preload off -cuda_synchronize<br>
[0]PETSC ERROR: --------------------- Error Message ------------------------------------<br>[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing external package needed for type<br> 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>!<br>
[0]PETSC ERROR: Unknown Mat type given: mpiaijcuda!<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>[0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 8, Thu Mar 17 13:37:48 CDT 2011<br>
[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>[0]PETSC ERROR: See docs/index.html for manual pages.<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: ./ex19 on a x86-64-op named mecom14 by arganap Thu Jun 16 15:04:23 2011<br>[0]PETSC ERROR: Libraries linked from /usr/local/petsc-201105O/lib<br>[0]PETSC ERROR: Configure run at Tue Jun 14 15:55:30 2011<br>
[0]PETSC ERROR: Configure options --prefix=/usr/local/petsc-201105O --with-petsc-arch=x86-64-opt --with-cuda=1 --with-cusp=1 --with-thrust=1 --doCleanup=0 --with-debugging=0<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: MatSetType() line 51 in src/mat/interface/matreg.c<br>[0]PETSC ERROR: DAGetMatrix() line 643 in src/dm/da/utils/fdda.c<br>[0]PETSC ERROR: DMGetMatrix() line 231 in src/dm/da/utils/dm.c<br>[0]PETSC ERROR: DMMGSetSNES() line 640 in src/snes/utils/damgsnes.c<br>
[0]PETSC ERROR: DMMGSetSNESLocal_Private() line 952 in src/snes/utils/damgsnes.c<br>[0]PETSC ERROR: main() line 140 in src/snes/examples/tutorials/ex19.c<br>application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0<br>
arganap@mecom14:~/PETSc/petsc-3.1-p8/src/snes/examples/tutorials$<br>===================================================================================<br>