<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Hi Lucian,</div>
<div><br>
</div>
<div>Unfortunately, we haven't supported Windows since MPICH version 1.4.1p1. You can find out more at the FAQ page:
<a href="http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_an">
http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_an</a>ymore.3F</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Wesley</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Lucian Anton<br>
<span style="font-weight:bold">Reply-To: </span>"<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>"<br>
<span style="font-weight:bold">Date: </span>Wednesday, March 18, 2015 at 5:46 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>"<br>
<span style="font-weight:bold">Subject: </span>[mpich-discuss] mpich-3.1.4 compilation fails on cygwin 1.7.35<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">I tried to compile mpich-1.1.4 on cygwin 1.7.35 with the following configure flags:
<div><br>
</div>
<div>
<div>$ gcc --version</div>
<div>gcc (GCC) 4.9.2</div>
</div>
<div><br>
</div>
<div> ./configure --prefix=/home/lanton/Apps/mpich-3.1.4-install --enable-fortran=yes --with-pm=gforker --enable-threads=serialized --enable-romio --disable-cxx  --enable-static --disable-shared<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>make fail with following error message:</div>
<div><br>
</div>
<div>
<div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src/include -I./src/include -I./src/mpi/datatype -I./src/mpi/spawn -Isrc/util/logging/common -I./src/util/wrappers -I./src/util/wrappers -I/home/lanton/Apps/mpich-3.1.4/src/binding/fortran/mpif_h -Isrc/binding/fortran/use_mpi
 -I./src/mpid/ch3/include -I./src/mpid/ch3/include -I./src/mpid/ch3/channels/nemesis/include -I./src/mpid/ch3/channels/nemesis/include -I./src/mpid/ch3/channels/nemesis/utils/monitor -I./src/mpid/common/datatype -I./src/mpid/common/datatype -I./src/mpid/common/sched
 -I./src/mpid/common/thread -I./src/pmi/simple -I/home/lanton/Apps/mpich-3.1.4/src/mpl/include -I/home/lanton/Apps/mpich-3.1.4/src/mpl/include -I/home/lanton/Apps/mpich-3.1.4/src/openpa/src -I/home/lanton/Apps/mpich-3.1.4/src/openpa/src -D_REENTRANT -I/home/lanton/Apps/mpich-3.1.4/src/mpi/romio/include
 -O2 -MT src/mpi/pt2pt/lib_libmpi_la-greq_start.lo -MD -MP -MF src/mpi/pt2pt/.deps/lib_libmpi_la-greq_start.Tpo -c src/mpi/pt2pt/greq_start.c -o src/mpi/pt2pt/lib_libmpi_la-greq_start.o</div>
<div>src/mpi/pt2pt/greq_start.c:234:5: error: function ‘MPIX_Grequest_class_create’ part of alias cycle</div>
<div> int MPIX_Grequest_class_create(MPI_Grequest_query_function *query_fn,</div>
<div>     ^</div>
<div>src/mpi/pt2pt/greq_start.c:331:5: error: function ‘MPIX_Grequest_class_allocate’ part of alias cycle</div>
<div> int MPIX_Grequest_class_allocate(MPIX_Grequest_class greq_class, void *extra_state, MPI_Request *request) __attribute__((weak,alias("MPIX_Grequest_class_allocate")));</div>
<div>     ^</div>
<div>src/mpi/pt2pt/greq_start.c:376:5: error: function ‘MPIX_Grequest_start’ part of alias cycle</div>
<div> int MPIX_Grequest_start( MPI_Grequest_query_function *query_fn,</div>
<div>     ^</div>
<div>Makefile:29186: recipe for target 'src/mpi/pt2pt/lib_libmpi_la-greq_start.lo' failed</div>
<div>make[2]: *** [src/mpi/pt2pt/lib_libmpi_la-greq_start.lo] Error 1</div>
<div>make[2]: Leaving directory '/home/lanton/Apps/mpich-3.1.4'</div>
<div>Makefile:40727: recipe for target 'all-recursive' failed</div>
<div>make[1]: *** [all-recursive] Error 1</div>
<div>make[1]: Leaving directory '/home/lanton/Apps/mpich-3.1.4'</div>
<div>Makefile:10139: recipe for target 'all' failed</div>
<div>make: *** [all] Error 2</div>
</div>
<div><br>
</div>
<div>----</div>
<div><br>
</div>
<div>To avoid the weak aliases I have tried builds with configure CPPFLAGS set to -DHAVE_PRAGMA_WEAK or -DHAVE_PRAGMA_HP_SEC_DEF. </div>
<div>In this case the sources are compiled by the link fails because of unresolved symbols.</div>
<div><br>
</div>
<div><br>
</div>
<div>Any hint would be much appreciated,</div>
<div><br>
</div>
<div>Lucian Anton</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>