<html><head><meta http-equiv="Content-Type" content="text/html charset=big5"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F">http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F</a><div><br><div><div>On Jul 16, 2013, at 8:44 AM, Wen-Chung Liu <ken80135@gmail.com> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Dear allĄG<div><br></div><div>I've simply try to compile the example file fpi.f with g95 compiler.</div><div><br></div><div>My OS is Windows 7 64 bits. Therefore, I use <span style="color:rgb(102,102,102);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">1.4.1p1 x86_64</span><span style="font-size:13px;line-height:18px"><font face="arial, helvetica, sans-serif"> <font>version of MPICH2.</font></font></span></div>
<div><br></div><div>And I got errors listed below:</div><div><br></div><div><div>C:\Program Files\MPICH2\examples>g95 -I"C:/Program Files/MPICH2/include" -L"C:/Program Files/MPICH2/lib" fpi.f -lfmpich2g</div>
<div><br></div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.text+0x1e): undefined reference to `mpi_init__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.text+0x42): undefined reference to `mpi_comm_rank__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.text+0x66): undefined reference to `mpi_comm_size__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.text+0x248): undefined reference to `mpi_bcast__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.text+0x3a9): undefined reference to `mpi_reduce__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.text+0x465): undefined reference to `mpi_finalize__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x0): undefined reference to `mpi_comm_dup_fn__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x4): undefined reference to `mpi_comm_null_delete_fn__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x8): undefined reference to `mpi_conversion_fn_null__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0xc): undefined reference to `mpi_dup_fn__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x10): undefined reference to `mpi_comm_null_copy_fn__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x14): undefined reference to `mpi_null_copy_fn__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x18): undefined reference to `mpi_null_delete_fn__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x1c): undefined reference to `mpi_type_dup_fn__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x20): undefined reference to `mpi_type_null_delete_fn__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x24): undefined reference to `mpi_win_dup_fn__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x28): undefined reference to `mpi_win_null_copy_fn__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x2c): undefined reference to `mpi_win_null_delete_fn__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x30): undefined reference to `mpi_wtime__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x34): undefined reference to `mpi_wtick__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x38): undefined reference to `pmpi_wtime__'</div><div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x3c): undefined reference to `pmpi_wtick__'</div>
<div>C:\Users\Troy\AppData\Local\Temp/ccUROg3z.o:fpi.f:(.data+0x40): undefined reference to `mpi_type_null_copy_fn__'</div></div><div><br></div><div>I've try to run mpi.exe with mpiexec. It works well. I've also reinstall MPICH2, but get same errors.<br>
<br>What steps did I lost? Could anyone give me some advises?</div><div><br></div><div>best</div><div>regards,</div><div><br></div><div>Troy</div></div>
_______________________________________________<br>discuss mailing list discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss</blockquote></div><br></div></body></html>