Is c2html a required external package?

2008-08-08 Thread Matthew Knepley
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

New approach for external direct solvers in PETSc

2008-08-08 Thread Lisandro Dalcin
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

New approach for external direct solvers in PETSc

2008-08-08 Thread Barry Smith
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

Problem with VecPlaceArray_MPI VecResetArray

2008-08-08 Thread Eric Chamberland
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);

Problem with VecPlaceArray_MPI VecResetArray

2008-08-08 Thread Barry Smith
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

Is c2html a required external package?

2008-08-08 Thread Shi Jin
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,

Problem with VecPlaceArray_MPI VecResetArray

2008-08-08 Thread Barry Smith
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