SNES Problem
Barry Smith
bsmith at mcs.anl.gov
Thu Mar 16 13:27:19 CST 2006
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 at 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 at gmail.com
> MSN: schweingaard at hotmail.com
> Skype: schweingaard
> Mobil: +46-(0)70-3612178
>
>
More information about the petsc-users
mailing list