<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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>
<br>
Michele<br>
<br>
</font>
<div class="moz-cite-prefix">On 08/17/2012 07:43 AM, Jed Brown
wrote:<br>
</div>
<blockquote
cite="mid:CAM9tzSmnf_YT2=nkUmAZtxOT7KvnumgobJoe2ZZDKiDv9Riq9Q@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Fri, Aug 17, 2012 at 9:40 AM, Michele
Rosso <span dir="ltr"><<a moz-do-not-send="true"
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>
</body>
</html>