My apologies below is the error message:

[0]PETSC ERROR: --------------------- Error Message 
------------------------------------
[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: MatMatMult not supported for B of type mpidense!
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.4.2, Jul, 02, 2013 
[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: ./nemo on a linux-static named conte-fe02.rcac.purdue.edu by 
charlesj Fri Oct 18 10:19:40 2013
[0]PETSC ERROR: Libraries linked from 
/apps/rhel6/petsc-3.4.2/impi-4.1.0.030_intel-13.1.1.163/linux-static/lib
[0]PETSC ERROR: Configure run at Wed Aug  7 16:14:36 2013
[0]PETSC ERROR: Configure options --with-cc=mpiicc --with-cxx=mpiicpc 
--with-fc=mpiifort --download-sowing --with-scalar-type=complex 
--with-shared-libraries=0 --with-pic=1 --with-clanguage=C++ --with-fortran=1 
--with-fortran-kernels=0 --with-debugging=1 
--with-blas-lapack-dir=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64 
--with-blacs-lib=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so
 --with-blacs-include=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/include 
--with-scalapack-lib="-L/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64
 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" 
--with-scalapack-include=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/include 
--COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --FOPTFLAGS=-O3 --download-hdf5=yes 
--download-metis=yes --download-parmetis=yes --download-superlu_dist=yes 
--download-mumps=yes --download-hypre=no --download-spooles=yes
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: MatMatMult() line 8582 in 
/apps/rhel6/petsc-3.4.2/impi-4.1.0.030_intel-13.1.1.163/src/mat/interface/matrix.c
[0]PETSC ERROR: --------------------- Error Message 
------------------------------------
[0]PETSC ERROR: Invalid argument!
[0]PETSC ERROR: Wrong type of object: Parameter # 1!
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.4.2, Jul, 02, 2013 
[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: ./nemo on a linux-static named conte-fe02.rcac.purdue.edu by 
charlesj Fri Oct 18 10:19:40 2013
[0]PETSC ERROR: Libraries linked from 
/apps/rhel6/petsc-3.4.2/impi-4.1.0.030_intel-13.1.1.163/linux-static/lib
[0]PETSC ERROR: Configure run at Wed Aug  7 16:14:36 2013
[0]PETSC ERROR: Configure options --with-cc=mpiicc --with-cxx=mpiicpc 
--with-fc=mpiifort --download-sowing --with-scalar-type=complex 
--with-shared-libraries=0 --with-pic=1 --with-clanguage=C++ --with-fortran=1 
--with-fortran-kernels=0 --with-debugging=1 
--with-blas-lapack-dir=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64 
--with-blacs-lib=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so
 --with-blacs-include=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/include 
--with-scalapack-lib="-L/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64
 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" 
--with-scalapack-include=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/include 
--COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --FOPTFLAGS=-O3 --download-hdf5=yes 
--download-metis=yes --download-parmetis=yes --download-superlu_dist=yes 
--download-mumps=yes --download-hypre=no --download-spooles=yes
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: MatGetType() line 100 in 
/apps/rhel6/petsc-3.4.2/impi-4.1.0.030_intel-13.1.1.163/src/mat/interface/matreg.c
[0]PETSC ERROR: --------------------- Error Message 
------------------------------------
[0]PETSC ERROR: Invalid argument!
[0]PETSC ERROR: Wrong type of object: Parameter # 1!
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.4.2, Jul, 02, 2013 
[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: ./nemo on a linux-static named conte-fe02.rcac.purdue.edu by 
charlesj Fri Oct 18 10:19:40 2013
[0]PETSC ERROR: Libraries linked from 
/apps/rhel6/petsc-3.4.2/impi-4.1.0.030_intel-13.1.1.163/linux-static/lib
[0]PETSC ERROR: Configure run at Wed Aug  7 16:14:36 2013
[0]PETSC ERROR: Configure options --with-cc=mpiicc --with-cxx=mpiicpc 
--with-fc=mpiifort --download-sowing --with-scalar-type=complex 
--with-shared-libraries=0 --with-pic=1 --with-clanguage=C++ --with-fortran=1 
--with-fortran-kernels=0 --with-debugging=1 
--with-blas-lapack-dir=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64 
--with-blacs-lib=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so
 --with-blacs-include=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/include 
--with-scalapack-lib="-L/apps/rhel6/intel/composer_xe_2013.3.163/mkl/lib/intel64
 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" 
--with-scalapack-include=/apps/rhel6/intel/composer_xe_2013.3.163/mkl/include 
--COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --FOPTFLAGS=-O3 --download-hdf5=yes 
--download-metis=yes --download-parmetis=yes --download-superlu_dist=yes 
--download-mumps=yes --download-hypre=no --download-spooles=yes
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: MatGetOwnershipRange() line 6062 in 
/apps/rhel6/petsc-3.4.2/impi-4.1.0.030_intel-13.1.1.163/src/mat/interface/matrix.c
terminate called after throwing an instance of 'n5_runtime_error'
  what():  [PetscMatrixNemo<cplx>] PETSc gave error with code 62:
    Invalid argument
    .
APPLICATION TERMINATED WITH THE EXIT STRING: Aborted (signal 6)


Thanks,
James
----- Original Message -----
From: "Jed Brown" <[email protected]>
To: "James A Charles" <[email protected]>, "Matthew Knepley" 
<[email protected]>
Cc: [email protected]
Sent: Friday, October 18, 2013 1:42:04 PM
Subject: Re: [petsc-users] Dense Matrix setting local rows / local columns 
Question

James A Charles <[email protected]> writes:

> Thank you all for the responses. I was able to figure out the issue
> with the dense matrix. I had another question related to dense
> matrices. Does there exist support for multiplication of a sparse A
> and dense B matrix matrix multiplication in parallel? I'm using Petsc
> Release Version 3.4.2 and I am getting an error "No support for this
> operation for this object type! MatMatMult not supported for B of type
> mpidense" 

It should be supported.  Please send the entire error message.  (Always
send the entire error message.)

Reply via email to