Installation without conda and conan #121
-
Hi, thanks for developing and sharing ecole! I am trying to install ecole on a HPC environment, where conda is sadly not an option. When trying to install it from source, the package conan is problematic, as it has dependencies, that themselves have dependencies to old software that won't compile. Is it possible to build ecole without conan using CMake functionalities? Any help would be very much appreciated. Have a nice day! Lovis |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi Lovis, We are aware that some people (including ourselves) need to use Ecole without Conda. Proper support is in our todo list. Ecole has some compiled C++, so when we talk about Ecole dependencies, we need to distinguish two types:
CondaConda is great for us, because it tackles both aspects. It ships Ecole already compiled, and resolves SCIP as a dependency. Source installationTo compile, you would need to get a recent compiler, CMake, Make, Xtensor/Xtl/Xtensor-Python, PyBind, Python, Numpy, everything listed in Alternatively, you do not need to compile Ecole on the same machine that you will be running it. PipThis last idea of compiling Ecole and shipping without SCIP is the first step we want to explore with Pip. What's the solution?In our HPC servers (ComputeCanada), Conda is also not recommended (this is not entirely justified IMHO). If Conan is the only thing getting in your way, we can replace it with CMake's Let us know what you think and what approaches could work for you. |
Beta Was this translation helpful? Give feedback.
-
Out of curiosity, what errors are you getting with conan? |
Beta Was this translation helpful? Give feedback.
-
As of version |
Beta Was this translation helpful? Give feedback.
Hi Lovis,
We are aware that some people (including ourselves) need to use Ecole without Conda. Proper support is in our todo list.
Ecole has some compiled C++, so when we talk about Ecole dependencies, we need to distinguish two types:
Conda
Conda is great for us, because it tackles both aspects. It ships Ecole already compiled, and resolves SCIP as a dependency.
Source installation
To compile, you would need to get a recent compiler, CMa…