[petsc-users] Error in VecGetArrayF90 and MatGetArrayF90

Jed Brown jed at 59A2.org
Fri Jun 17 05:00:26 CDT 2011


On Fri, Jun 17, 2011 at 11:42, Alexander Grayver <agrayver at gfz-potsdam.de>wrote:

> Hello!
>
> I use petsc-3.1.7 on Windows x64 and Intel Fortran Compiler 10.1.
> Whenever I call VecGetArrayF90/MatGetArrayF90 it crashes.
>

Hmm, maybe Intel Fortran has a different ABI for pointer parameters on
64-bit Windows.

Does this examples also crash?

src/vec/vec/examples/tutorials/ex4f90.F

If this doesn't work, then someone will need to learn what the ABI is so
that the F90 wrappers work.

How about this one (using F77 arrays)?

src/mat/examples/tests/ex36f.F

As a short-term solution, perhaps you can use this API?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110617/24b078a5/attachment.htm>


More information about the petsc-users mailing list