Open yejian-uestc opened 4 years ago
if you look at wscript, you'll see you need to enable mpi:
opt.add_option('--enable-mpi',....
@teto Thanks for your reply !
I just run these command: ./waf distclen ./waf configure --with-ns3=../../build --enable-mpi ./waf build
but when I run this: mpirun -np 2 ./waf --run dce-mpi-udp
I got these erro: msg="Can't use distributed simulator without MPI compiled in", file=../src/mpi/model/granted-time-window-mpi-interface.cc, line=185
probably ns3 was compiledwithout mpi support.
Description of the problem
trying to run dec-mpi-udp.cc, but there are some problem
commond: ~/workspace/dce/source/ns-3-dce$ mpirun -np 2 ./waf --run dce-mpi-udp erro: program 'dce-mpi-udp' not found
so how can I use MPI in DCE ?