[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot use PETSC_DEFAULT in MatMatMult
In Fortran you must use PETSC_DEFAULT_DOUBLE_PRECISION.
I'll make sure this is may clear in the docs
Barry
There is also a PETSC_DEFAULT_INTEGER for Fortran
On May 8, 2008, at 1:58 PM, Waad Subber wrote:
Hi,
I am trying to multiply to spares matrices. I am using PETSC_DEFAULT
for the fill ratio; however, I cannot compile the code I get the
following error message :
Error: master.F, line 55: This name does not have a type, and must
have an explicit type. [PETSC_DEFAULT]
call MatMatMult(A,B,MAT_REUSE_MATRIX,PETSC_DEFAULT,C,ierr)
----------------------------------------------------------^
compilation aborted for master.F (code 1)
Thanks
Waad
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
Try it now.