<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=171461419-04022009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=171461419-04022009>&nbsp;Change your VS solution configuration to 
"Release" (the default is "Debug"). If you need to include debug information 
look into the VS project linker settings to add debug 
information.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=171461419-04022009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=171461419-04022009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=171461419-04022009>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> kuldeep matarasi 
[mailto:kuldeep22011984@yahoo.com] <BR><B>Sent:</B> Wednesday, February 04, 2009 
1:00 PM<BR><B>To:</B> Jayesh Krishna<BR><B>Subject:</B> RE: 
Hi<BR></FONT><BR></DIV>
<DIV></DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top>Thank you so much i was able to figure that out and i run 
      the program and i am getting this output which says no binaries built with 
      debug information.May i know about this?Thank You<BR><BR>'hellpmi.c.exe': 
      Loaded 'C:\Documents and Settings\kmatharasi\My Documents\Visual Studio 
      2005\Projects\hellpmi.c\debug\hellpmi.c.exe', Binary was not built with 
      debug information.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\mpich2mpi.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\mpich2.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\secur32.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\ws2help.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\mswsock.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\mpr.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\user32.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\msasn1.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\activeds.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\adsldpc.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\netapi32.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\atl.dll', 
      No symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\ntdsapi.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 'C:\Program Files\Google\Google 
      Desktop Search\GoogleDesktopNetwork3.dll', No symbols 
      loaded.<BR>'hellpmi.c.exe': Unloaded 'C:\Program Files\Google\Google 
      Desktop Search\GoogleDesktopNetwork3.dll'<BR>The thread 'Win32 Thread' 
      (0x118c) has exited with code 0 (0x0).<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\hnetcfg.dll', No symbols loaded.<BR>'hellpmi.c.exe': 
      Loaded 'C:\WINDOWS\system32\wshtcpip.dll', No symbols 
      loaded.<BR>First-chance exception at 0x7c812aeb in hellpmi.c.exe: 
      0x000006D9: There are no more endpoints available from the endpoint 
      mapper.<BR>'hellpmi.c.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll', No 
      symbols loaded.<BR>'hellpmi.c.exe': Loaded 
      'C:\WINDOWS\system32\rasadhlp.dll', No symbols loaded.<BR>The program 
      '[4844] hellpmi.c.exe: Native' has exited with code 0 
      (0x0).<BR><BR><BR><BR>--- On <B>Wed, 2/4/09, Jayesh Krishna 
      <I>&lt;jayesh@mcs.anl.gov&gt;</I></B> wrote:<BR>
      <BLOCKQUOTE 
      style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: 
        Jayesh Krishna &lt;jayesh@mcs.anl.gov&gt;<BR>Subject: RE: Hi<BR>To: 
        kuldeep22011984@yahoo.com<BR>Cc: mpich-discuss@mcs.anl.gov<BR>Date: 
        Wednesday, February 4, 2009, 11:59 PM<BR><BR>
        <DIV id=yiv711749717>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2>&nbsp;The error message says it 
        all,</FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2>==========================</FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009>cannot open input 
        file 'mpi.lib'</SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff 
        size=2>==========================</FONT></SPAN></FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2><SPAN 
        class=561322618-04022009></SPAN></FONT></SPAN>&nbsp;</DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2><SPAN class=561322618-04022009>&nbsp;Make sure that 
        you have specified the path to mpi.lib 
        correctly.</SPAN></FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2><SPAN 
        class=561322618-04022009></SPAN></FONT></SPAN>&nbsp;</DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2><SPAN class=561322618-04022009>(PS: You can ask 
        your system administrator to help you with the Visual Studio project 
        settings)</SPAN></FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2><SPAN 
        class=561322618-04022009>Regards,</SPAN></FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2><SPAN 
        class=561322618-04022009>Jayesh</SPAN></FONT></SPAN></DIV>
        <DIV dir=ltr align=left><SPAN class=561322618-04022009><FONT face=Arial 
        color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><BR>
        <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
        <HR tabIndex=-1>
        <FONT face=Tahoma size=2><B>From:</B> kuldeep matarasi 
        [mailto:kuldeep22011984@yahoo.com] <BR><B>Sent:</B> Wednesday, February 
        04, 2009 12:25 PM<BR><B>To:</B> jayesh@mcs.anl.gov<BR><B>Subject:</B> 
        RE: Hi<BR></FONT><BR></DIV>
        <DIV></DIV>
        <TABLE cellSpacing=0 cellPadding=0 border=0>
          <TBODY>
          <TR>
            <TD vAlign=top>Thank You so much Jayesh, i tried the steps that 
              you mentioned but this time it is giving a different error 
              message.Could you please let me know what i could do?Thank 
              You<BR>Kuldeep M<BR>1&gt;------ Build started: Project: hellpmic, 
              Configuration: Debug Win32 ------<BR>1&gt;Linking...<BR>1&gt;LINK 
              : fatal error LNK1181: cannot open input file 
              'mpi.lib'<BR>1&gt;Build log was saved at "file://c:\Documents and 
              Settings\kmatharasi\My Documents\Visual Studio 
              2005\Projects\hellpmi.c\hellpmi.c\Debug\BuildLog.htm"<BR>1&gt;hellpmi.c 
              - 1 error(s), 0 warning(s)<BR>========== Build: 0 succeeded, 1 
              failed, 0 up-to-date, 0 skipped ==========<BR><BR><BR>
              <BLOCKQUOTE 
              style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
                <DIV id=yiv372728333>
                <DIV class=gmail_quote><BR>
                <BLOCKQUOTE class=gmail_quote 
                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
                  <TABLE cellSpacing=0 cellPadding=0 border=0>
                    <TBODY>
                    <TR>
                      <TD 
                      style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" 
                      vAlign=top><BR><BR>--- On <B>Wed, 2/4/09, Jayesh Krishna 
                        <I>&lt;<A href="mailto:jayesh@mcs.anl.gov" target=_blank 
                        rel=nofollow>jayesh@mcs.anl.gov</A>&gt;</I></B> 
                        wrote:<BR>
                        <BLOCKQUOTE 
                        style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: 
                          Jayesh Krishna &lt;<A href="mailto:jayesh@mcs.anl.gov" 
                          target=_blank 
                          rel=nofollow>jayesh@mcs.anl.gov</A>&gt;<BR>Subject: 
                          RE: Hi<BR>To: <A 
                          href="mailto:kuldeep22011984@yahoo.com" target=_blank 
                          rel=nofollow>kuldeep22011984@yahoo.com</A><BR>Cc: <A 
                          href="mailto:mpich-discuss@mcs.anl.gov" target=_blank 
                          rel=nofollow>mpich-discuss@mcs.anl.gov</A><BR>Date: 
                          Wednesday, February 4, 2009, 9:42 PM<BR><BR>
                          <DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN>Hi,</SPAN></FONT></DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN>&nbsp;The linker error indicates that you 
                          have not specified the MPICH2 libraries as "Additional 
                          dependencies" for the linker.</SPAN></FONT></DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN>&nbsp;Specify the path of MPICH2 
                          libraries (the default path is "c:\program 
                          files\mpich2\lib") in "Additional library directories" 
                          (Project properties --&gt; Configuration properties 
                          --&gt; Linker --&gt; Additional library directories). 
                          Specify the MPICH2 libraries (mpi.lib) as "Additional 
                          dependencies" (Project properties --&gt; Configuration 
                          properties --&gt; Linker --&gt; Input --&gt; 
                          Additional dependencies).</SPAN></FONT></DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN>&nbsp;You can find this information in 
                          the windows developer's guide (available at <A 
                          href="http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs" 
                          target=_blank 
                          rel=nofollow>http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs</A>). 
                          You can also refer to the example project files 
                          installed with MPICH2 
                          (examples\examples.sln).</SPAN></FONT></DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN>&nbsp;Let us know if you still have 
                          problems.</SPAN></FONT></DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN></SPAN></FONT>&nbsp;</DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN>Regards,</SPAN></FONT></DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN>Jayesh</SPAN></FONT></DIV>
                          <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
                          size=2><SPAN></SPAN></FONT>&nbsp;</DIV><BR>
                          <DIV lang=en-us dir=ltr align=left>
                          <HR>
                          <FONT face=Tahoma size=2><B>From:</B> kuldeep matarasi 
                          [mailto:<A href="mailto:kuldeep22011984@yahoo.com" 
                          target=_blank 
                          rel=nofollow>kuldeep22011984@yahoo.com</A>] 
                          <BR><B>Sent:</B> Wednesday, February 04, 2009 9:57 
                          AM<BR><B>To:</B> <A href="mailto:jayesh@mcs.anl.gov" 
                          target=_blank 
                          rel=nofollow>jayesh@mcs.anl.gov</A><BR><B>Subject:</B> 
                          Hi<BR></FONT><BR></DIV>
                          <DIV></DIV>
                          <TABLE cellSpacing=0 cellPadding=0 border=0>
                            <TBODY>
                            <TR>
                              <TD vAlign=top><PRE>Hello,<BR>&nbsp;I'm a newbie in MPI ,i have a problem when trying to execute a "hello world" application. I'm using<BR>Microsoft Visual C++ 2005 on a Windows Machine and I have installed mpich2 on windows xp <BR><BR>I will be grateful to you if you could please help me fix.Thanks for your time.<BR>Regards<BR>Kuldeep M<BR><BR> <BR><BR>My code is:<BR><BR>#include "mpi.h"<BR>#include &lt;stdio.h&gt;<BR><BR>int main( int argc, char *argv[] )<BR><BR>{<BR>    MPI_Init( &amp;argc, &amp;argv );<BR>    printf( "Hello, world!\n" );<BR>    MPI_Finalize();<BR>    return 0;<BR>}<BR><BR>1&gt;------ Build started: Project: mpihello.c, Configuration: Debug Win32 ------<BR><BR>1&gt;Linking...<BR>1&gt;mpihello.obj : error LNK2019: unresolved external symbol _MPI_Finalize referenced in function _main<BR>1&gt;mpihello.obj : error LNK2019: unresolved external symbol _MPI_Init referenced<BR> in function
 _main<BR><BR>1&gt;C:\Documents and<BR> Settings\kmatharasi\My<BR> Documents\Visual Studio 2005\Projects\mpihello.c\Debug\mpihello.c.exe : fatal error LNK1120: 2 unresolved externals<BR>1&gt;Build log was saved at "file://c:\Documents and Settings\kmatharasi\My Documents\Visual Studio 2005\Projects\mpihello.c\mpihello.c\Debug\BuildLog.htm"<BR><BR>1&gt;mpihello.c - 3 error(s), 0 warning(s)<BR>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<BR></PRE></TD></TR></TBODY></TABLE><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></BODY></HTML>