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

fdkong fd.kong at siat.ac.cn
Tue Jun 19 01:17:59 CDT 2012


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?

>> (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
>> **
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120619/55c1f0f8/attachment.html>


More information about the petsc-users mailing list