<div class="gmail_quote">On Fri, Aug 17, 2012 at 9:40 AM, Michele Rosso <span dir="ltr"><<a href="mailto:mrosso@uci.edu" target="_blank">mrosso@uci.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">I want to build my application with 64 bit integer support <br>
because of the size of the problem I am working on.<br>
I compiled petsc with the optionĀ <tt><i>--with-64-bit-indices=1</i></tt>.<br>
In my Fortran code some petsc vectors are initialize by taking<br>
values from Fortran arrays. <br>
I used PetscInt indexes to reference both petsc and fortran vectors.<br>
It used to work with 32 bit indexes.<br>
Will it still be the case for the 64 bit case?</div></blockquote></div><br><div>As long as you use PetscInt for every integer that you pass to and from PETSc, it will work automatically.</div>