python - linking ipopt against openblas -
currently, trying build ipopt linking against openblas. downloaded openblas source , did make
in parent directory.
the configure
script of ipopt has several options link against blas:
i tried ./configure --with-blas="-l/home/moritz/build/coinipopt_test/thirdparty/openblas-0.2.14/libopenblas.so"
but error
checking whether user supplied blaslib="-l/home/moritz/build/coinipopt_test/thirdparty/openblas-0.2.14/libopenblas.so" works... no configure: error: user supplied blas library "-l/home/moritz/build/coinipopt_test/thirdparty/openblas-0.2.14/libopenblas.so" not work
any tips how achieve want ? finally, make conda package. have installed openblas anaconda. same error message if link against installed libopenblas.so
managed work. had install openblas directory of choice by
make install prefix=/home/....../
aferwards compiled ipopt using
./configure --with-blas-incdir="-l/home/.../openblas/include/" --with-blas-lib="-l/home/.../openblas/lib/"
Comments
Post a Comment