[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SNES Problem



  Nisse,

    Just list it in your makefile with all your other object
files (that come from Fortran). Send the output if this fails.

   Barry


On Thu, 16 Mar 2006, Nils Erik Svangård wrote:

I havent managed to get rk.c compiled with changes. how do I compile
it in my working directory to get a object file. I just realised that
I probably forgot to link it against $TSLIB but should I need to that
when I dont do any linking, the linking is done when linking the
fortran and the c code?
Or what am I doing wrong (I not that good with C++ and linking).
/nisse

On 3/15/06, Barry Smith <bsmith@mcs.anl.gov> wrote:
   Both


On Wed, 15 Mar 2006, Nils Erik Svangård wrote:

   Sorry, I forgot. Is the linear solver converging? If not, then that
is the problem? Use a tolerance like -ksp_rtol 1.e-10 and see if the
nonlinear solver converges.

I'll try that when I have access to the code. I havent checked if the
linear solver converges is thera a -kspmonitor or -kspconvergedreason
I should use?

/nisse




--
Nils-Erik Svangård
E-Mail: nilserik@gmail.com
MSN: schweingaard@hotmail.com
Skype: schweingaard
Mobil: +46-(0)70-3612178