This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Siman!!!
- To: Francisco Frutos <frutos at linmpi dot mpg dot de>
- Subject: Re: Siman!!!
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Tue, 4 Jul 2000 19:21:12 +0100 (BST)
- Cc: gsl-discuss at sourceware dot cygnus dot com
- References: <Pine.SOL.3.94.1000704144235.9828B-100000@sun2>
- Reply-To: gsl-discuss at sourceware dot cygnus dot com
You need to be careful about memory allocation when using GSL.
I recommend compiling your program and the library with "checkergcc",
which automatically checks memory accesses for you. It is very useful.
Francisco Frutos writes:
>
> Hi!
>
> My code had an error. Now using
>
> gsl_siman_solve(r, x_init, Energy, Step, Metric, Print, M * N *
> sizeof(double), params);
>
> I get good values!
>
> I'm using gsl_multiroot in my program too und my program crashed most of
> the time if I use both subroutines??? Do the gsl_siman_solve need one
> "gsl_free" for the memory or something like that?
>
> Thanks in advance!
>
> Greetings from Katlenburg-Lindau!
>
> Tschuessele!
>
> Francisco
> Max Planck Institut fuer Aeronomie
>
>