[mpich-discuss] Build MPICH2-1.0.8 for Windows in VS 2005

Jayesh Krishna jayesh at mcs.anl.gov
Fri Nov 14 17:02:28 CST 2008


 Hi,
  You should look into the batch file, makewindist.bat, to see the right
configurations to use to build MPICH2. If you are only developing MPI
applications (and not modifying MPICH2 code) you don't need to compile
MPICH2 on windows - the MPICH2 sdk can be installed using the MSI
installer available at the MPICH2 downloads page
(http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=dow
nloads).
  Let us know if you need help.

(PS: Most of the warnings that you see would be related to not using
windows specific secure versions of string manipulation functions. Let us
know if you are concerned about any particular warning message during the
compilation.)

Regards,
Jayesh

-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Hiatt, Dave M 
Sent: Friday, November 14, 2008 3:39 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] Build MPICH2-1.0.8 for Windows in VS 2005

I read the documentation and got the impression that it was possible to
build MPICH2 using the mpichs.sln

I'm using VS2005, and Perl.  After running winconfigure.wsf with the
--remove-fortran --cleancode options; I started VS and opened the
solution.  21 projects loaded.

Of those a number built with no problem.  A significant group of others
had errors, that in general always had to do with creating a proper path
to a missing header file location.  In addition many of the projects had
numerous warnings.  I mention this because I believe I read that the
system should build error and warning free.  So I found this more than a
little disconcerting and began to wonder if it was indeed supported to
build directly from Windows.

But when building the project mpich2 I ran into a more significant
problem.  Prior to this I had two cases of linking failing because paths
to a required "lib" was not correct or added.  In each case I could do a
search with Windows explored and find the needed lib.  However in this
case, no lib named as required was found.  The case is, mpich2 project is
looking for "sockd.lib".  This lib is not mentioned that I can find
anywhere.  There is a "sockpd.lib" built, but not a sockd.lib.

Is anyone else building 2-1.0.8 directly in Visual Studio, and in
particular VS2005?  If so, have you seen this issue as well as the
warnings and other mapping problems in the projects, or have I simply
missed something along the way.

Any ideas would be greatly appreciated.

Dave

If you lived here you'd be home by now
Dave Hiatt
Manager, Market Risk Systems Integration CitiMortgage, Inc.
1000 Technology Dr.
Third Floor East, M.S. 55
O'Fallon, MO 63368-2240

Phone:	636-261-1408
Mobile:	314-452-9165
FAX:	636-261-1312
Email:     Dave.M.Hiatt at citigroup.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20081114/ea9542fc/attachment.htm>


More information about the mpich-discuss mailing list