unresolved external symbol with matgetarrayf90/matrestorearrayf90

Satish Balay balay at mcs.anl.gov
Tue Nov 28 09:46:00 CST 2006


On Tue, 28 Nov 2006, Matthew Knepley wrote:

> 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.

Actually we have the f90 interface working with Compaqf90 [6.0 compiler]. Use
the additional configure option

--with-f90-interface=win32

Satish

> 
> > so in order to access the matrix, should i use matgetarray instead?
> 
> Yes.
> 
>   Matt
> 
> > 
> > thanks alot!
> 




More information about the petsc-users mailing list