[MOAB-dev] r4842 - in MOAB/trunk/src/parallel: . moab

Hong-Jun Kim hongjun at mcs.anl.gov
Wed May 18 14:21:36 CDT 2011


No, It is my fault.
Let me change it in 5 minutes.
Sorry about this.

-----------------------------
Hong-Jun Kim
Post-doc researcher
MCS, Argonne National Laboratory
9700 S. Cass Ave. B240/R2147
Argonne, IL 60439
630-252-4791
hongjun at mcs.anl.gov
-----------------------------

----- Original Message -----
From: "Iulian Grindeanu" <iulian at mcs.anl.gov>
To: "Hong-Jun Kim" <hongjun at mcs.anl.gov>
Sent: Wednesday, May 18, 2011 2:16:34 PM
Subject: Re: [MOAB-dev] r4842 - in MOAB/trunk/src/parallel: . moab

Hi Hong-Jun,
I have these errors:
make[4]: Entering directory `/nfs/mcs-homes129/iulian/myMoab/MOAB/src/parallel'
make  all-am
make[5]: Entering directory `/nfs/mcs-homes129/iulian/myMoab/MOAB/src/parallel'
  CXX    ParallelComm.lo
ParallelComm.cpp:7342: error: no ‘void moab::ParallelComm::print_mesh()’ member function declared in class ‘moab::ParallelComm’
errmem.h:52: warning: ‘void buffer_reserve_(buffer*, size_t, const char*)’ defined but not used
tuple_list.h:62: warning: ‘void tuple_list_grow(tuple_list*)’ defined but not used
make[5]: *** [ParallelComm.lo] Error 1
make[5]: Leaving directory `/nfs/mcs-homes129/iulian/myMoab/MOAB/src/parallel'

Do I have to rebuild everything?

Iulian

----- Original Message -----
> Author: hongjun
> Date: 2011-05-18 13:19:49 -0500 (Wed, 18 May 2011)
> New Revision: 4842
> 
> Modified:
> MOAB/trunk/src/parallel/ParallelComm.cpp
> MOAB/trunk/src/parallel/moab/ParallelComm.hpp
> Log:
> o "exchange_owned_meshs" and "exchange_owned_mesh" functions are added
> o They exchange input mesh entities and sets between processors
> o All exchanged entities have shared proc/handle tag information
> o "exchange_owned_meshs" calles "exchange_owned_mesh" twice to
> exchange entities before exchanging sets
> o Test program is not created yet
> o Passes "make check"
> 
> 
> Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
> ===================================================================
> --- MOAB/trunk/src/parallel/ParallelComm.cpp 2011-05-18 06:20:37 UTC
> (rev 4841)
> +++ MOAB/trunk/src/parallel/ParallelComm.cpp 2011-05-18 18:19:49 UTC
> (rev 4842)
> @@ -53,6 +53,7 @@
> int RESOLVE_START, RESOLVE_END;
> int ENTITIES_START, ENTITIES_END;
> int RHANDLES_START, RHANDLES_END;
> +int OWNED_START, OWNED_END;
> #endif
> 
> namespace moab {
> @@ -120,21 +121,21 @@
> void PACK_DBLS( unsigned char*& buff, const double* dbl_val, size_t
> num )
> { PACK( buff, dbl_val, num ); PC(num, " doubles"); }
> 
> -//static inline
> -//void PACK_DBL( unsigned char*& buff, const double dbl_val)
> -//{ PACK_DBLS( buff, &dbl_val, 1 ); }
> +static inline
> +void PACK_DBL( unsigned char*& buff, const double dbl_val)
> +{ PACK_DBLS( buff, &dbl_val, 1 ); }
> 
> static inline
> void PACK_EH( unsigned char*& buff, const EntityHandle* eh_val, size_t
> num )
> { PACK( buff, eh_val, num ); PC(num, " handles"); }
> 
> -//static inline
> -//void PACK_CHAR_64( unsigned char*& buff, const char* str )
> -//{
> -// memcpy(buff, str, 64 );
> -// buff += 64;
> -// PC(64, " chars");
> -//}
> +static inline
> +void PACK_CHAR_64( unsigned char*& buff, const char* str )
> +{
> + memcpy(buff, str, 64 );
> + buff += 64;
> + PC(64, " chars");
> +}
> 
> static inline
> void PACK_VOID( unsigned char*& buff, const void* val, size_t num )
> @@ -179,13 +180,13 @@
> void UNPACK_EH( unsigned char*& buff, EntityHandle* eh_val, size_t num
> )
> { UNPACK(buff, eh_val, num); UPC(num, " handles"); }
> 
> -//static inline
> -//void UNPACK_CHAR_64( unsigned char*& buff, char* char_val )
> -//{


More information about the moab-dev mailing list