Nbody Example


  (a)  On EVM, change to directory <INSTALL_DIR>/nbody

  (b) Run: /opt/ti-openmpi/bin/mpirun --mca btl self,sm,tcp -np 2 -host k2hnode1,k2hnode2 ./nbody 1000

      You should see following (or similar) output: 

>>>
Simulation of 2.000000 seconds done in 1.979483 seconds
<<<

  (c) MPI over Hyperlink: 
          Run: /opt/ti-openmpi/bin/mpirun --mca btl self,hlink -np 2 -host k2hnode1,k2hnode2 ./nbody 1000


