Dear Petsc Developers, Hello. I am wondering whether I can multiply MATELEMENTAL and MATAIJ matrices. If I cannot multiply those, could you build the multiplication? Thank you.
Joon ----- Original Message ----- From: "Joon Hee Choi" <[email protected]> To: "Jack Poulson" <[email protected]> Cc: "PETSc users list" <[email protected]>, "dev" <[email protected]>, "Jed Brown" <[email protected]>, "Hong Zhang" <[email protected]>, "S V N Vishwanathan" <[email protected]> Sent: Monday, September 30, 2013 10:25:46 PM Subject: Re: [petsc-users] The product of two MPIDENSE matrices > 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" <[email protected]> 받는 사람: "Jed Brown" <[email protected]>, "Joon Hee Choi" <[email protected]>, "Hong Zhang" <[email protected]> 참조: "PETSc users list" <[email protected]>, "<[email protected]>" <[email protected]> 보낸 시간: 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 <[email protected]> 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
