cygwin/MPI-question

Matthew Knepley knepley at gmail.com
Thu Oct 16 09:47:08 CDT 2008


On Thu, Oct 16, 2008 at 9:35 AM, Franz Th. Langer <eplanung at t-online.de> wrote:
> Hi Matt,
>
> thanks very much for help!
> you are right I am using the latest version.
>
> I found thedefinition of  MPIEXEC where mpiexec.exe is called.
>
> when I want to run my program with more than
> 1 proc, where do I tell the systems which nodes I like to have?
>
> is it enough  just to copy mpiexec.exe to the other nodes?

It is completely handled by the MPI implementation, not by PETSc or the
MPI standard. If this is MPICH, you would specify a procgroup file, which
is detailed in the MPICH documentation.

  Thanks,

    Matt

> (I am new to cygwin!)
>
> I was using rexecshell.exe all the time.
>
> regards
> Franz
>
>
> Matthew Knepley wrote:
>
> On Thu, Oct 16, 2008 at 5:42 AM, Franz Th. Langer <eplanung at t-online.de>
> wrote:
>
>
> Hi Satish,
>
> thanks very much for quick infos!
>
> I understand that I have to use  mpirun or mpiexec.
> (I still dont know how the system knows which procs can be used?)
>
> (in rexecshell one can fill in a list with the node-names)
>
> my questions arise out of the following situation:
>
> under cygwin:
>
> 1. I downloaded Petsc and made the necc. definitions
>
> 2. make all (everything ok!)
>
> 3. make test ( (everything ok!)
>
> under the tests there are also test for parallelizations!
>
> I still dont know how Petsc was doing this tests???
>
>
> I assume you are using the latest release. In bmake/$PETSC_ARCH/petscconf
> there is a definition of MPIRUN (or MPIEXEC) which is the location of that
> program and it used to run the test by make.
>
>   Matt
>
>
>
> I may have missed something , but I never found a call to mpirun or mpiexec?
>
> perhaps you can explain it?
>
> Best regards
> Franz
>
>
>
> Satish Balay wrote:
>
> On Thu, 16 Oct 2008, Franz Th. Langer wrote:
>
>
>
> Hi,
>
> System: Windows 2000, cygwin
> parallel computation with MPI
>
> (I am a newcomer to cygwin, I wrote a lot
> of par. progs for VC 6.0 +MPI.)
>
> compiling and linking of my par. petsc-program under cygwin is ok!
>
> I can run the program on 1 proc only!
>
> when I want to use more then 1 proc I am using Rexecshell!
> than the program querries about a wrong commandline?
>
> questions:
>
> -under cygwin: do I have to use  something else than Rexecshell?
> -what has than to be installed/initiated on the other procs?
>
>
> Cygwin is used only to build libraries. If you built PETSc with MPI -
> then you have to use the MPI startup mecanism [i.e mpiexec or mpirun]
> to start parallel MPI jobs.
>
> Satish
>
>
>
>
> --
> Mit freundlichen Grüßen
>
> Dipl.-Ing. Franz Theodor Langer (Geschäftsführer)
> -----------------------------------------------------------------
> E_Planung GmbH
> Planung + Berechnung für Wissenschaft und Technik im Ingenieurbau
>
> Schlüsselbergstraße 30, 81673 München, Tel. 089/454933-0 Fax -14
> Geschäftsnummer: HRB 90116, Gerichtsstand: München
>
>
>
>
>
> --
> Mit freundlichen Grüßen
>
> Dipl.-Ing. Franz Theodor Langer (Geschäftsführer)
> -----------------------------------------------------------------
> E_Planung GmbH
> Planung + Berechnung für Wissenschaft und Technik im Ingenieurbau
>
> Schlüsselbergstraße 30, 81673 München, Tel. 089/454933-0 Fax -14
> Geschäftsnummer: HRB 90116, Gerichtsstand: München
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list