MPICH-gm error: bash: NO such file or directory

I have installed mpich-gm compiled by PGI compiler on lenovo 1800 linux cluster, and I can successfully compiled cpi.c . But when I use mpirun.ch_gm -machinefile nodes -np 4 cpi to execute , it tells :
bash: cd: /export2/smith: No such file or directory
env: /export2/lifei/cpi: No such file or directory
bash: cd: /export2/lsmith: No such file or directory
bash: cd: /export2/lifei: No such file or directory
env: /export2/lifei/cpi: No such file or directory
env: /export2/lifei/cpi: No such file or directory
bash: cd: /export2/smith: No such file or directory
env: /export2/lifei/cpi: No such file or directory

PS: the cpi.c is in the directory of /export2/smith , and node is my machinefile under the directory too.
Would anyone could give me some help? How to set mpich-gm in order to make a parrallel computing?
Thanks

Hi eric192,

Is “/export2/” exported to the remote nodes? Is is shared across all nodes?

  • Mat