[Ipopt] conda-forge recipe

St. John, Peter Peter.STJohn at nrel.gov
Sun Sep 18 09:11:18 EDT 2016


I'm trying to get a conda recipe working for IPOPT; for those who aren't familiar, conda is a fairly generic package management system that compiles from source using continuous integration services, and then ships binaries when a user `conda install`'s something. In particular, its really nice for creating isolated environments (similar to python's virtual environments) using an environment.yml file, where you're able to simply list the libraries (and versions) of your dependencies. That way when sharing code with others or setting up on a new computer, you don't have to manually track down binary files or rebuild from source for each library your using.

I've currently got it compiling against intel's MKL libraries on linux, but its not working on mac or windows. For Mac, I'm seemingly unable to get past the

checking whether user supplied BLASLIB="-Wl,--no-as-needed -L$PREFIX/lib -Wl,-rpath,$PREFIX/lib -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -liomp5 -lpthread -lm -ldl" works... no

error during ./configure. (I was able to get it to take an openblas library, but it failed later during the build stage). I've got very little knowledge on building IPOPT on windows, so I'm currently just skipping that.


I figured I'd reach out in case anyone might have more experience building IPOPT on various architectures and might be willing to lend advice as to why the builds might be failing. You can see the current recipe here: https://github.com/conda-forge/staged-recipes/pull/1607

Thanks!
-Peter



--
Peter St. John
Postdoctoral Researcher | Biosciences Center

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
303-384-7969
peter.stjohn at nrel.gov | www.nrel.gov



More information about the Ipopt mailing list