dvcompute_mpi/
lib.rs

1// Copyright (c) 2020-2022  David Sorokin <davsor@mail.ru>, based in Yoshkar-Ola, Russia
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6
7//! This crate is a part of discrete event simulation framework DVCompute Simulator (registration
8//! number 2021660590 of Rospatent). The crate implements the network interface, which is meant
9//! to be built on top of some MPI implementation that you are going to use within distributed
10//! simulation. But you are not obliged to use MPI, though.
11//!
12//! There are the following main crates: `dvcompute` (sequential simulation),
13//! `dvcompute_dist` (optimistic distributed simulation),
14//! `dvcompute_cons` (conservative distributed simulation) and
15//! `dvcompute_branch` (nested simulation). All four crates are
16//! very close. They are based on the same method.
17//!
18//! It is expected by some crates that the `dvcompute_mpi` dynamic (shared) library can be found by the operating
19//! system, when launching the executable file of the simulation model. You can build the `dvcompute_mpi`
20//! library yourself from the <https://gitflic.ru/project/dsorokin/dvcompute/file?file=src%2Fdvcompute_mpi_cdylib> sources
21//! that require CMake, C++ compiler and some MPI implementation that you are going to use.
22
23extern crate libc;
24
25/// The network utilities.
26pub mod network;
27
28#[cfg(test)]
29mod tests {
30    #[test]
31    fn it_works() {
32    }
33}