[mpich-discuss] mpiexec Mac OS execution error
Eric A. Borisch
eborisch at ieee.org
Fri Mar 11 06:59:22 CST 2011
That's a good point. Make sure that 'which mpicc' is grabbing the MacPorts
(assuming standard /opt/local install) /opt/local/bin/mpicc and not
/usr/bin/mpicc (which ships with OSX since Leopard, if I recall) .. And use
the wrappers rather than putting your include and link paths for MPI into
your makefile / XCode project.
-Eric
On Fri, Mar 11, 2011 at 12:59 AM, Anthony Chan <chan at mcs.anl.gov> wrote:
>
> there could be multiple problem in your MPI installation
> or compilation of icarus_mac.exe.
>
> ----- Original Message -----
>
> > theron$ mpiexec -np 2 icarus_mac.exe <steady_slowest.in
> > Fatal error in MPI_Comm_rank: Invalid communicator, error stack:
> > MPI_Comm_rank(106): MPI_Comm_rank(comm=0x1, rank=0x1001ecd04) failed
> > MPI_Comm_rank(64).: Invalid communicator
>
> The usual reason for "invalid communicator" error is including incorrect
> MPI header file in creating icarus_mac.exe. Are there multiple MPI
> installations
> on your mac ? Did you use MPI wrappers, i.e. mpicc/mpif77, in building
> icarus_mac.exe ?
>
> > rank 0 in job 15 comp.local_53650 caused collective abort of all ranks
> > exit status of rank 0: return code 1
>
> A.Chan
> _______________________________________________
> 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/20110311/ed66c997/attachment.htm>
More information about the mpich-discuss
mailing list