[mpich-discuss] having problem running MPICH on multiple nodes

Lu, Huiwei huiweilu at mcs.anl.gov
Tue Nov 25 23:20:27 CST 2014


Could you try to run the following simple code to see if it works?

#include <mpi.h>
#include <stdio.h>
int main(int argc, char** argv)
{
    int rank, size;
    MPI_Init(&argc, &argv);
    MPI_Comm_rank(MPI_COMM_WORLD, &rank);
    printf("rank %d\n", rank);
    MPI_Finalize();
    return 0;
}

—
Huiwei

> On Nov 25, 2014, at 11:11 PM, Amin Hassani <ahassani at cis.uab.edu> wrote:
> 
> No, I checked. Also I always install my MPI's in /nethome/students/ahassani/usr/mpi. I never install them in /nethome/students/ahassani/usr. So MPI files will never get there. Even if put the /usr/mpi/bin in front of /usr/bin, it won't affect anything. There has never been any mpi installed in /usr/bin.
> 
> Thank you.
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list