[MOAB-dev] Error message when compiling the mbcoupler_test.cpp

Jie Wu jie.voo at gmail.com
Thu May 12 16:23:46 CDT 2016


Hi all,

My name is Jie and I am part of computational mechanics group at civil engineering dept. of Columbia university.

I am working on large deformation problems which may lead mesh distortions and a re-meshing become necessary. 

I would like to compile mbcoupler_test.cpp to learn how it transfer the variables from old to the new mesh.

Now I can successfully compile the codes in build/examples and they works good! But I cannot compile the codes in folder build/tools/mbcoupler by following the instructions in build/tools/readme.tools, which shows error message like following.

Do you have any idea for this problem? Thanks a lot!

Best,
Jie

DataCoupler.cpp:136:25: error: member access into incomplete
      type 'moab::ParallelComm'
  if (myPcomm && myPcomm->size() > 1) {
                        ^
./DataCoupler.hpp:34:7: note: forward declaration of
      'moab::ParallelComm'
class ParallelComm;
      ^
DataCoupler.cpp:161:12: error: member access into incomplete
      type 'moab::ParallelComm'
    myPcomm->proc_config().crystal_router()->gs_tran...
           ^
./DataCoupler.hpp:34:7: note: forward declaration of
      'moab::ParallelComm'
class ParallelComm;
      ^
DataCoupler.cpp:187:12: error: member access into incomplete
      type 'moab::ParallelComm'
    myPcomm->proc_config().crystal_router()->gs_tran...
           ^
./DataCoupler.hpp:34:7: note: forward declaration of
      'moab::ParallelComm'
class ParallelComm;
      ^
3 errors generated.
make[2]: *** [DataCoupler.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Coupler.cpp:344:45: error: no member named 'gs_transfer' in
      'moab::gs_data::crystal_data'
    (myPc->proc_config().crystal_router())->gs_trans...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
Coupler.cpp:388:45: error: no member named 'gs_transfer' in
      'moab::gs_data::crystal_data'
    (myPc->proc_config().crystal_router())->gs_trans...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
Coupler.cpp:611:45: error: no member named 'gs_transfer' in
      'moab::gs_data::crystal_data'
    (myPc->proc_config().crystal_router())->gs_trans...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
Coupler.cpp:638:43: error: no member named 'gs_transfer' in
      'moab::gs_data::crystal_data'
    myPc->proc_config().crystal_router()->gs_transfe...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
4 errors generated.
make[2]: *** [Coupler.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20160512/e28f6cc5/attachment.html>


More information about the moab-dev mailing list