[mpich-discuss] mpich user problem
Anuj Patel
indyaah at gmail.com
Wed Dec 2 00:40:54 CST 2009
it may be because of not using MPI_INIT() before using MPI functions..
if possible please upload your code.
Anuj
On Wed, Dec 2, 2009 at 5:26 AM, Yen, Joseph <Joseph.Yen at jacobs.com> wrote:
> Hi,
>
> I have an mpi c++ code which has been run fine with either lam-mpi and
> open-mpi. Intel C++ compiler (ver 11) has been used. But I encounter the
> following error
>
> Attempting to use an MPI routine before initializing MPICH
> when the same code is compiled using mpich-2 (ver 1.2.1) and the same C++
> compiler. For your information, I have been working on an AMD machine with
> SUSE linux OS where all the above experiences take place.
>
> The following is the way I run the mpich2-built code and the above error
> results.
>
> In a linux command prompt,
>
> >mpd &
> >mpiexec -n 16 mycode myinput
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Attempting to use an MPI routine before initializing MPICH
> Your help is greatly appreciated.
> Joseph
>
> Joseph Yen, Ph.D.
> Jacobs Technology
> Tel: 931-393-6605
> joseph.yen at jacobs.com
>
>
>
> ------------------------------
> NOTICE - This communication may contain confidential and privileged
> information that is for the sole use of the intended recipient. Any viewing
> copying or distribution of, or reliance on this message by unintended
> recipients is strictly prohibited. If you have received this message in
> error, please notify us immediately by replying to the message and deleting
> it from your computer.
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091202/be8a3faa/attachment.htm>
More information about the mpich-discuss
mailing list