-
Notifications
You must be signed in to change notification settings - Fork 1
How Run the Program
Hasan Heydari edited this page Jun 4, 2018
·
14 revisions
- Run the following commands:
$ sudo apt-get install build-essential$ sudo apt-get update$ sudo apt-get install mpich
- Download DMIS-MPICH program and extract it (Suppose that it is located in
~/DMPI-MPICH). - Run the following commands
$ cd ~/DMPI-MPICH$ mpic++ -o main main.cpp node.cpp misAlgorithm.cpp-
$ mpirun -n X ./main ~/DMPI-MPICH/Input ~/DMPI-MPICH/Output(Xis the number of nodes of the input network; for example, if the number of nodes is 18, then enter$ mpirun -n 18 ./main ~/DMPI-MPICH/Input ~/DMPI-MPICH/Output)
- The Output is inserted in Output folder. For each node of the input network, a file, that contains the status of the node (the result of the program) and other related data, is generated.
- The Input folder should be created as described here.