I think I fixed it. On Mon, Jul 13, 2020 at 6:58 PM Mark Adams <[email protected]> wrote:
> I tried to add code to DMPlexts.c and am getting this error: > > https://gitlab.com/petsc/petsc/-/jobs/636828148 > > dmplexts.c:(.text+0x1a0f): undefined reference to > `DMPlexLandFormLandau_Internal' > 1648 <https://gitlab.com/petsc/petsc/-/jobs/636828148#L1648> > > with this code: > > PETSC_INTERN PetscErrorCode DMPlexLandFormLandau_Internal(Vec a_X, Mat > JacP, const PetscInt dim, void *a_ctx); > /*@ > DMPlexLandIFunction > @*/ > PetscErrorCode DMPlexLandIFunction(TS ts,PetscReal time_dummy,Vec X,Vec > X_t,Vec F,void *actx) > { > ..... > ierr = > DMPlexLandFormLandau_Internal(X,ctx->J,dim,(void*)ctx);CHKERRQ(ierr); > > I tried with EXTERN also. Any ideas? > Thanks, > Mark >
