On Fri, Aug 8, 2008 at 12:09 AM, Shi Jin jinzishuai at yahoo.com wrote:
Hi there,
I was trying to build petsc-dev on a IBM AIX but failed at c2html. I tried
not to use it with --with-c2html=0 but it seemed still be needed. Why do we
need it? I don't need to generate documentations for this
Barry, after thinking a bit more, I believe I've found an approach
that is not so radical.
Why not to follow the approach for MatMFFD? That is, introduce a new
matrix type, instead of a brand new object type. Let me call this new
matrix type MATFACTOR. This new matrix type contains a hidden
This is just at hack to avoid so many changes in PETSc.
MatMFFD is truly a matrix (it has matrix vector product).
Barry
On Aug 8, 2008, at 8:23 AM, Lisandro Dalcin wrote:
Barry, after thinking a bit more, I believe I've found an approach
that is not so radical.
Why not to follow
Hi,
I try to use the VecPlaceArray/VecResetArray functions.
Unfortunately, the call to VecPlaceArray only work the firsdt time I do
it, even if I call VecResetArray before the next call...
the code looks like this:
VecPlaceArray(vec, myvec);
...
VecResetArray(vec);
VecPlaceArray(vec, myvec2);
This is an error on our part. We've never used the VecPlaceArray()
when working with vectors
with local representations. I will let you know when I have pushed
fixed code.
BTW: be careful when using the VecPlaceArray() in this case, you
should make sure that the
array is long
I managed to build a working c2html with playing with the compilers. However, I
do think it is a bug when --with-c2html=0 is set while it is still required.
Shi
--
Shi Jin, PhD
- Original Message
From: Barry Smith bsmith at mcs.anl.gov
To: petsc-dev at mcs.anl.gov
Sent: Friday,
I've pushed the fix. If you recompile in src/vec/vec/impls/mpi it
should go through.
Please let us know if you still have problems,
Barry
On Aug 8, 2008, at 4:03 PM, Eric Chamberland wrote:
Hi,
I try to use the VecPlaceArray/VecResetArray functions.
Unfortunately, the call