[mpich-discuss] [MSYS] fail to generate configure and makefile

Jayesh Krishna jayesh at mcs.anl.gov
Tue Jul 13 20:12:46 CDT 2010


Hi,
 Or you can try Cygwin as I mentioned before. Cygwin installation also comes with Mingw packages which might be what you are looking for.

Regards,
Jayesh

----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: "Feiyun Wang" <feiyunw at yahoo.com>
Cc: mpich-discuss at mcs.anl.gov
Sent: Tuesday, July 13, 2010 8:07:20 PM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] [MSYS] fail to generate configure and makefile

Hi,
 Last time I tried to test MPICH2 with Boost MPI I modified the Boost install scripts (bjam) manually to recognize MPICH2 on windows (This time I will remember to ping the Boost guys with my patch).
 I am currently on vacation and will be back to work next week. If you can wait for a couple of days I will try to provide you a patch to work with. Which version of Boost MPI are you using ?

Regards,
Jayesh
----- Original Message -----
From: "Feiyun Wang" <feiyunw at yahoo.com>
To: mpich-discuss at mcs.anl.gov
Cc: jayesh at mcs.anl.gov
Sent: Saturday, July 3, 2010 11:12:35 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] [MSYS] fail to generate configure and makefile

Hi Jayesh,

Thanks for your quick response.

The "./maint/updatefiles" command can generate the configure script on MSYS/MinGW/Windows.

The resulting configure script has the same sysv/mmap problem.
It looks like it is hopeless to use shared memory on MinGW, according to this post:
http://old.nabble.com/Problems-with-POSIX---Windows-Shared-Memory-in-MinGW-td23007015.html
Then I tried to switch to --with-device=ch3:sock, but it complains about missing of poll function.

Actually I am trying to use mpich2 in boost/MinGW build, boost::graph and boost::mpi specifically.
The problem of the mpich2 windows installer is that it hasn't mpic++ wrapper for MinGW g++ compiler, and the boost bjam cannot find the mpich2 implementation either.

Best regards,
Feiyun Wang



----- Original Message ----
From: Jayesh Krishna <jayesh at mcs.anl.gov>
To: mpich-discuss at mcs.anl.gov
Cc: feiyunw at 163.com
Sent: Sat, July 3, 2010 1:19:25 AM
Subject: Re: [mpich-discuss] [MSYS] fail to generate configure and makefile

Hi,
Looking at the output of the configure log I recommend that you install Cygwin (http://www.cygwin.com/) on your system. The error message shows that you do not have sysv/mmap support (required by the MPICH2 Nemesis channel for shared memory communication) on your system (looks like you have just installed the mingw compilers).
If you are not planning to modify MPICH2 code you could also try the windows installer (http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads) to install MPICH2 on your system. Some newer versions of the gcc compilers (I haven't tested mingw x.x yet) allow users to directly link with windows libraries.

Regards,
Jayesh
----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: mpich-discuss at mcs.anl.gov
Cc: feiyunw at 163.com
Sent: Friday, July 2, 2010 12:11:37 PM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] [MSYS] fail to generate configure and makefile

Hi,
Run the "maint/updatefiles" script which will create the configure script and other files required to compile MPICH2 (Or you could take the nightly snapshots that already have the files generated for you - http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/).

Regards,
Jayesh
----- Original Message -----
From: "Feiyun Wang" <feiyunw at yahoo.com>
To: mpich-discuss at mcs.anl.gov
Cc: feiyunw at 163.com
Sent: Friday, July 2, 2010 11:41:45 AM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] [MSYS] fail to generate configure and makefile

Hi,

I checked out mpich2 SVN trunk to c:\prj\mpich2 (rev.6844), and it comes without the configure script.
I tried to build it on MSYS/MinGW/WindowsXP but failed:

[quote]
$ cd /c/prj/mpich2/

jiehua at jiehua-PC /c/prj/mpich2
$ autoreconf
configure.in:736: error: possibly undefined macro: AC_MSG_WARN
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:995: error: possibly undefined macro: AC_ERROR
configure.in:2504: error: possibly undefined macro: AC_CXX_EXCEPTIONS
configure.in:2505: error: possibly undefined macro: AC_CXX_BOOL
configure.in:2506: error: possibly undefined macro: AC_CXX_NAMESPACES
configure.in:2523: error: possibly undefined macro: AC_CXX_NAMESPACE_STD
autoreconf: /usr/bin/autoconf-2.65 failed with exit status: 1
[/quote]

Then I downloaded mpich2-1.3a2.tar.gz, and the configure script in it can work under MSYS, but it failed to generate the Makefile at last. See the attached log file for details.

I have two questions:
1. What are the commands used to generate the configure script?
2. Why it failed to generate the Makefile on MSYS? Did I miss something? Or it simply does not support MSYS/MinGW?

Best regards,
Feiyun Wang


      


More information about the mpich-discuss mailing list