Changes between Version 1 and Version 2 of HintTricks


Ignore:
Timestamp:
Nov 18, 2006 3:00:17 PM (13 years ago)
Author:
rodrigo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HintTricks

    v1 v2  
    66
    77----
     8
     9
     10== Compiling Bonmin in Ubuntu with the Pardiso Linear Solver ==
     11
     12I had problems compiling Bonmin with Pardiso in my Ubuntu machine. After running
     13
     14{{{
     15$ ../configure -C --with-pardiso="/home/rush/lib/libpardiso_GNU_IA32.so"
     16}}}
     17
     18I got the following error
     19
     20{{{
     21checking whether user-supplied Pardiso library "/home/rush/lib/libpardiso_GNU_IA32.so" works... configure: error: Pardiso library /home/rush/lib/libpardiso_GNU_IA32.so does not seem to work
     22configure: error: /bin/bash '../../Ipopt/configure' failed for Ipopt
     23}}}
     24
     25But finally I've figured out how to get it to work. First, install the atlas3 packages which will install some required and optimized blas and lapack libraries. To do so, type (if you prefer apt-get, substitute aptitude with it)
     26
     27{{{
     28$  sudo aptitude install atlas3-base atlas3-sse atlas3-sse2 altas3-headers
     29}}}
     30
     31
     32Once installed, follow the instructions from the GettingStarted page, but use the following arguments for the configure script:
     33
     34{{{
     35$  ../configure -C --with-pardiso="$HOME/lib/libpardiso_GNU_IA32.so"    \
     36                   --with-blas="/usr/lib/atlas/sse2/libblas.so.3.0"     \
     37                   --with-lapack="/usr/lib/atlas/sse2/liblapack.so.3.0"
     38}}}
     39
     40That did it for me, and I hope it helps someone else too.
     41
     42Cheers,
     43   Rodrigo Lopez-Negrete