mainSavannah Administration - Support: sr #108923, Code working with GSL 1.16 does...

 
 

sr #108923: Code working with GSL 1.16 does not work with GSL 2.0

Submitter:  Cyril <lock042>
Submitted:  Mon 09 Nov 2015 03:31:31 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Invalid
Privacy:  Public Assigned to:  oitofelix
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 15 Nov 2015 02:22:10 PM UTC, comment #1: 

Hello Cyril!

This is the support request tracker for the GNU Savannah site.  You
are probably looking for the bug tracker of the GNU Scientific
Library[0].  Good luck tracking down the issue! :-)


Footnotes:

[0] https://savannah.gnu.org/bugs/?group=gsl

Bruno FĂ©lix Rezende Ribeiro <oitofelix>
Mon 09 Nov 2015 03:31:31 PM UTC, original submission:  

Hello, I have a problem with my code.
Indeed, it is working very well with gs 1.16 but since I've tried with the new release, I have no warnings, no errors at compilation but the application crashes.

My code (you can read all the code at: https://free-astro.vinvin.tf/svn/siril/trunk/src/gradient.c (sorry for the bad certificat) is something like that:
J = gsl_matrix_alloc (n, VarParam);
y = gsl_vector_alloc (n);
w = gsl_vector_alloc (n);
c = gsl_vector_alloc (VarParam);
cov = gsl_matrix_alloc (VarParam, VarParam);
[...]
gsl_multifit_linear_workspace * work = gsl_multifit_linear_alloc (n, VarParam);
gsl_multifit_wlinear (J, w, y, c, cov, &chisq, work);
gsl_multifit_linear_free (work);
[...]

When I run the code I have:
gsl: multiwlinear.c:71: ERROR: size of workspace does not match size of observation matrix
Default GSL error handler invoked.

So, gdb shows that the bug is on the line 204, i.e,
gsl_multifit_wlinear (J, w, y, c, cov, &chisq, work);

I have no clue to explain where the problem come from. Could help me please ?

Best regards,

Cyril <lock042>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by oitofelix (Posted a comment)
  • -email is unavailable- added by lock042 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-15 oitofelix Assigned toNone oitofelix
        Open/ClosedOpen Closed
    2015-11-15 oitofelix StatusNone Invalid

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code