LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-04-28 08:44:17


On Apr 28, 2006, at 8:18 AM, K Ganeshamoorthy wrote:

<snip>

> double z[igg][jgg];
> double m[ig][jg], n[ig][jg];
> double h[ig][jg], r1[ig][jg], r2[ig][jg], r3[ig][jg], r4[ig][jg], r5
> [ig][jg];
> double r6[jg], c1[ig], c2[jg], c3[ig], c4[jg], v1[jg], v2[jg], v3
> [jg], v4
> [jg], v5[jg];
>
> I have run the code successfully with correct output when the
> values for
> those constants are small. If I assign the above mentioned values,
> I have
> problem!

<snip>

> But When I tried to run with the following needed values,
> #define ig 303
> #define jg 313
> #define igg 903
> #define jgg 1233, I got the following error message:
>
> “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.”
>
> Could you please give some idea to solve this problem. I hope that
> I will
> correct my problem through your guidance.

The error message from LAM/MPI is telling you that your application
aborted before it called MPI_INIT. This usually means that there was
a problem either in loading the application or in the code between
the start of application and its call to MPI_INIT. A debugger can be
extremely helpful in these cases. Have a look at our Debugging LAM/
MPI programs FAQ section:

     http://www.lam-mpi.org/faq/category6.php3

That should give you some good starting points for figuring out why
your code is failing.

Hope this helps,

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/