title: MPI mpirun execvp error: no such file or directory
body: <p>I'm trying to run a c++ code (BCparallel.cpp) using MPI; compiling the code with:</p>
  
  <pre><code> mpic++ BCparallel.cpp -o BCparallel
  </code></pre>
  
  <p>is well succeed, but when I pass the line</p>
  
  <pre><code> mpiexec -np 4 BCparallel file.txt
  </code></pre>
  
  <p>It returns </p>
  
  <pre><code>[proxy:0:0@lps-Inspiron-5537] HYDU_create_process 
  (utils/launch/launch.c:75): execvp error on file BCparallel (No such 
  file or directory)
  [proxy:0:0@lps-Inspiron-5537] HYDU_create_process 
  (utils/launch/launch.c:75): execvp error on file BCparallel (No such 
  file or directory)
  [proxy:0:0@lps-Inspiron-5537] HYDU_create_process 
  (utils/launch/launch.c:75): execvp error on file BCparallel (No such 
  file or directory)
  [proxy:0:0@lps-Inspiron-5537] HYDU_create_process 
  (utils/launch/launch.c:75): execvp error on file BCparallel (No such 
  file or directory)
  </code></pre>
  
  <p>What am I doing wrong?</p>