added chare_types table for plain chares which store the chare types.
[charm.git] / src / ck-core / init.C
index 73ee1ca3bd3947192048ac2dbbd9ac417b26b110..3ae23e06e6425d477d65e8a5a6862f5c8a3d6e09 100644 (file)
@@ -162,6 +162,7 @@ CkpvStaticDeclare(PtrVec*, _bocInitVec);
 
 #ifndef CMK_CHARE_USE_PTR
 CpvExtern(CkVec<void *>, chare_objs);
+CpvExtern(int, chare_types);
 CpvExtern(CkVec<VidBlock *>, vidblocks);
 #endif
 
@@ -858,6 +859,7 @@ void _initCharm(int unused_argc, char **argv)
 #ifndef CMK_CHARE_USE_PTR
           /* chare and vidblock table */
         CpvInitialize(CkVec<void *>, chare_objs);
+        CpvInitialize(CkVec<int>, chare_types);
         CpvInitialize(CkVec<VidBlock *>, vidblocks);
 #endif