Hello,
I'm developing a finite element code in fortran 90. I recently updated my PETSc
and am now getting the following error during compile/linking on an existing
application:
Undefined symbols for architecture x86_64:
"_petscfecreatedefault_", referenced from:
_MAIN__ in fe_test.o
When I want "full precision" for debugging purposes I use
PetscViewerPushFormat(viewer,PETSC_VIEWER_ASCII_MATLAB);
> On May 30, 2017, at 2:14 AM, Franck Houssen wrote:
>
> Mainly for debugging purposes: controlling format/precision could be
> convenient !
>
> Franck
>
> ~> mpirun -n 5 .
Franck Houssen writes:
> Must I destroy the local matrix I have (created and) set with
> MatISSetLocalMat ?
The implementation references the local matrix so you need to destroy
your copy. This pattern is always used when setting sub-objects like
this.
static PetscErrorCode MatISSetLocalMat_
On Tue, May 30, 2017 at 2:21 AM, Franck Houssen
wrote:
> Must I destroy the local matrix I have (created and) set with
> MatISSetLocalMat ?
>
Yes.
Matt
> Franck
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any res
Must I destroy the local matrix I have (created and) set with MatISSetLocalMat
?
Franck
Mainly for debugging purposes: controlling format/precision could be convenient
!
Franck
~> mpirun -n 5 ./vecViewPrecision.exe
Vec Object: 5 MPI processes
type: mpi
Process [0]
0.
0.
Process [1]
1.23457e+06
-8.1e-07
Process [2]
2.46914e-06
-1.62e+06
Process [3]
3.7037e+06
-2.43e-06
Process [