French Forest Sector Model (FFSM++)Laboratoire d'Economie Forestière - LEF - Nancy, France
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dev:development [2024/09/24 13:02] – [Symlinks] Antonello Lobianco | en:dev:development [2026/09/09 08:42] (current) – [Getting the source code] Antonello Lobianco | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| 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 build-essential gfortran gcc g++ gcc-12 | + | sudo apt-get install build-essential gfortran gcc g++ |
| sudo apt-get install libtool libtool-bin git patch wget pkg-config | sudo apt-get install libtool libtool-bin git patch wget pkg-config | ||
| - | sudo apt-get install zlib1g-dev libboost-all-dev | + | sudo apt-get install zlib1g-dev libboost-all-dev |
| sudo apt-get install qtbase5-dev qtbase5-dev-tools qtchooser qt5-qmake qtcreator | sudo apt-get install qtbase5-dev qtbase5-dev-tools qtchooser qt5-qmake qtcreator | ||
| </ | </ | ||
| Line 41: | Line 41: | ||
| mkdir Ipopt | mkdir Ipopt | ||
| cd Ipopt | cd Ipopt | ||
| - | wget https:// | + | wget https:// |
| - | tar -xzf 3.14.16.tar.gz | + | tar -xzf 3.14.20.tar.gz |
| cd ~/ | cd ~/ | ||
| Line 54: | Line 54: | ||
| git clone https:// | git clone https:// | ||
| cd ThirdParty-HSL | cd ThirdParty-HSL | ||
| - | [extract the HSL archive as `~/programs/Ipopt/ThirdParty/HSL/coinhsl`] | + | mkdir coinhsl |
| + | wget https://nc.beta-lorraine.fr/s/w5M9ESpFWafK5H7/ | ||
| + | unzip coinhsl/coinhsl.zip | ||
| ./configure --prefix="/ | ./configure --prefix="/ | ||
| make | make | ||
| sudo make install | sudo make install | ||
| - | cd ../ | + | cd ../ |
| mkdir build | mkdir build | ||
| cd build | cd build | ||
| Line 71: | Line 73: | ||
| * Needed ColPack >= 1.0.8 | * Needed ColPack >= 1.0.8 | ||
| * Type:< | * Type:< | ||
| - | git clone https:// | ||
| - | cd ColPack | ||
| - | git checkout 10b780b52a25c6ccef3d2abc12055ee85b7e8667 # checkout a version know to works | ||
| - | autoreconf -vif | ||
| - | ./configure --prefix=/ | ||
| - | make | ||
| - | sudo make install | ||
| - | cd .. | ||
| - | </ | ||
| - | |||
| - | * (alternative) Type:< | ||
| git clone https:// | git clone https:// | ||
| cd ColPack/ | cd ColPack/ | ||
| Line 103: | Line 94: | ||
| unzip ADOL-C-2.7.2.zip | unzip ADOL-C-2.7.2.zip | ||
| cd ADOL-C-2.7.2/ | cd ADOL-C-2.7.2/ | ||
| - | ./configure --enable-docexa --enable-addexa --enable-sparse --prefix=/ | + | ./ |
| make | make | ||
| sudo make install | sudo make install | ||
| Line 115: | Line 106: | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| - | sudo ln -s ../ | ||
| sudo ln -s ../ | sudo ln -s ../ | ||
| </ | </ | ||
| Line 126: | Line 116: | ||
| (may not be necessary) | (may not be necessary) | ||
| - | - `libtool --finish / | + | * '' |
| - | - `libtool --finish /usr/lib` | + | * '' |
| ===== Windows (XP or 7) ===== | ===== Windows (XP or 7) ===== | ||
| Line 254: | Line 244: | ||
| * [[en: | * [[en: | ||
| * Type:< | * Type:< | ||
| - | git clone https://github.com/LEFNancy/ | + | git@github.com:LEFNancy/ |
| </ | </ | ||
| - | //Note: Git repository is currently | + | //Note: Git repository is set private |
| + | You need to have updated your public key to github in order for the command above to work | ||
| + | // | ||
| ====== Developing FFSM ====== | ====== Developing FFSM ====== | ||