On 17.06.2011 12:00, Jed Brown wrote: > On Fri, Jun 17, 2011 at 11:42, Alexander Grayver > <agrayver at gfz-potsdam.de <mailto: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.
What is ABI? > > 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 Both examples work without crashing. Pretty weird... I can tell more. I found place in my code, just different fortran module, where VecGetArrayF90 works both on seq and mpi vectors. > > As a short-term solution, perhaps you can use this API? > What API do you mean exactly? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110617/b3fb8c5d/attachment.htm>
