Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbhopesh opened this issue Nov 18, 2018 · 0 comments
Open

Comments

@bbhopesh
Copy link

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?

@bbhopesh bbhopesh changed the title ndn-simple-mpi.cpp compiation fails because NS3_MPI not enabled ndn-simple-mpi.cpp compilation fails because NS3_MPI not enabled Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant