<div dir="ltr"><div class="gmail_quote"><span lang="EN-US" style="font-size:12pt;font-family:ËÎÌå"><a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(215,118,0)">Jayesh Krishna</span></a></span><span lang="EN-US" style="font-family:Arial,sans-serif">:</span><br>
<div dir="ltr"><p align="left"><span lang="EN-US" style="font-size:12pt;font-family:ËÎÌå"></span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> Hi ,thank you for reading my E-mail, I'm a
Chinese hydrodynamic student and helping my teacher to upgrade an old
software, but I am facing a problem now.</span><span style="line-height:17.25pt;font-family:Arial,sans-serif"> £º£¨</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> My system condition is :</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> Win7 64bit + VS2010 + IVF Composer XE 2011</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> I downloaded
"mpich2-1.4.1p1-win-ia3" and "mpich2-1.4.1p1-win-x86-64"
( I have tried both two .msi)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> I have run smpd.exe to install
MPICH (run as Administrator) and registered the servere (smpd.exe
-regserver)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> After creating a new IVF Console
Application project, I set :</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> 1</span><span style="font-family:ËÎÌå">¡¢</span><span lang="EN-US" style="font-family:Arial,sans-serif">Win32 to x64,</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> 2</span><span style="font-family:ËÎÌå">¡¢</span><span lang="EN-US" style="font-family:Arial,sans-serif"> Set
"Fortran\General\Additional Include Directories" to
"C:\Program Files (x86)\MPICH2\include;" (I have tried 64bit
too,but return the same result)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> 3</span><span style="font-family:ËÎÌå">¡¢</span><span lang="EN-US" style="font-family:Arial,sans-serif">
Set"Linker\General\Additional Library Directories" to
"C:\Program Files (x86)\MPICH2\lib;"</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> 4</span><span style="font-family:ËÎÌå">¡¢</span><span lang="EN-US" style="font-family:Arial,sans-serif">Set"Linker\Input\
Additional Dependencies" to "mpi.lib"</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> Then I wrote a piece code of
"Hello World" </span><span style="font-family:ËÎÌå">¡£</span><span lang="EN-US" style="font-family:Arial,sans-serif"></span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> program Lab</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> include 'mpif.h'</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> character * (MPI_MAX_PROCESSOR_NAME)
processor_name</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> integer myid,numprocs,namelen,rc,ierr</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> call MPI_INIT(ierr)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> call
MPI_COMM_RANK(MPI_COMM_WORLD,myid,ierr)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> call
MPI_COMM_SIZE(MPI_COMM_WORLD,numprocs,ierr)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> call
MPI_GET_PROCESSOR_NAME(processor_name,namelen,ierr)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> write(*,10) myid,numprocs,processor_name</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> 10 FORMAT('Hello
World!Process',I2,'of',I1,'on',20A)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> call MPI_FINALIZE(rc)</span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> </span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> end program Lab</span></p><p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"><br>
</span></p><p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"> But there is a error "Cannot open mpi.lib"</span></p><p align="left" style="line-height:17.25pt">
<span lang="EN-US" style="font-family:Arial,sans-serif"><img src="cid:ii_13cec55eff23ce77" alt="ÄÚǶͼƬ 1" width="412" height="410"></span></p><p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"><span>I'm sure that the file path is correct (I have tried 64bit already.)</span></span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif"><span><img src="cid:ii_13cec62aad60bdbf" alt="ÄÚǶͼƬ 2" width="412" height="257"><br></span></span></p>
<p align="left" style="line-height:17.25pt"><span lang="EN-US" style="font-family:Arial,sans-serif">I have search the answer in Google for two days, unfortunaly I'm failed. </span><span style="line-height:17.25pt"> I request you to give me some hints,Please. *__*..</span></p>
<p align="left" style="line-height:17.25pt"></p><div><div>Best regards</div></div><div> </div><p></p></div>
</div><br></div>