unresolved external symbol with matgetarrayf90/matrestorearrayf90
Matthew Knepley
knepley at gmail.com
Tue Nov 28 07:15:25 CST 2006
On 11/28/06, Ben Tay <zonexo at gmail.com> wrote:
> hi,
>
> I'm using win xp with visual fortran and visual c++. i had compiled in
> cygwin w/o any problems and most examples worked. however ex16f90 in the mat
> directory gave the error of unresolved external symbol with
> matgetarrayf90/matrestorearrayf90 when i tried to compile
> in cygwin.
>
> it's stated in the documentation that these subroutine only works with
> certain f90 compiler. does it mean it doesn't work with visual fortran?
Yes, these routines can only work if we now the array descriptor format. Compaq
keeps this a secret.
> so in order to access the matrix, should i use matgetarray instead?
Yes.
Matt
>
> thanks alot!
--
"Failure has a thousand explanations. Success doesn't need one" -- Sir
Alec Guiness
More information about the petsc-users
mailing list