[mpich-discuss] mpich user problem
    chan at mcs.anl.gov 
    chan at mcs.anl.gov
       
    Tue Dec  1 22:02:04 CST 2009
    
    
  
----- "Joseph Yen" <Joseph.Yen at jacobs.com> wrote:
> 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
> .....
Can you check if "mycode" is really compiled with MPICH2's headers
and libraries ?  Besides looking at your Makefile or build script,
you can run nm on "mycode" to see if it has MPICH2 symbols... or
ldd on "mycode" (AFAIK, OpenMPI uses shared library by default).
A.Chan
    
    
More information about the mpich-discuss
mailing list