Message6686

Author florian
Recipients florian, jendrik, malte
Date 2017-12-02.13:25:47
Content
There was a small error in msg6683: The option is called "--with-soplex-incdir"
not "--with-soplex-inc-dir".


For the record, here is how I installed osi with cplex/soplex support on the
grid it required a few extra hoops to jump through with loading the correct
modules and configuring OSI to work with them:

module purge
module load GCC/5.4.0-2.26.lua
module load CMake/3.4.3-foss-2016b.lua 
module load GMP/6.1.0-intel-2017.01.lua

# set in .zshrc
export DOWNWARD_COIN_ROOT64=~/local/opt/coin-0.107.9-64-cplex1251-soplex301
export
DOWNWARD_CPLEX_ROOT64=~/local/opt/ibm/ILOG/CPLEX_Enterprise_Server1251/CPLEX_Studio/cplex
export DOWNWARD_SOPLEX_ROOT64=~/local/opt/soplex-3.0.1-64

tar xvf soplex-3.0.1.tgz
cd soplex-3.0.1
mkdir build64
cd build64
cmake -DCMAKE_INSTALL_PREFIX="$DOWNWARD_SOPLEX_ROOT64" -DGMP_DIR="$EBROOTGMP" ..
make -j20
make install
cd ../..

wget http://www.coin-or.org/download/source/Osi/Osi-0.107.9.tgz
tar xvf Osi-0.107.9.tgz
cd Osi-0.107.9
./configure CC="gcc"  CFLAGS="-m64 -pthread -Wno-long-long" \
            CXX="g++" \
            CXXFLAGS="-m64 -pthread -Wno-long-long \
                      -DTHREADLOCAL='' \
                      -D__STDC_CONSTANT_MACROS \
                      -D__STDC_LIMIT_MACROS" \
            LDFLAGS="-L$DOWNWARD_CPLEX_ROOT64/lib/x86-64_sles10_4.1/static_pic \
                     -L$DOWNWARD_SOPLEX_ROOT64/lib" \
            --without-lapack --enable-static=yes \
            --prefix="$DOWNWARD_COIN_ROOT64" \
            --with-cplex-incdir=$DOWNWARD_CPLEX_ROOT64/include/ilcplex \
            --with-cplex-lib="-lcplex -lm" \
            --with-soplex-incdir=$DOWNWARD_SOPLEX_ROOT64/include \
            --with-soplex-lib=-lsoplex 
make -j20
make install

# Repeat OSI installation with these variables for CPLEX 12.7.1 (change
x86-64_sles10_4.1 to x86-64_linux)
export DOWNWARD_COIN_ROOT64=~/local/opt/coin-0.107.9-64-cplex1271-soplex301
export DOWNWARD_CPLEX_ROOT64=~/local/opt/cplex-12.7.1-64/cplex
History
Date User Action Args
2017-12-02 13:25:47floriansetmessageid: <1512217547.42.0.396590344784.issue752@unibas.ch>
2017-12-02 13:25:47floriansetrecipients: + florian, malte, jendrik
2017-12-02 13:25:47florianlinkissue752 messages
2017-12-02 13:25:47floriancreate