How to use MPI for parallel processing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ameri
    New Member
    • Dec 2014
    • 1

    How to use MPI for parallel processing

    Hi everybody,

    I need to perform parallel processing, and therefore, I have to run MPI on my system. I've installed MPI according to this page. According to this website, I installed MPICH2 and it was written that "MPICH2 was installed successfully". I can also see its folder built in "Program Files". However, when I type "smpd -status" in command prompt (as in step 8) it returns "no smpd running on $hostname$" (although I'm not sure if I need to have smpd running to use mpiexec locally)! Moreover, when I go to the directory $MPICHROOT\exam ples and run cpi.exe using "mpiexec -n 4 cpi" (as in step 9) I encounter an error which says "error while connecting to host, no connection could be made because the target machine actively refused it ...". It should be noted that when I try "mpiexec -help" in $MPICHROOT\bin it does work!!

    Could you tell me please what the problem is?! I appreciate your time and consideration in advance.
Working...