[petsc-users] The product of two MPIDENSE matrices

Jack Poulson poulson at stanford.edu
Mon Sep 30 18:59:22 CDT 2013


On 09/30/2013 12:26 PM, Jed Brown wrote:
> Jack Poulson <poulson at stanford.edu> writes:
>> It hasn't yet been rigorously tested, but support for 64-bit
>> integers should be possible by simply changing the typedefs for
>> elem::Int and elem::Unsigned from 'int' -> 'long long int' and
>> 'unsigned' to 'long long unsigned'. These are guaranteed to be
>> 64-bit by C++11.
> 
> Can you add a CMake configure option for these?  I'd rather 
> --download-elemental use an interface other than stream-editing
> headers.
> 

Done:
https://github.com/elemental/Elemental/commit/03d864e2a8ae01877194bbb572144568454f7d05
Configuring Elemental with the "-D USE_64BIT_INTS=ON" option will now
use 'long long' integers.

Also, the preceding commit essentially finished the Bunch-Kaufman support:
https://github.com/elemental/Elemental/commit/d2c79c6cfddab6c2ad9c84c49a0ee23b8fe27893

Jack


More information about the petsc-users mailing list