^^^^^^^^^^^^^^^^^^^^^^^^
C++ compiler (either g++, clang, or icc).
- We use the C++14 standard, and older compilers tend to fail on
- us. It seems that g++ 5.0 or higher is required nowadays (because of
+ We use the C++17 standard, and older compilers tend to fail on
+ us. It seems that g++ 7.0 or higher is required nowadays (because of
boost). SimGrid compiles well with `clang` or `icc` too.
Python 3.
SimGrid should build without Python. That is only needed by our regression test suite.
configuration options (e.g., if your Python installation is not standard).
boost (at least v1.48, v1.59 recommended)
- On Debian / Ubuntu: ``apt install libboost-dev libboost-context-dev``
- - On CentOS / Fedora: ``yum install boost-devel``
+ - On CentOS / Fedora: ``dnf install boost-devel``
- On macOS with homebrew: ``brew install boost``
-Eigen3
+Eigen3 (optional)
- On Debian / Ubuntu: ``apt install libeigen3-dev``
- - On CentOS / Fedora: ``yum install eigen3-devel``
+ - On CentOS / Fedora: ``dnf install eigen3-devel``
- On macOS with homebrew: ``brew install eigen``
+ - Use EIGEN3_HINT to specify where it's installed if cmake doesn't find it automatically.
Java (optional):
- Debian / Ubuntu: ``apt install default-jdk libgcj18-dev`` (or
any version of libgcj)
$ tar xf simgrid-3-XX.tar.gz
$ cd simgrid-*
- $ cmake -DCMAKE_INSTALL_PREFIX=/opt/simgrid .
+ $ cmake -DCMAKE_INSTALL_PREFIX=/opt/simgrid -GNinja.
$ make
$ make install
NS3_HINT (empty by default)
Alternative path into which ns-3 should be searched for.
+EIGEN3_HINT (empty by default)
+ Alternative path into which Eigen3 should be searched for.
+
SIMGRID_PYTHON_LIBDIR (auto-detected)
Where to install the Python module library. By default, it is set to the cmake Python3_SITEARCH variable if installing to /usr,
and a modified version of that variable if installing to another path. Just force another value if the auto-detected default
- **make simgrid**: Build only the SimGrid library. Not any example nor the helper tools.
- **make s4u-comm-pingpong**: Build only this example (works for any example)
- **make java-all**: Build all Java examples and their dependencies
+- **make python-bindings**: Build the Python bindings
- **make clean**: Clean the results of a previous compilation
- **make install**: Install the project (doc/ bin/ lib/ include/)
-- **make uninstall**: Uninstall the project (doc/ bin/ lib/ include/)
- **make dist**: Build a distribution archive (tar.gz)
- **make distcheck**: Check the dist (make + make dist + tests on the distribution)
- **make documentation**: Create SimGrid documentation