[petsc-users] The product of two MPIDENSE matrices
Joon Hee Choi
choi240 at purdue.edu
Mon Sep 30 21:25:46 CDT 2013
Dear all,
I tried to compile elemental with 64 bit support by modifying the PETSc build script (see attached elemental.py). I modified the typedefs in Elemental and pointed the build script to a location on my home page. I also needed to add -std=c++11 to the CMake arguments lists. This allows Elemental to be built without errors. However, the PETSc build fails with a strange configuration error, which seems to be related to C++11. Note that I have included --CXXFLAGS="-std=c++11" in the configure options to PETSc.
The configure.log file can be downloaded from
http://www.stat.purdue.edu/~vishy/configure.log
any advice on how to workaround this issue is greatly appreciated.
thanks
----- 원래 메시지 -----
보낸 사람: "Jack Poulson" <poulson at stanford.edu>
받는 사람: "Jed Brown" <jedbrown at mcs.anl.gov>, "Joon Hee Choi" <choi240 at purdue.edu>, "Hong Zhang" <hzhang at mcs.anl.gov>
참조: "PETSc users list" <petsc-users at mcs.anl.gov>, "<dev at libelemental.org>" <dev at libelemental.org>
보낸 시간: 2013년 9월 30일, 월요일 오후 7:59:22
제목: Re: [petsc-users] The product of two MPIDENSE matrices
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elemental.py
Type: text/x-python
Size: 3926 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130930/77147e48/attachment.py>
More information about the petsc-users
mailing list