<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=GB2312" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I have used MinGW 4.5.2 kit from equation.com along with MPICH2 on
    my Windows 7 platform. It works well with both C and Fortran
    binding.<br>
    <br>
    <br>
    On 31-03-2011 22:21, ©влн wrote:
    <blockquote cite="mid:697383.85583.qm@web15007.mail.cnb.yahoo.com"
      type="cite">
      <style type="text/css"><!-- DIV {margin:0px;} --></style>
      <div style="font-family: arial,helvetica,sans-serif; font-size:
        13pt; color: rgb(0, 0, 0);">Hello,everyone. I am using MinGW (
        GCC v4.5.2) compined with MPICH2 in my win7 platform. All the
        softwares&nbsp; are downloaded from the official websites. <br>
        Now MinGW works well for an ordinary C/C++/fortran source file
        without MPI. but when turnning to a MPI source file , it can
        only compile with the -c option, but can't link. if link, the
        following error occurs:<br>
        ---<br>
        <font size="2">D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text+0x456):
          undefined reference to `__gxx_personality_sj0'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text+0x47b):
          undefined reference to `_Unwind_SjLj_Register'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text+0x4e8):
          undefined reference to `_Unwind_SjLj_Resume'<br>
          ...<br>
          ...<br>
          ...<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI8Cartcomm3SubEPKb[MPI::Cartcomm::Sub(bool
          const*) const]+0xc): undefined reference to
          `__gxx_personality_sj0'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI8Cartcomm3SubEPKb[MPI::Cartcomm::Sub(bool
          const*) const]+0x31): undefined reference to
          `_Unwind_SjLj_Register'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI8Cartcomm3SubEPKb[MPI::Cartcomm::Sub(bool
          const*) const]+0x138): undefined reference to
          `_Unwind_SjLj_Resume'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI8Cartcomm3SubEPKb[MPI::Cartcomm::Sub(bool
          const*) const]+0x143): undefined reference to
          `_Unwind_SjLj_Unregister'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win14Get_errhandlerEv[MPI::Win::Get_errhandler()
          const]+0xc): undefined reference to `__gxx_personality_sj0'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win14Get_errhandlerEv[MPI::Win::Get_errhandler()
          const]+0x31): undefined reference to `_Unwind_SjLj_Register'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win14Get_errhandlerEv[MPI::Win::Get_errhandler()
          const]+0xd2): undefined reference to `_Unwind_SjLj_Resume'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win14Get_errhandlerEv[MPI::Win::Get_errhandler()
          const]+0xdd): undefined reference to `_Unwind_SjLj_Unregister'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win9Get_groupEv[MPI::Win::Get_group()
          const]+0xc): undefined reference to `__gxx_personality_sj0'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win9Get_groupEv[MPI::Win::Get_group()
          const]+0x31): undefined reference to `_Unwind_SjLj_Register'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win9Get_groupEv[MPI::Win::Get_group()
          const]+0xd2): undefined reference to `_Unwind_SjLj_Resume'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZNK3MPI3Win9Get_groupEv[MPI::Win::Get_group()
          const]+0xdd): undefined reference to `_Unwind_SjLj_Unregister'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZN3MPI4File13Iwrite_sharedEPKviRKNS_8DatatypeE[MPI::File::Iwrite_shared(void
          const*, int, MPI::Datatype const&amp;)]+0xc): undefined
          reference to `__gxx_personality_sj0'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZN3MPI4File13Iwrite_sharedEPKviRKNS_8DatatypeE[MPI::File::Iwrite_shared(void
          const*, int, MPI::Datatype const&amp;)]+0x31): undefined
          reference to `_Unwind_SjLj_Register'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZN3MPI4File13Iwrite_sharedEPKviRKNS_8DatatypeE[MPI::File::Iwrite_shared(void
          const*, int, MPI::Datatype const&amp;)]+0xea): undefined
          reference to `_Unwind_SjLj_Resume'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZN3MPI4File13Iwrite_sharedEPKviRKNS_8DatatypeE[MPI::File::Iwrite_shared(void
          const*, int, MPI::Datatype const&amp;)]+0xf5): undefined
          reference to `_Unwind_SjLj_Unregister'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZN3MPI4File6IwriteEPKviRKNS_8DatatypeE[MPI::File::Iwrite(void
          const*, int, MPI::Datatype const&amp;)]+0xc): undefined
          reference to `__gxx_personality_sj0'<br>
          D:\MathProgF\MPICH2\lib/libmpicxx.a(initcxx.o):initcxx.cxx:(.text$_ZN3MPI4File6IwriteEPKviRKNS_8DatatypeE[MPI::File::Iwrite(void
          const*, int, MPI::Datatype const&amp;)]+0x31): undefined
          reference to `_Unwind_SjLj_Register'<br>
        </font>---------------<br>
        More detial infomation is appended in the attachment<br>
        can users tell me what's the matter and how to solve the
        problem?<br>
        <br>
        I had to say sth. else that if you use "<a
          moz-do-not-send="true"
          href="http://code.google.com/p/easymingwtoolkit/">easymingwtoolkit</a>"
        , everything works well, but it doesn't contain a fortran
        complier and I want to compile some .f90 file<br>
        <br>
        Many thanks, waiting for your reply<br>
        <div>&nbsp;</div>
        <font size="2"><span style="font-family: tahoma,new
            york,times,serif;"><span style="font-family: tahoma,new
              york,times,serif;"></span>---<br>
            Kong Tao</span></font><font size="2"><br style="font-family:
            tahoma,new york,times,serif;">
          <span style="font-family: tahoma,new york,times,serif;">School
            of Maths,Shandong Univ.</span><br>
        </font>
        <div><br>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mpich-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a>
</pre>
    </blockquote>
  </body>
</html>