[CppAD] tests with ADOLC

Rishi Amrit rishiamrit at gmail.com
Wed Sep 5 18:11:50 EDT 2012


Hi,

  I followed the instructions on the install page and tried to make the
tests. This is what I get:

g++ -O2 -DNDEBUG -DSPEED_ADOLC   -L../src -L/opt/adolc/221/adolc_base/lib
-L/opt/adolc/221/adolc_base/lib64  -o adolc alloc_mat.o main.o det_lu.o
det_minor.o mat_mul.o ode.o poly.o sparse_hessian.o sparse_jacobian.o
-lspeed -ladolc
make[2]: Leaving directory `/opt/cppad/2012/speed/adolc'
./adolc correct 123
./adolc: error while loading shared libraries: libadolc.so.1: cannot open
shared object file: No such file or directory
make[1]: *** [test] Error 127
make[1]: Leaving directory `/opt/cppad/2012/speed/adolc'
make: *** [test] Error 2


Its not finding adolc library file in the location, even though it is there:

/opt/cppad/2012$ ls /opt/adolc/221/adolc_base/lib64
libadolc.a  libadolc.la  libadolc.so  libadolc.so.1  libadolc.so.1.1.1

Any help would be appreciated.

Thanks,

Kind regards,
R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cppad/attachments/20120905/ce296d60/attachment.html>


More information about the CppAD mailing list