Changeset 1214 for ThirdParty/FilterSQP


Ignore:
Timestamp:
Nov 6, 2008 9:49:00 AM (11 years ago)
Author:
andreasw
Message:

added patch for FilterSQP code

Location:
ThirdParty/FilterSQP/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/FilterSQP/trunk/INSTALL.FilterSQP

    r166 r1214  
    1 Installation of the FilterSQP library for COIN
     1Installation of the FilterSQP code for COIN
    22
    33**********************************************************************
     
    66**********************************************************************
    77
    8 You need to obtain the source files yourself.
     81. Getting the source code:
    99
    10 Then put the source files into a subdirectory call 'source' in this
    11 directory, so that 'source/src' contains the source files (such as filter.f)
     10You need to obtain the source files for FilterSQP yourself. 
     11
     12FilterSQP has been developed by
     13
     14  Roger Fletcher
     15       University of Dundee
     16       http://www.maths.dundee.ac.uk/~fletcher
     17
     18  Sven Leyffer
     19       Argonne National Laboratories
     20       http://www.mcs.anl.gov/~leyffer
     21
     22and is listed here:
     23
     24http://www.mcs.anl.gov/~leyffer/solvers.html
     25
     26In order to obtain a copy of FilterSQP, please contact the above
     27authors.
     28
     292. Putting the source code into the expected place:
     30
     31Once you have source code, please put the source files into a
     32subdirectory call 'source' in this directory, so that 'source/src'
     33contains the source files (such as filter.f)
     34
     353. Applying the patches:
     36
     37In order to use FilterSQP with Bonmin, three files have to be changed
     38slightly.  For this, please run the following command in this current
     39directory:
     40
     41patch -p0 < filtersqp.patch
     42
     434. Configuration
     44
     45Once you have the source code in source/src with the required patches,
     46you need to (re)run the configure script in the project's base
     47directory.
  • ThirdParty/FilterSQP/trunk/configure

    r998 r1214  
    26962696        coin_add_cflags="-pipe"
    26972697        coin_dbg_cflags="-g"
    2698         coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
     2698        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     2699        case $build in
     2700          *-darwin*)
     2701            ;;
     2702          *)
     2703            coin_warn_cflags="-pedantic-errors $coin_warn_cflags"
     2704            ;;
     2705        esac
    26992706        case $enable_doscompile in
    27002707          mingw)
     
    27692776        case "$CC" in
    27702777          icc* | */icc*)
    2771             coin_opt_cflags="-O3 -ip"
     2778            coin_opt_cflags="-O3 -ip -mp1"
    27722779            coin_add_cflags=""
    27732780            coin_dbg_cflags="-g"
     
    28312838        case "$CC" in
    28322839          xlc* | */xlc* | mpxlc* | */mpxlc*)
    2833             coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
     2840            coin_opt_cflags="-O -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
    28342841            coin_add_cflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029"
    28352842            coin_dbg_cflags="-g"
     
    31053112     fi ;;
    31063113  *-*-solaris*)
    3107      coin_f77_comps="f95 f90 f77 xlf fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
    3108   *) coin_f77_comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
     3114     coin_f77_comps="f95 f90 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
     3115  *) coin_f77_comps="xlf_r fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
    31093116 esac
    31103117
     
    32773284
    32783285# Provide some information about the compiler.
    3279 echo "$as_me:3279:" \
     3286echo "$as_me:3286:" \
    32803287     "checking for Fortran 77 compiler version" >&5
    32813288ac_compiler=`set X $ac_compile; echo $2`
     
    34923499        case $F77 in
    34933500          ifort* | */ifort* | IFORT* | */IFORT* )
    3494             coin_opt_fflags='-O3'
    3495             coin_add_fflags='-fpp -nologo -MT'
    3496             coin_dbg_fflags='-debug'
     3501            coin_opt_fflags='-MT -O3'
     3502            coin_add_fflags='-fpp -nologo'
     3503            coin_dbg_fflags='-MTd -debug'
    34973504          ;;
    34983505          compile_f2c*)
     
    35583565        case "$F77" in
    35593566          xlf* | */xlf* | mpxlf* | */mpxlf* )
    3560             coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
     3567            coin_opt_fflags="-O -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
    35613568            coin_add_fflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029"
    35623569            coin_dbg_fflags="-g -C"
     
    60816088*-*-irix6*)
    60826089  # Find out which ABI we are using.
    6083   echo '#line 6083 "configure"' > conftest.$ac_ext
     6090  echo '#line 6090 "configure"' > conftest.$ac_ext
    60846091  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    60856092  (eval $ac_compile) 2>&5
     
    86198626   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    86208627   -e 's:$: $lt_compiler_flag:'`
    8621    (eval echo "\"\$as_me:8621: $lt_compile\"" >&5)
     8628   (eval echo "\"\$as_me:8628: $lt_compile\"" >&5)
    86228629   (eval "$lt_compile" 2>conftest.err)
    86238630   ac_status=$?
    86248631   cat conftest.err >&5
    8625    echo "$as_me:8625: \$? = $ac_status" >&5
     8632   echo "$as_me:8632: \$? = $ac_status" >&5
    86268633   if (exit $ac_status) && test -s "$ac_outfile"; then
    86278634     # The compiler can only warn and ignore the option if not recognized
     
    88878894   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    88888895   -e 's:$: $lt_compiler_flag:'`
    8889    (eval echo "\"\$as_me:8889: $lt_compile\"" >&5)
     8896   (eval echo "\"\$as_me:8896: $lt_compile\"" >&5)
    88908897   (eval "$lt_compile" 2>conftest.err)
    88918898   ac_status=$?
    88928899   cat conftest.err >&5
    8893    echo "$as_me:8893: \$? = $ac_status" >&5
     8900   echo "$as_me:8900: \$? = $ac_status" >&5
    88948901   if (exit $ac_status) && test -s "$ac_outfile"; then
    88958902     # The compiler can only warn and ignore the option if not recognized
     
    89918998   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    89928999   -e 's:$: $lt_compiler_flag:'`
    8993    (eval echo "\"\$as_me:8993: $lt_compile\"" >&5)
     9000   (eval echo "\"\$as_me:9000: $lt_compile\"" >&5)
    89949001   (eval "$lt_compile" 2>out/conftest.err)
    89959002   ac_status=$?
    89969003   cat out/conftest.err >&5
    8997    echo "$as_me:8997: \$? = $ac_status" >&5
     9004   echo "$as_me:9004: \$? = $ac_status" >&5
    89989005   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    89999006   then
     
    1133611343  lt_status=$lt_dlunknown
    1133711344  cat > conftest.$ac_ext <<EOF
    11338 #line 11338 "configure"
     11345#line 11345 "configure"
    1133911346#include "confdefs.h"
    1134011347
     
    1143611443  lt_status=$lt_dlunknown
    1143711444  cat > conftest.$ac_ext <<EOF
    11438 #line 11438 "configure"
     11445#line 11445 "configure"
    1143911446#include "confdefs.h"
    1144011447
     
    1378013787   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1378113788   -e 's:$: $lt_compiler_flag:'`
    13782    (eval echo "\"\$as_me:13782: $lt_compile\"" >&5)
     13789   (eval echo "\"\$as_me:13789: $lt_compile\"" >&5)
    1378313790   (eval "$lt_compile" 2>conftest.err)
    1378413791   ac_status=$?
    1378513792   cat conftest.err >&5
    13786    echo "$as_me:13786: \$? = $ac_status" >&5
     13793   echo "$as_me:13793: \$? = $ac_status" >&5
    1378713794   if (exit $ac_status) && test -s "$ac_outfile"; then
    1378813795     # The compiler can only warn and ignore the option if not recognized
     
    1388413891   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1388513892   -e 's:$: $lt_compiler_flag:'`
    13886    (eval echo "\"\$as_me:13886: $lt_compile\"" >&5)
     13893   (eval echo "\"\$as_me:13893: $lt_compile\"" >&5)
    1388713894   (eval "$lt_compile" 2>out/conftest.err)
    1388813895   ac_status=$?
    1388913896   cat out/conftest.err >&5
    13890    echo "$as_me:13890: \$? = $ac_status" >&5
     13897   echo "$as_me:13897: \$? = $ac_status" >&5
    1389113898   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1389213899   then
     
    1545415461   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1545515462   -e 's:$: $lt_compiler_flag:'`
    15456    (eval echo "\"\$as_me:15456: $lt_compile\"" >&5)
     15463   (eval echo "\"\$as_me:15463: $lt_compile\"" >&5)
    1545715464   (eval "$lt_compile" 2>conftest.err)
    1545815465   ac_status=$?
    1545915466   cat conftest.err >&5
    15460    echo "$as_me:15460: \$? = $ac_status" >&5
     15467   echo "$as_me:15467: \$? = $ac_status" >&5
    1546115468   if (exit $ac_status) && test -s "$ac_outfile"; then
    1546215469     # The compiler can only warn and ignore the option if not recognized
     
    1555815565   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1555915566   -e 's:$: $lt_compiler_flag:'`
    15560    (eval echo "\"\$as_me:15560: $lt_compile\"" >&5)
     15567   (eval echo "\"\$as_me:15567: $lt_compile\"" >&5)
    1556115568   (eval "$lt_compile" 2>out/conftest.err)
    1556215569   ac_status=$?
    1556315570   cat out/conftest.err >&5
    15564    echo "$as_me:15564: \$? = $ac_status" >&5
     15571   echo "$as_me:15571: \$? = $ac_status" >&5
    1556515572   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1556615573   then
     
    1776517772   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1776617773   -e 's:$: $lt_compiler_flag:'`
    17767    (eval echo "\"\$as_me:17767: $lt_compile\"" >&5)
     17774   (eval echo "\"\$as_me:17774: $lt_compile\"" >&5)
    1776817775   (eval "$lt_compile" 2>conftest.err)
    1776917776   ac_status=$?
    1777017777   cat conftest.err >&5
    17771    echo "$as_me:17771: \$? = $ac_status" >&5
     17778   echo "$as_me:17778: \$? = $ac_status" >&5
    1777217779   if (exit $ac_status) && test -s "$ac_outfile"; then
    1777317780     # The compiler can only warn and ignore the option if not recognized
     
    1803318040   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1803418041   -e 's:$: $lt_compiler_flag:'`
    18035    (eval echo "\"\$as_me:18035: $lt_compile\"" >&5)
     18042   (eval echo "\"\$as_me:18042: $lt_compile\"" >&5)
    1803618043   (eval "$lt_compile" 2>conftest.err)
    1803718044   ac_status=$?
    1803818045   cat conftest.err >&5
    18039    echo "$as_me:18039: \$? = $ac_status" >&5
     18046   echo "$as_me:18046: \$? = $ac_status" >&5
    1804018047   if (exit $ac_status) && test -s "$ac_outfile"; then
    1804118048     # The compiler can only warn and ignore the option if not recognized
     
    1813718144   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1813818145   -e 's:$: $lt_compiler_flag:'`
    18139    (eval echo "\"\$as_me:18139: $lt_compile\"" >&5)
     18146   (eval echo "\"\$as_me:18146: $lt_compile\"" >&5)
    1814018147   (eval "$lt_compile" 2>out/conftest.err)
    1814118148   ac_status=$?
    1814218149   cat out/conftest.err >&5
    18143    echo "$as_me:18143: \$? = $ac_status" >&5
     18150   echo "$as_me:18150: \$? = $ac_status" >&5
    1814418151   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1814518152   then
Note: See TracChangeset for help on using the changeset viewer.