Giter Site home page Giter Site logo

qm's Introduction

QM // Quick modeling tool

Building

Prerequisites

Dependencies

For distributed modeling NS-3 and DCE should be builded with --with-mpi / --enable-mpi options.

Toolchain

Required environment variables

Name Description Example value
DCE_HOME Absolute path to DCE directory home/csepanda/Work/DCE
DCE_ROOT Absolute path to built DCE $DCE_HOME/build
DCE_PATH PATH to built DCE's executable $DCE_ROOT/bin:$DCE_ROOT/bin_dce:$DCE_ROOT/sbin

Build

cmake .
make

Running

Prerequisites

Required environment variables

Name Description Example value
DCE_PATH PATH to built DCE's executable $DCE_ROOT/bin:$DCE_ROOT/bin_dce:$DCE_ROOT/sbin
LD_LIBRARY_PATH PATH to built DCE's libraries $DCE_ROOT/lib:$LD_LIBRARY_PATH

Run

./qm-runner <YAML_CONFIG>

Other tools

./tools/examine-files.bash

Show all last runned model's processes in nodes and exit status

./tools/clean-simulation-files.bash

Remove all files created during the simulation

qm's People

Contributors

csepanda avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

qm's Issues

Model YAML Configuration: Application's arguments via scalar string

Currently application's arguments are passed via YAML sequence:

    - binary: ip
      node: !Ref node04
      arguments:
          - route
          - add
          - default
          - via
          - 10.0.2.1
          - dev
          - sim0
      startAt: 15s

It will be nice to have ability to specify arguments via scalar string:

    - binary: ip
      node: !Ref node04
      arguments: route add default via 10.0.2.1 dev sim0
      startAt: 15s

Add MPI options command line arguments configuration

Currently MPI can be configured only via simulation configuration

simulationConfiguration:
    networkStack: linux
    stopTime: 800s
    enableMpi: true
    systemIdMarkerStrategy: manual

It will be nice to have following command line arguments for MPI configuration:
MPI modeling enabling: --enable-mpi
SystemIdMarkerStrategy specifying: --system-id-marker-strategy=<strategy_name>

Refactor MPI Usage workarounds

Following code in ApplicationInstaller and LinuxStackIpConfiguration should refactored:

        if (ns3::MpiInterface::IsEnabled() &&
            ns3::MpiInterface::GetSystemId() != ns3Node->GetSystemId()) { // TODO refactor
            continue;
        }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.