[Ipopt] conda-forge recipe

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


Awesome thanks for the help!, it looked like the problem was in passing the environment variables, and ld complained about `-no-as-needed`. I pushed some changes that seem to work when I build it locally, we'll see how we do on the CI.

--
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

From: "Anthony D. Kelman" <kelman at berkeley.edu<mailto:kelman at berkeley.edu>>
Date: Sunday, September 18, 2016 at 7:18 AM
To: "Peter St. John" <peter.stjohn at nrel.gov<mailto:peter.stjohn at nrel.gov>>
Cc: ipopt <ipopt at list.coin-or.org<mailto:ipopt at list.coin-or.org>>
Subject: Re: [Ipopt] conda-forge recipe


You're going to need to look at the config.log to find the full error.

On Sep 18, 2016 6:11 AM, "St. John, Peter" <Peter.STJohn at nrel.gov<mailto:Peter.STJohn at nrel.gov>> wrote:
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://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_conda-2Dforge_staged-2Drecipes_pull_1607&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=en0_ydai4UPM8nLin0WTg5UWlOXuXT_rDA2W227v-no&m=af5bLJkK8YiI_83AdQeZRFDeRN3NWAruVbJCjwRQ5S0&s=GmCTSHKGoAtptWbVsQo5TtWauFhAD-kWTI4B2Y2SmGU&e=

Thanks!
-Peter



--
Peter St. John
Postdoctoral Researcher | Biosciences Center

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
303-384-7969<tel:303-384-7969>
peter.stjohn at nrel.gov<mailto:peter.stjohn at nrel.gov> | www.nrel.gov<http://www.nrel.gov>

_______________________________________________
Ipopt mailing list
Ipopt at list.coin-or.org<mailto:Ipopt at list.coin-or.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__list.coin-2Dor.org_mailman_listinfo_ipopt&d=CwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=en0_ydai4UPM8nLin0WTg5UWlOXuXT_rDA2W227v-no&m=af5bLJkK8YiI_83AdQeZRFDeRN3NWAruVbJCjwRQ5S0&s=o4AdF032QO5UCLYUWhL-3hPwqX70eJQpf7G23r-YexA&e=



More information about the Ipopt mailing list