Hi Michelle:
/opt/mpich-ch_p4-gcc-1.2.7/examples on the headnode does
not necessarily exist on the compute nodes. You probably want to copy the
hello++ file to a NFS mounted location (eg. your home directory) which your
compute nodes have access to.
Cheers,
Bernard
I tried to run a simple hello MPI program under /opt/mpich-ch_p4-gcc-1.2.7/examples/
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michelle Chu
Sent: Sunday, April 02, 2006 12:37
To: [email protected]
Subject: [Oscar-users] error running a simple Hello MPI code
at my headnode, I compile the hello++.cc program
make hello++
./hello++
"hello world, i am 0 out of 1"
however, if i type mpirun -np 4 -nolocal -machinefile machines4 hello++
in my machinefile
oscarnode1
oscarnode2
oscarnode3
oscarnode4
error message "bash: /opt/mpich-ch_p4-gcc-1.2.7/examples/hello++: No such file or directory"
Why is that?
Michelle
