On 6/17/07, Tim Stitt timothy.stitt at ichec.ie wrote:
Hi All,
Currently I am using MatCreateMPIAIJ to create a distributed sparse matrix for
use in my parallel sparse eigensolver. If I understand things correctly, it
is important to specify the correct pre-allocation values for (o_nz,d_nz)
Tim,
It is possible the macros MatPreallocateInitialize(), ... in petscmat.h
are exactly what you need.
Barry
Take a look at DAGetMatrix2d_MPIAIJ() in src/dm/da/utils/fdda.c for
an example of how they can be used.
On Sun, 17 Jun 2007, Tim Stitt wrote:
Hi All,
Currently I am
Thanks for that Matt...will check it out.
Incidentally, I need to pass a 64-bit integer to MatCreateMPIAIJ. Do I need to
rebuild PETSc using a 64-bit integer option switch?
Tim.
On Sunday 17 June 2007 17:07, Matthew Knepley wrote:
On 6/17/07, Tim Stitt timothy.stitt at ichec.ie wrote:
Hi
If your problem is so big that you need integers that represent numbers
more than about 2 billion then yes you will need to rebuild PETSc.
Barry
You'll be the first PETSc user who solves a problem with more than
2 billion unknowns.
On Sun, 17 Jun 2007, Tim Stitt wrote:
Thanks for that
Actually my sparse matrix has 2^32 rows and columns hence the global row and
column arguments need to be 64-bit.
On Sunday 17 June 2007 17:36, Barry Smith wrote:
If your problem is so big that you need integers that represent numbers
more than about 2 billion then yes you will need to
Matt,
We are investigating 32-qubit fault-tolerant quantum computation which results
in 2^32 basis states and hence our large Hamiltonian matrix.
I just ran into problems passing 2^32 in as the global row an column argument
so I assumed I need to rebuild PETSc to accept 64-bit integers.
Tim.
Cheers...perfect.
On Sunday 17 June 2007 18:16, Matthew Knepley wrote:
On 6/17/07, Tim Stitt timothy.stitt at ichec.ie wrote:
Matt,
We are investigating 32-qubit fault-tolerant quantum computation which
results in 2^32 basis states and hence our large Hamiltonian matrix.
I just ran
Matt,
Also at the end of the configure I get the following error:
characteristic.c:253: error: conflicting types for
`CharacteristicSetVelocityInterpolation'
/ichec/home/staff/tstitt/builds/petsc/src/contrib/semiLagrange/characteristic.h:47:
error: previous declaration of