This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dev:development [2018/06/18 14:45] – external edit 127.0.0.1 | en:dev:development [2025/05/01 12:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| This section contains detailed instructions on how to get and install the IDE and all the necessary prerequisites, | This section contains detailed instructions on how to get and install the IDE and all the necessary prerequisites, | ||
| - | ===== Linux (Ubuntu 16.04) ===== | + | :!: NOTE: It's many years we don't try the Windows procedure, so it is likely to be obsolete. We strongly suggest to use FFSM in Linux, eventually using a virtual machine or the Windows Subsystem for Linux (WSL). |
| - | //See older revisions of this page for older Ubuntu systems and for tips to solving some errors no longer occurring in Ubuntu 16.10.// | + | ===== Linux (Ubuntu 22.04) ===== |
| + | |||
| + | //See older revisions of this page for older Ubuntu systems and for tips to solving some errors no longer occurring in Ubuntu | ||
| The following packages and their prerequisites should be installed: | The following packages and their prerequisites should be installed: | ||
| <code bash> | <code bash> | ||
| - | sudo apt-get install | + | sudo apt-get install |
| - | # Optional, for the qtcreator helper: | + | sudo apt-get install libtool libtool-bin git patch wget pkg-config |
| - | sudo apt-get install | + | sudo apt-get install |
| + | sudo apt-get install | ||
| + | </ | ||
| + | |||
| + | (not all are likely to be necessary, we just tried successfully this combination) | ||
| + | |||
| + | Create a folder for installing the various FFSM dependencies. Here we use `~/ | ||
| + | |||
| + | <code bash> | ||
| + | cd ~ | ||
| + | mkdir programs | ||
| + | cd programs | ||
| </ | </ | ||
| ==== Ipopt ==== | ==== Ipopt ==== | ||
| - | * Downolad Ipopt (Ipopt-3.XX.X.tgz) from http:// | + | |
| - | * In the extracted directory move to ThirdParty and for {Metis|Mumps|ASL} go in their subfolder and run "./ | + | Ipopt is the solver engine used by FFSM. Itself it uses several libraries. The procedure describe below installs all the "third parties" |
| - | | + | |
| - | * Create a build directory, move there and from there type:<code bash> | + | For using the HSL linear solver (optional, as it requires a free academic licence, but way faster than MUMS) go to http:// |
| - | ../configure | + | |
| + | <code bash> | ||
| + | mkdir Ipopt | ||
| + | cd Ipopt | ||
| + | wget https:// | ||
| + | tar -xzf 3.14.16.tar.gz | ||
| + | |||
| + | cd ~/programs/ | ||
| + | git clone https:// | ||
| + | cd ThirdParty-ASL | ||
| + | ./get.ASL | ||
| + | ./ | ||
| + | make | ||
| + | sudo make install | ||
| + | cd .. | ||
| + | git clone https://github.com/ | ||
| + | cd ThirdParty-HSL | ||
| + | [extract the HSL archive as `~/ | ||
| + | ./ | ||
| + | make | ||
| + | sudo make install | ||
| + | cd ../Ipopt-releases-3.14.16/ | ||
| + | mkdir build | ||
| + | cd build | ||
| + | ../ | ||
| make | make | ||
| sudo make install | sudo make install | ||
| + | cd ../../.. | ||
| </ | </ | ||
| Line 33: | Line 71: | ||
| * Needed ColPack >= 1.0.8 | * Needed ColPack >= 1.0.8 | ||
| * Type:< | * Type:< | ||
| - | git clone https:// | + | git clone https:// |
| cd ColPack | cd ColPack | ||
| + | git checkout 10b780b52a25c6ccef3d2abc12055ee85b7e8667 # checkout a version know to works | ||
| autoreconf -vif | autoreconf -vif | ||
| ./configure --prefix=/ | ./configure --prefix=/ | ||
| make | make | ||
| sudo make install | sudo make install | ||
| + | cd .. | ||
| + | </ | ||
| + | |||
| + | * (alternative) Type:< | ||
| + | git clone https:// | ||
| + | cd ColPack/ | ||
| + | autoreconf -vif | ||
| + | mkdir mybuilds | ||
| + | cd mybuilds | ||
| + | ../ | ||
| + | make -j 8 | ||
| + | sudo make install | ||
| + | cd ../../../.. | ||
| </ | </ | ||
| - | //Notes: The web site cscapes seems to no longer exists. {{: | ||
| Line 46: | Line 97: | ||
| ==== ADOL-C ==== | ==== ADOL-C ==== | ||
| - | * Download ADOL-C (ADOL-C-2.X.X.tgz) from http:// | ||
| * Type:< | * Type:< | ||
| + | mkdir ADOL-C | ||
| + | cd ADOL-C | ||
| + | wget https:// | ||
| + | unzip ADOL-C-2.7.2.zip | ||
| + | cd ADOL-C-2.7.2/ | ||
| ./configure --enable-docexa --enable-addexa --enable-sparse --prefix=/ | ./configure --enable-docexa --enable-addexa --enable-sparse --prefix=/ | ||
| make | make | ||
| sudo make install | sudo make install | ||
| </ | </ | ||
| + | |||
| + | ==== Symlinks ==== | ||
| + | |||
| * On 64 bits Linux, symlink all libadoc.* libraries from /usr/lib64 to / | * On 64 bits Linux, symlink all libadoc.* libraries from /usr/lib64 to / | ||
| cd /usr/lib | cd /usr/lib | ||
| Line 58: | Line 116: | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| + | sudo ln -s ../ | ||
| + | </ | ||
| + | * Make a symlink in the include system directory to the new name of coin (coin-or):< | ||
| + | cd / | ||
| + | sudo ln -s coin-or coin | ||
| </ | </ | ||
| + | |||
| + | ==== Libtool ==== | ||
| + | (may not be necessary) | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| ===== Windows (XP or 7) ===== | ===== Windows (XP or 7) ===== | ||
| + | New Sept 2018 (work in progress) | ||
| + | |||
| + | Download: | ||
| + | - qt installer from https:// | ||
| + | - modules Qt 5.11.1 (MinGW 5.3.0 32 bits) | ||
| + | - tools: | ||
| + | - Qt Creator 4.7.0 CDB Debug Suport | ||
| + | - MinGW 5.3.0 | ||
| + | - Qt Installer Framework 3.0 | ||
| + | - Git for windows from https:// | ||
| + | - Tortoise Git from https:// | ||
| ===== MinGW ===== | ===== MinGW ===== | ||