Skip to content

Commit

Permalink
manage to build ipopt
Browse files Browse the repository at this point in the history
  - not using any HSL, as suggested in ds4dm#5
  - not sure whether the linked libraries are correct, `ldd` has some "not found"
  • Loading branch information
rschwarz committed May 27, 2016
1 parent 98d2af3 commit 84d4057
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions conda_recipes/ipoptlib/build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash

# TODO: get any 3rd party code?
# get some 3rd party code
cd ThirdParty/Metis && ./get.Metis && cd ../../
cd ThirdParty/Mumps && ./get.Mumps && cd ../../

./configure --prefix=${PREFIX}
# BLAS from mkl?
# LAPACK from mkl?
# HSL?
# other libraries?
./configure --prefix=${PREFIX} \
--with-blas="-L${PREFIX} -lmkl_intel_ilp64 -lmkl_core -lmkl_sequential -lpthread -lm -ldl" \
--with-lapack="-L${PREFIX} -lmkl_intel_ilp64 -lmkl_core -lmkl_sequential -lpthread -lm -ldl"
# no HSL!

make
make install

3 changes: 2 additions & 1 deletion conda_recipes/ipoptlib/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ build:

requirements:
build:
- mkl
- gcc # includes fortran
- mkl # for BLAS, Lapack
run:
- mkl

Expand Down

0 comments on commit 84d4057

Please sign in to comment.