From: Joachim Worringen <joachim@lfbs.rwth-aachen.de>
Newsgroups: comp.parallel.mpi
Subject: Re: MPI and the cyg-win32 gcc/g77 compilers
Date: Thu, 27 May 1999 13:05:07 +0200
Organization: Chair for Operating Systems, RWTH Aachen
Message-Id: <374D26E3.C6C6437B@lfbs.rwth-aachen.de>
References: <374C10F5.D2BA0775@bigfoot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:5133


Anthony Caola wrote:
> 
> Hello --
> 
> I am interested in running my MPI-based research code under Windows
> using the Cygnus cyg-win32 gcc and g77 compilers.  Does anyone know:
> 
> 1 - Is there a way to build MPICH under these compilers?

The MPIR (everything in mpich/src) layer should pose no severe problems
once you got the configure & includes right. The problem is the MPID
layer (mpich/mpid): the MPICH distribution currently does not contain a
device which is usable under NT.

> 2 - Will WMPI work with these compilers?  What would a typical compile
> command look like that links in the ".lib" files to build an executable?

This is how it looks like under Solaris x86:

joachim@laforge $ mpicc_shmem cpi.c -o cpi -show
cc -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1
-I/usr/local/mpich-1.1.2/include
-I/usr/local/mpich-1.1.2/build/solaris86/ch_shmem/include -c cpi.c
cc -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1
-L/usr/local/mpich-1.1.2/build/solaris86/ch_shmem/lib cpi.o -o cpi
-lpmpich -lmpich -lthread -lnsl -laio

Should be similar for gcc/g77.

 Joachim

-- 
|  _      |  Joachim Worringen
|_|_`__   |  Lehrstuhl fuer Betriebssysteme, RWTH Aachen
  | |__)  |  http://www.lfbs.rwth-aachen.de/~joachim
    |__)S |  joachim@lfbs.rwth-aachen.de

