[mpich-discuss] MPICH2 not installed or unable to query the host
Mis Nat
kocka87 at gmail.com
Fri Mar 30 11:58:27 CDT 2012
I have a simple HelloWorld program which I've tried to run for the
begining. I run cmd.exe as Administrator and run my program with "mpiexec
-n 10 HelloWorld.exe". The problem I have is that on A-Computer all
processes are on A-Computer and if I try to run it on B-Computer all
processes are on B-Computer. My final goal is to write QuickSort algorithm.
But first I have to be sure my program will run on both computers, because
I'm going to analyze the time. I assumed that I need A-Computer highlighted
green and that will solve my problem..
Source code:
#include <stdio.h>
> #include <mpi.h>
> int main(int argc, char **argv) {
> int rank;
> char host[150];
> int namelen;
> MPI_Init(&argc, &argv);
> MPI_Comm_rank(MPI_COMM_WORLD, &rank);
> MPI_Get_processor_name(host,&namelen);
> printf("Hello world (Rank: %d / Host: %s)\n", rank, host);
> fflush(stdout);
> MPI_Finalize();
> return 0;
> }
On 30 March 2012 18:11, Jayesh Krishna <jayesh at mcs.anl.gov> wrote:
> Hi,
> This is a known bug. Please ignore it for now.
> Can you run your jobs with mpiexec from command line?
>
> Regards,
> Jayesh
>
> ----- Original Message -----
> From: "Mis Nat" <kocka87 at gmail.com>
> To: mpich-discuss at mcs.anl.gov
> Sent: Friday, March 30, 2012 5:26:29 AM
> Subject: [mpich-discuss] MPICH2 not installed or unable to query the host
>
>
> Hello!
>
>
> I have MPICH2 1.4.1p1 installed on two computers, both with Win 7 x86.
> On A-Computer something's wrong, I got error: "B: MPICH2 not installed or
> unable to query the host" , on B-Computers in "wmpiconfig.exe" B-Computer
> highlights green.
>
>
> Please, if anyone know what's wrong let me know. Also if you need more
> information about settings on both Computers.
>
>
> Many thanks!
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> 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/20120330/6f434401/attachment.htm>
More information about the mpich-discuss
mailing list