[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] multimin errors
From: |
D D |
Subject: |
[Bug-gsl] multimin errors |
Date: |
Thu, 11 Nov 2010 09:30:24 -0700 |
I'm on a Mac (10.6.4) with gcc version 4.2.1 (from Xcode version 3.2.4).
Last year I was using multimin (gsl version 1.13) without any problems (on
an older version of the Mac OS). This year I updated my computer and
installed gsl 1.14.
There is a problem I'm encountering that appears to be due either a problem
with the gsl library or with the documentation (or, perhaps, with an
incompatibility with the updated Mac OS).
When I try to run the multimin code in the gsl documentation library (36.9)
for the Nelder-Mead Simplex algorithm, I get the same error each time.
First, if I just try to run the complete example code (with function my_f
provided in Section 36.4), I get an error based on the last printf statement
in the sample code:
example.c: In function ‘main’:
example.c:89: warning: format ‘%5d’ expects type ‘int’, but argument
2 has type ‘size_t’
I can trace the problem back to the call to gsl_multimin_fminimizer_set
gsl_multimin_fminimizer_set (s, &minex_func, x, ss);
(the file compiles and runs up to the call to this function). If I comment
out everything subsequent to this function, I get the following errors when
I try to run the code:
dyld: lazy symbol binding failed: Symbol not found: _cblas_daxpy
Referenced from: /usr/local/lib/libgsl.0.dylib
Expected in: flat namespace
dyld: Symbol not found: _cblas_daxpy
Referenced from: /usr/local/lib/libgsl.0.dylib
Expected in: flat namespace
This example (and the rest of my code) ran just fine last year under
gsl-1.13.
Thanks for any help you can provide!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gsl] multimin errors,
D D <=