title: openmpi runtime error: Hello World run on hosts
body: <p>I'm trying to setup a cluster. Up to now I'm testing it only with 1 master and 1 slave. Running the script from the master it starts printing the HelloWorld, but then I get the following error:</p>
  
  <pre><code>Primary job  terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted.
  </code></pre>
  
  <p>it keeps printing HelloWorld and after a while:</p>
  
  <pre><code>mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: 
  Process name: [[62648,1],2]
  Exit code:    2
  </code></pre>
  
  <p>Then the code stops. By chance I tried to run the script from the slave and it works. I can't figure out why.
  I've set passwordless SSH and running a file located in a nfs-mounted folder.
  Can you help me?</p>
  
  <p>Thanks</p>