<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi, Vijay, I can compile moab  now, thanks for your suggestion. --
    Huayi <br>
    <br>
    <div class="moz-cite-prefix">On 2014年08月17日 03:05, Vijay S.
      Mahadevan wrote:<br>
    </div>
    <blockquote
cite="mid:CAOcbyd1q+o88zjykP__Sd6oNn7Ce37zFizn8ypFZUZ_HR8Gw8g@mail.gmail.com"
      type="cite">
      <p dir="ltr">This looks like an error due to incompatible static
        and dynamic builds for dependencies. For your static builds, use
        - -with-pic or CXXFLAGS="-fPIC -DPIC". Reconfigure CGM and
        install first. Then try moab build again. Let us know if there
        are still problems. </p>
      <p dir="ltr">Vijay</p>
      <div class="gmail_quote">On Aug 16, 2014 10:30 AM, "Huayi Wei"
        <<a moz-do-not-send="true"
          href="mailto:huayiwei1984@gmail.com">huayiwei1984@gmail.com</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Hi, Moab dev,<br>
          <br>
          I configure moab like following:<br>
          ```<br>
           ./configure --prefix=/home/why/software/sigma/tmp
          --enable-shared --enable-debug --enable-igeom --enable-tools
          --enable-docs --disable-qvdual  --without-cgns --with-mpi
          --with-netcdf=/usr --with-hdf5 --with-zoltan=/usr/local/sigma/thirdparty/Zoltan
          --with-parmetis=/usr --with-cgm=/usr/local/sigma/1.0
          --with-vtk=/usr/local/sigma/thirdparty/VTK
          --with-vtk-lib-suffix=-6.0 CPPFLAGS="-I/usr/local/sigma/thirdparty/Zoltan/include
          " LIBS="-lzoltan -lparmetis -lmetis -lptscotch  -lptscotcherr
          -lptscotcherrexit"<br>
          ```<br>
          <br>
          When make, I met an error as following :<br>
          <br>
          ```<br>
          Making all in mbzoltan<br>
          make[3]: Entering directory `/home/why/software/sigma/src/moab/tools/mbzoltan'<br>
            CXX      mbpart.o<br>
          In file included from MBZoltan.hpp:27:0,<br>
                           from mbpart.cpp:1:<br>
          /usr/local/sigma/thirdparty/Zoltan/include/zoltan_cpp.h:151:7:
          warning: unused parameter ‘iperm’ [-Wunused-parameter]<br>
             int Order    ( int num_gid_entries,<br>
                 ^<br>
            CXXLD    mbpart<br>
          /usr/bin/ld: mbpart.o: undefined reference to symbol
          '_ZN11CubitStringD1Ev'<br>
          /usr/local/sigma/1.0/lib/libcgm.so.0: error adding symbols:
          DSO missing from command line<br>
          collect2: error: ld returned 1 exit status<br>
          make[3]: *** [mbpart] Error 1<br>
          make[3]: Leaving directory `/home/why/software/sigma/src/moab/tools/mbzoltan'<br>
          make[2]: *** [all-recursive] Error 1<br>
          make[2]: Leaving directory `/home/why/software/sigma/src/moab/tools'<br>
          make[1]: *** [all-recursive] Error 1<br>
          make[1]: Leaving directory `/home/why/software/sigma/src/moab'<br>
          make: *** [all] Error 2<br>
          ```<br>
          Does the problem come from libcgm.so.0. Please help me to
          fixed it. Thanks very much.<br>
          <br>
          Best<br>
          <br>
          Huayi<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>