On Thu, 4 Aug 2011, Ping Rong wrote:

> Hello all,
> 
> I have developed a ksp solver, which is located in /src/ksp/ksp/impls/xxx. I
> used petsc-3.1.0-p8, when I changed the solver code, I updated petsc with
>         cd /src/ksp/ksp/impls/xxx
>         make ACTION=libfast
>         cd $PETSC-ROOT
>         make ranlib shared
> I have recently started using petsc-dev, which switches to cmake to compile
> the library.

If configure finds cmake - then 'make all' defaults to cmake build. Its
still possible to get the old build with:

make all-legacy

> By the above method, the compilation still went through, however,
> when I try to link my program to libpetsc.so, it gives errors of unresolved
> symbols. Is there a new way to partially update the library without running
> the whole compilation over?  any help would be appreciated!

With cmake build - you could do: [anywhere in petsc tree]

make cmake

Satish

Reply via email to