[vtk-developers] Using MPI/Pro with pcmaker

Moreland, Kenneth kmorel at sandia.gov
Wed Sep 19 10:08:25 EDT 2001


I noticed that when using the MPI/Pro implementation of MPI on Win32, the
pcmaker program does not correctly build a make file to include the proper
library.  Bellow are the changes I made to the getclasses.cxx source file of
pcmaker to fix this problem.

-Ken

   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********  
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      fax:   (505) 844-9297


1383c1383
<       sprintf(fname,"%s\\mpi.lib",vals->adlg.m_WhereMPILibrary);
---
>       sprintf(fname,"%s\\MPIPro.lib",vals->adlg.m_WhereMPILibrary);
1387c1387
<         sprintf(libs,"mpi.lib");
---
>         sprintf(libs,"MPIPro.lib");
1392c1392,1402
<         sprintf(libs,"");
---
>         sprintf(fname,"%s\\mpi.lib",vals->adlg.m_WhereMPILibrary);
>         testfp = fopen(fname,"r");
>         if (testfp)
>           {
>           sprintf(libs,"mpi.lib");
>           fclose(testfp);
>           }
>         else
>           {
>           sprintf(libs,"");
>           }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2203 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20010919/a13b96e8/attachment-0001.bin>


More information about the vtk-developers mailing list