On Fri, Aug 17, 2012 at 10:12 AM, Michele Rosso <span dir="ltr"><<a href="mailto:mrosso@uci.edu" target="_blank">mrosso@uci.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Ubuntu">Thank you.<br>
Does this mean that Fortran compiler invoked by the PETSc Makefile
will<br>
compile to code with the 64 bit integer option so that also
Fortran Integer will be 64 bit?<br></font></div></blockquote><div><br></div><div>Yes</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><font face="Ubuntu">
Michele<br>
<br>
</font>
<div>On 08/17/2012 07:43 AM, Jed Brown
wrote:<br>
</div>
<blockquote type="cite">
<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>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>