hiii

i am new here and i have a 18 node cluster that works pretty good when i execute the command:

mpiexec -f machinefile -n 18 hostname
 and the folowing output:
elec-cluster-1
elec-cluster-2
elec-cluster-3
elec-cluster-5
elec-cluster-4
elec-cluster-6
elec-cluster-7
elec-cluster-9
elec-cluster-8
elec-cluster-10
elec-cluster-11
elec-cluster-13
elec-cluster-14
elec-cluster-15
elec-cluster-16
elec-cluster-12
elec-cluster-18
elec-cluster-17

when i execute the command:
mpiexec -n 5 -f machinefile ./examples/cpi
 nothing is seems to work and i receive:

[proxy:0:0@elec-cluster-1] HYDU_create_process (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75): execvp error on file ./examples/cpi (No such file or directory)

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 2806 RUNNING AT 147.161.4.200
=   EXIT CODE: 255
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
[proxy:0:2@elec-cluster-3] HYDU_create_process (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75): execvp error on file ./examples/cpi (No such file or directory)
[proxy:0:3@elec-cluster-4] HYDU_create_process (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75):
===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 6718 RUNNING AT 147.161.4.202
=   EXIT CODE: 255
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================

i dont know what to do?
another think is how to run and compile a c program?

--
בברכה, יוסף אלון
050-4916740