Faisal,
>From the information you've given I can't be a whole lot of help, but I would
suggest the following to start figuring out the problem:
1. Try running lamboot and running your program on a single node [something
like mpirun -n 1 /common/hello]
2. If this works, try again on multiple nodes
If any of these fail, please add '-v' to the mpirun command line and send the
output.
Also, are you using the provided mpicc to compile the program? What is the
output of 'ldd /common/hello'?
Tim
On Wednesday 31 January 2007 12:50 am, Faisal Iqbal wrote:
> Dear ALL
> I've started a university project that requires me to build a cluster and
> solve a problem on it. I've setup cluster. I tried lamboot and it worked
> perfectly. Then i created a simple "Hello World" program [which i copied
> from LAM User Guide] and it ciompiled successfully. However when running
> this program [mpirun C /common/hello] where /common is nfs share and
> mounted on all workstations while hello is the executable, i get the
> following error
>
>
> ---------------------------------------------------------------------------
>-- It seems that [at least] one of the processes that was started with
> mpirun did not invoke MPI_INIT before quitting (it is possible that more
> than one process did not invoke MPI_INIT -- mpirun was only notified of the
> first one, which was on node n0).
>
> mpirun can *only* be used with MPI programs (i.e., programs that
> invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
> to run non-MPI programs over the lambooted nodes.
>
> ---------------------------------------------------------------------------
>--
>
> I searched a lot both on google and this mailing list but couldn't find
> anything applicable. I'll appreciate if any of you may help me out from
> this :)
>
> Best Regards,
> Faisal
>
>
> ---------------------------------
> TV dinner still cooling?
> Check out "Tonight's Picks" on Yahoo! TV.
|