[petsc-users] Can c++ SieveMesh support 64-bit?

Matthew Knepley knepley at gmail.com
Tue Jun 19 08:50:41 CDT 2012


On Tue, Jun 19, 2012 at 12:17 AM, fdkong <fd.kong at siat.ac.cn> wrote:

> Hi Matt,
>
> Thank you for your help!
>
> **>On Mon, Jun 18, 2012 at 7:04 PM, fdkong <fd.kong at siat.ac.cn> wrote:
>
> >> Hi Mat,
> >>
> >> I have been developing some codes based-on c++ sievemesh (your old
> version
> >> code). I want to know the following questions:
> >>
> >> (1) You have added a new c sievemesh. Will the old c++ version be remove
> >> in future?
> >>
>
> >Yes, but not soon. However, I recommend making a plan for >switching,
> since
> >you get so many benefits
> >including much better solver integration. Take a look at SNES ex62.
>
> The c++ version is very different from c version. All of my codes have
> been built on the top of c++ version. I directly use inner object
> ALE::IMesh<PetscInt, PetscScalar>. Thus, switching to C version may be
> difficult. Could you give me some suggestions  how to transfer my code from
> c++ to c?
>

Hopefully its not that hard. The interface is the same. Maybe you could ask
me questions if you encounter a problem.

   Matt


> >> (2) Have you ever made some tests on 64-bit computer? Whether c++
> >> sieveMesh can run on 64-bit computer? I want to use 64-bit integer.
> >>
>
> ****>It will work on a 64-bit computer. Both version use PetscInt.
>
> ****Thank you, I will make some tests on 64-bit computer.
>
> **
> ** >  Matt
>
>
> >> Regards,
> >> **
> >> ------------------
> >> Fande Kong
> >> ShenZhen Institutes of Advanced Technology
> >> Chinese Academy of Sciences
> >> **
>
> **
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120619/4560053c/attachment.html>


More information about the petsc-users mailing list