... | ... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
In order to run the Optimal Control Module of SEMpy, you will have to download manually the following libraries: IPOPT, BLAS, Lapack, ASL, Metis, Mumps, IPyOPT, Cppad_py, and HSL (optionnal).
|
|
|
|
|
|
Here are the following links:
|
|
|
Here are the related links:
|
|
|
|
|
|
- IPOPT : https://coin-or.github.io/Ipopt/INSTALL.html
|
|
|
- BLAS : https://github.com/coin-or-tools/ThirdParty-Blas/blob/master/INSTALL.BLAS
|
... | ... | @@ -37,24 +37,44 @@ git clone https://gitlab.isae-supaero.fr/sempy/sempy-recipe.git |
|
|
cd sempy-recipe
|
|
|
```
|
|
|
|
|
|
## 1.2 Build and install SEMpy package
|
|
|
## 1.2 Build SEMpy
|
|
|
|
|
|
Now that you entered the sempy-recipe folder, run:
|
|
|
```bash
|
|
|
conda build . -c conda-forge
|
|
|
```
|
|
|
|
|
|
## 1.3 Install SEMpy
|
|
|
|
|
|
Now that the package is built, you can install the Optimal Control Module on your machine.
|
|
|
|
|
|
Note: We recommend to create a new environment to install SEMpy, to avoid conflicts with already installed packages
|
|
|
### 1.3.1 Create a dedicated environment
|
|
|
|
|
|
In order to avoid any conflicts between already installed packages and the ones needed by SEMpy, we highly recommend to create a new environment for the installation.
|
|
|
|
|
|
```bash
|
|
|
conda create -n sempy_env
|
|
|
conda activate sempy_env
|
|
|
```
|
|
|
|
|
|
### 1.3.2 Install SEMpy Optimal Control
|
|
|
|
|
|
Then install the Optimal Control Module of SEMpy :
|
|
|
Once inside the sempy_env, install SEMpy Optimal Control :
|
|
|
|
|
|
```bash
|
|
|
conda install --use-local sempy_optimal_control
|
|
|
```
|
|
|
|
|
|
## 1.3 Testing SEMpy
|
|
|
**WARNING:** If you end up with an error message like _Found conflicts! Looking for incompatible packages._, it probably means that conda-forge isn't in your default channels configuration.
|
|
|
You can add it this way:
|
|
|
|
|
|
```bash
|
|
|
conda config --add channels conda-forge
|
|
|
```
|
|
|
|
|
|
Then it should work fine.
|
|
|
|
|
|
## 1.4 Testing SEMpy
|
|
|
|
|
|
### Linux - Debian
|
|
|
|
... | ... | |