[SCIP] Building scipampl in scipoptsuite v5.0.0?
Coffrin, Carleton
cjc at lanl.gov
Thu Jan 11 21:37:58 CET 2018
Thanks for the suggestion Stefan.
Here is a basic build script I am trying to use,
tar -xvzf scipoptsuite-5.0.0.tgz
cd scipoptsuite-5.0.0
mkdir build
cd build
cmake .. -DIPOPT_DIR=$HOME/bin/Ipopt-3.12.4/build
make SHARED=true
cd ..
# Build SCIP AMPL interface
cd scip/interfaces/ampl
./get.ASL
cd solvers
sh configurehere
make
cd ..
make IPOPT=true SHARED=true
And this is the error I am getting,
```
make: *** No rule to make target `/home/cjc/bin/scipoptsuite-5.0.0/scip/lib/shared/libscip.linux.x86_64.gnu.opt.so', needed by `bin/scipampl.linux.x86_64.gnu.opt.spx2'. Stop.
```
That said, I would guess there is a better way where one can tell cmake that scipampl is one of the targets you would like it to build.
Cheers,
-Carleton
On 1/9/18, 8:32 PM, "Stefan Vigerske" <stefan at math.hu-berlin.de> wrote:
Hi,
I don't know your build script, but if you build SCIP with SHARED=true,
then you also need to pass SHARED=true to the call of make in
scip/interfaces/ampl.
Stefan
On 01/09/2018 10:32 PM, Coffrin, Carleton wrote:
> Is there an easy way to configure SCIP / OptSuit (v5.0.0) to build the scipampl interface?
>
> i.e. http://zverovich.net/2012/08/07/using-scip-with-ampl.html
>
> The build script I have been using previously is looking for,
>
> scipoptsuite-5.0.0/scip/lib/static/liblpispx2.linux.x86_64.gnu.opt.a
>
> Which does not seem to be built when I call “make SHARED=false” on scipoptsuite-5.0.0
>
> Thanks,
> -Carleton
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
More information about the Scip
mailing list