question on Warning messages

Randall Mackie rlmackie862 at gmail.com
Tue Jun 10 17:23:21 CDT 2008


I was running my PETSc code with -info, and I noticed a bunch of
warnings that said:

Efficiency warning, copying array in XXXGetArray() due to alignment
differences between C and Fortran.

My code is written in Fortran, and these must be coming from all
the VecGetArray calls I make, but is this a serious issue and is
there some way to get proper alignment between C and Fortran?

Thanks, Randy




More information about the petsc-users mailing list