[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] fails running gsl_multimin_fdfminimizer_vector_bfgs2
From: |
Hani Neuvirth-Telem |
Subject: |
Re: [Bug-gsl] fails running gsl_multimin_fdfminimizer_vector_bfgs2 |
Date: |
Tue, 17 Jun 2008 20:21:27 +0300 |
Thanks for your answer.
Unfortunately, this does not explain the problem.
I use GSL version 1.11, on linux. Compiler info. below. An example program
is attached.
I compile it using:
g++ testGSLMin.cpp -I .../externalTools/GSL/installed/include/ -o
testGSLMin.exe -L .../externalTools/GSL/installed/lib/ -lgsl -lgslcblas
The output that I get is:
> ./testGSLMin.exe
./testGSLMin.exe: symbol lookup error: ./testGSLMin.exe: undefined symbol:
gsl_multimin_fdfminimizer_vector_bfgs2
Thank you,
Hani
> g++ -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
--------------------------------------
Hani Neuvirth-Telem
Machine Learning Group
IBM Research Lab, Israel
Phone: 972-3-7689-404
E-mail: address@hidden
Brian Gough <address@hidden>
17/06/2008 17:22
Please respond to
address@hidden
To
Hani Neuvirth-Telem/Haifa/address@hidden
cc
address@hidden
Subject
Re: [Bug-gsl] fails running gsl_multimin_fdfminimizer_vector_bfgs2
At Sun, 15 Jun 2008 10:17:11 +0300,
Hani Neuvirth-Telem wrote:
> I tried to test the optimization code that you provide in the
> multimin documentation. When I replace the algorithm (by setting
> T), to gsl_multimin_fdfminimizer_vector_bfgs2, the code compiles,
> but the executable fails running with the following error:
>
> ./testGSLMin.exe: symbol lookup error: ./testGSLMin.exe: undefined
> symbol: gsl_multimin_fdfminimizer_vector_bfgs2
>
> (This small modification works with any other algorithm) How should
> I fix this?
This method was added in version 1.9. If you use a version older than
that it won't exist. If this doesn't explain the problem, please send
a complete example program with details of your compiler, operating
system and version of GSL, thanks.
--
Brian Gough
testGSLMin.cpp
Description: Binary data