Skip to content

ndn-simple-mpi.cpp compilation fails because NS3_MPI not enabled #3

@bbhopesh

Description

@bbhopesh

I compiled ns3 with MPI enabled. I can run ndn-simple-mpi from original installation directory of ns3 and ndnSIM. Now I am trying to run the same scenario by placing it under scenarios directory of this template repository but it is failing with the following error.

[1/2] Compiling scenarios/ndn-simple-mpi.cpp
../scenarios/ndn-simple-mpi.cpp:31:2: error: #error "ndn-simple-mpi scenario can be compiled only if NS3_MPI is enabled"
 #error "ndn-simple-mpi scenario can be compiled only if NS3_MPI is enabled"
  ^~~~~

I took all the steps for installation and ran sudo ./waf install after compiling ns3 and ndnSIM. I could run other non mpi examples by placing them under this repo. Can you please suggest on what could be going wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions