[MPICH] MPICH2 1.0.6 inder Windows without DOMAIN

Jayesh Krishna jayesh at mcs.anl.gov
Wed Jan 16 18:57:30 CST 2008


Hi,
 You can compile MPICH2 on cygwin but then you have to make sure that you
use mpiexec/smpd compiled under cygwin. 
 We recommend users to install MPICH2 using the MSI installer and then run
programs compiled under cygwin (You can run programs compiled under cygwin
using mpiexec installed from the MSI package. Use the "-localroot" option
when running programs compiled under cygwin).

Regards,
Jayesh

-----Original Message-----
From: madfran [mailto:madfran at set-ezine.org] 
Sent: Wednesday, January 16, 2008 6:51 PM
To: Jayesh Krishna
Cc: mpich-discuss at mcs.anl.gov
Subject: RE: [MPICH] MPICH2 1.0.6 inder Windows without DOMAIN

Hi,...

1) ok

2) With the cpi.exe found in the directory
   c:\Program Files\MPICH2\bin
   and specifying  1000000000 I see both processors working at 100%

3) Both
   I installed from msi and compiled under cygwin.
   It is a mistake ?

madfran

On Mon, 14 Jan 2008 11:27:37 -0600, Jayesh Krishna wrote
> Hi,
> 
> 1) You do not need to install mpiexec (you only need to install smpd)  
> to use it.
> 2) Try specifying a higher number of iterations (say
> 1000) when running cpi.exe. 
> 3) Have you installed the windows
> version of MPICH2 from the installer ? (Or have you compiled MPICH2 
> under cygwin ?)
> 
> Regards,
> Jayesh
> 
> -----Original Message-----
> From: madfran [mailto:madfran at set-ezine.org]
> Sent: Saturday, January 12, 2008 1:06 PM
> To: Jayesh Krishna
> Cc: mpich-discuss at mcs.anl.gov
> Subject: RE: [MPICH] MPICH2 1.0.6 inder Windows without DOMAIN
> 
> Hi,...
> 
> >  >>>... execute "smpd.exe -install"." 
> >  >>>> In my WinXP, dont work.
> > 	This should work. Is there any specific error message that you see 
> > (Is smpd not working the way it is supposed to ?)?
> 
> The problem is they are no way to register and validate user/pass 
> because mpiexec is it not install
> 
> > 
> > >>>  How did you verify the CPU usage of your MPI pgm?
> > >>>>... With the Windows Task Manager
> > 	How many MPI processes did you launch for your MPI job. Try 
> > "mpiexec
> 
> > -n 2 cpi.exe" (Using cpi.exe from MPICH2\examples) and let us know 
> > the results.
> 
> Results from cpi (In the install directory, windows OS, size 86.016k) 
> C:\Program Files\MPICH2\bin>mpiexec -n 2 cpi.exe Enter the number of
> intervals: (0 quits) 1 pi is approximately 3.2000000000000002, Error 
> is
> 0.0584073464102071 wall clock time = 0.001599 Enter the number of
intervals:
> (0 quits) 2 pi is approximately 3.1623529411764704, Error is
> 
> 0.0207602875866773 wall clock time = 0.000153 Enter the number of
intervals:
> (0 quits) 0
> 
> > 
> > >>> Pgms compiled under cygwin don't work...
> > 	Please provide us as much details as possible so that we can help
> you
> > with your problem. Try compiling cpi.c in MPICH2\examples from 
> > cygwin and let us know if it works.
> >
> 
> Results from cpi (In the cygwin directory compiled, size 571.908k !) 
> C:\cygwin\tmp\mpi\mpich2-1.0.6p1\examples>mpiexec -n 2 cpi.exe
> [unset[unset]: unable to decode hostport from ]: unable to decode 
> hostport from 3280
> [3287
> [unset]: aborting job:
> unset]: aborting job:
> Fatal error in MPI_Init: Other MPI error, error stack:
> MPIR_Init_thread(294): Initialization failed
> MPID_Init(82)........: channel initialization failed
> MPID_Init(333).......: PMI_Init returned -1Fatal error in MPI_Init: 
> Other MPI er ror, error stack:
> MPIR_Init_thread(294): Initialization failed
> MPID_Init(82)........: channel initialization failed
> MPID_Init(333).......: PMI_Init returned -1
> 
> madfran





More information about the mpich-discuss mailing list