[mpich-discuss] mpich2-1.3.2 cygwin build error.

Jayesh Krishna jayesh at mcs.anl.gov
Wed Apr 27 13:22:53 CDT 2011


Hi,
>>  Windows pre-compiled binaries don't come with the compilers mpicc, mpicxx
 mpicc/mpicxx etc are compiler wrappers (convenience scripts). You can create your own in Cygwin (Most of the Cygwin users who use Windows libraries explicitly invoke the compiler, gcc, with the appropriate include/lib paths libs etc).

Regards,
Jayesh
----- Original Message -----
From: "Sunil Thomas" <sgthomas27 at gmail.com>
To: mpich-discuss at mcs.anl.gov
Cc: jayesh at mcs.anl.gov, chan at mcs.anl.gov
Sent: Wednesday, April 27, 2011 12:35:16 PM
Subject: Re: [mpich-discuss] mpich2-1.3.2 cygwin build error.


Hi! 

Thanks a lot for the response. I will try only disabling fortran support first. Hopefully that works.. 

I would prefer to have shared library support if possible. What are my other options on Windows if that's 
the case and mpich2-1.3.2 does not support it with cygwin? Should I use mngw? Is there any helpful 
documentation on it that you have? 

I need to build from source because the Windows pre-compiled binaries don't come with the compilers 
mpicc, mpicxx, etc. (atleast I have checked this from installing the pre-compiled binaries on my 
Windows machine previous to building from scratch) and I need these to build my application using 
MPI on cygwin...without which, as expected, I get the errors mpicc, mpicxx not found, etc.. 

Thanks again, 
--Sunil. 


On Wed, Apr 27, 2011 at 8:27 AM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote: 


And if you don't need fortran support disable it (./configure ... --disable-f77 --disable-fc ). 

-Jayesh 



----- Original Message ----- 
From: "Anthony Chan" < chan at mcs.anl.gov > 
To: mpich-discuss at mcs.anl.gov 
Sent: Wednesday, April 27, 2011 10:17:01 AM 
Subject: Re: [mpich-discuss] mpich2-1.3.2 cygwin build error. 


I am not sure cygwin shared library support is in 1.3.2p1. If you don't really 
need shared library support, you could remove configure option --enable-shared 
and see if things work OK. You also don't need --enable-fast=O2 since -O2 is 
the default. 

A.Chan 

----- Original Message ----- 
> Hi! 
> 
> My mpich2-1.3.2 cygwin build is failing (configure seems to complete 
> successfully 
> and I have done a make clean as instructed in the docs). 
> 
> *make[4]: Leaving directory 
> `/tmp/sgthomas/mpich2-1.3.2p1/src/binding/f90' 
> make[4]: Entering directory 
> `/tmp/sgthomas/mpich2-1.3.2p1/src/binding/f90' 
> FC 
> /cygdrive/c/Users/sgthomas/devl/mpich2-1.3.2p1/src/binding/f90/mpi.f90 
> make[4]: *** [mpi.lo] Error 1 
> make[4]: Leaving directory 
> `/tmp/sgthomas/mpich2-1.3.2p1/src/binding/f90' 
> make[3]: *** [all-redirect] Error 1 
> make[3]: Leaving directory 
> `/tmp/sgthomas/mpich2-1.3.2p1/src/binding/f90' 
> make[2]: *** [all-redirect] Error 1 
> make[2]: Leaving directory `/tmp/sgthomas/mpich2-1.3.2p1/src/binding' 
> make[1]: *** [all-redirect] Error 2 
> make[1]: Leaving directory `/tmp/sgthomas/mpich2-1.3.2p1/src' 
> make: *** [all-redirect] Error 2* 
> 
> I am testing this on 32 bit Windows 7. Attached is the c.txt and m.txt 
> files. I am 
> configuring this using: 
> 
> configure --prefix=<path/to>install --enable-fast=O2 --enable-shared 
> |& tee 
> c.txt 
> make VERBOSE=1 2>&1 | tee m.txt 
> 
> Any help to resolve this error is appreciated! 
> 
> Thanks, 
> --Sunil. 
> 
> _______________________________________________ 
> mpich-discuss mailing list 
> mpich-discuss at mcs.anl.gov 
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 
_______________________________________________ 
mpich-discuss mailing list 
mpich-discuss at mcs.anl.gov 
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 



More information about the mpich-discuss mailing list