Hello.<br><br>I'm trying to run a simple hello word program:<br><br><span style="background-color: rgb(192, 192, 192);">#include "mpi.h"</span><br style="background-color: rgb(192, 192, 192);"><span style="background-color: rgb(192, 192, 192);">
#include <stdio.h></span><br style="background-color: rgb(192, 192, 192);"><br style="background-color: rgb(192, 192, 192);"><span style="background-color: rgb(192, 192, 192);">int main (argc, argv)</span><br style="background-color: rgb(192, 192, 192);">
<span style="background-color: rgb(192, 192, 192);">int argc;</span><br style="background-color: rgb(192, 192, 192);"><span style="background-color: rgb(192, 192, 192);">char **argv;</span><br style="background-color: rgb(192, 192, 192);">
<span style="background-color: rgb(192, 192, 192);">{</span><br style="background-color: rgb(192, 192, 192);"><span style="background-color: rgb(192, 192, 192);"> MPI_Init (&argc, &argv);</span><br style="background-color: rgb(192, 192, 192);">
<span style="background-color: rgb(192, 192, 192);"> printf ("hello word\n");</span><br style="background-color: rgb(192, 192, 192);"><span style="background-color: rgb(192, 192, 192);"> MPI_Finalize();
</span><br style="background-color: rgb(192, 192, 192);"><span style="background-color: rgb(192, 192, 192);"> return 0;</span><br style="background-color: rgb(192, 192, 192);"><span style="background-color: rgb(192, 192, 192);">
}<br><br><span style="background-color: rgb(255, 255, 255);">I compile with mpicc and there's no problem, but when i try to run with mpiexec or mpirun y have the folliwing:</span><br><br>$ mpirun -np 2 hello<br>problem with execution of hello on DebianJPill: [Errno 2] No such file or directory
<br>problem with execution of hello on DebianJPill: [Errno 2] No such file or directory<br><br><span style="background-color: rgb(255, 255, 255);">But running the file generated there no problem.<br>$./hello<br>What i have doing wrong?
</span><br style="background-color: rgb(255, 255, 255);"><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">thanks a lot</span><br style="background-color: rgb(255, 255, 255);">
<br style="background-color: rgb(255, 255, 255);"></span><br>