[Ipopt] Build with WSMP Succeeds, Test Fails
Tony Kelman
kelman at berkeley.edu
Mon Oct 29 07:39:39 EDT 2012
I hadn't tried using WSMP on OS X until just now. I do get the same problem,
it's probably due to Ipopt building shared libraries by default but WSMP is
distributed as a static lib. Try configuring Ipopt with the
flags --disable-shared --enable-static, that at least eliminated the dyld
error for me. Make sure to set the environment variable WSMPLICPATH to the
path to wsmp.lic. The Mac license file included in what I just downloaded is
apparently expired. If you have that same problem, you'll probably want to
contact the WSMP authors at wsmp at us.ibm.com.
-Tony
-----Original Message-----
From: digitalriptide <digitalriptide at gmail.com>
Date: Sat, 27 Oct 2012 01:48:45 -0400
To: ipopt at list.coin-or.org
Subject: [Ipopt] Build with WSMP Succeeds, Test Fails
On OS X using WSMP, I've configured an Ipopt build with:
../configure CXX=g++-mp-4.6 CC=gcc-mp-4.6 F77=gfortran-mp-4.6
--with-blas="-framework accelerate" --with-wsmp="$PATH_TO_WSMP/libwsmp64.a"
($PATH_TO_WSMP is a really long path) and see
...
checking whether user-supplied WSMP library "$PATH_TO_WSMP/libwsmp64.a
-lpthread" works... yes
...
configure: Main configuration of Ipopt successful
Great! I then build running make, and everything looks ok. Running make
test, however, I receive the following errors when the test executables are
launched:
dyld: lazy symbol binding failed: Symbol not found: _wsetmaxthrds_
Has anyone seen this problem before?
Thanks!
More information about the Ipopt
mailing list