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?
I compiled ns3 with MPI enabled. I can run
ndn-simple-mpifrom original installation directory of ns3 and ndnSIM. Now I am trying to run the same scenario by placing it underscenariosdirectory of this template repository but it is failing with the following error.I took all the steps for installation and ran
sudo ./waf installafter 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?