Test entry method templates: register EPs and reducers in initnode, not initproc...
authorPhil Miller <mille121@illinois.edu>
Mon, 9 Apr 2012 00:33:28 +0000 (19:33 -0500)
committerPhil Miller <mille121@illinois.edu>
Mon, 9 Apr 2012 00:33:28 +0000 (19:33 -0500)
tests/charm++/method_templates/pgm.ci

index 2c5da2d7b15b755e3a9300cd6b097e3a48b0bdd8..108d1513503ef66c26813594932af1801fb3ef4b 100644 (file)
@@ -2,11 +2,11 @@ mainmodule client  {
   extern module mylib;
   include "utils.h";
 
   extern module mylib;
   include "utils.h";
 
-  initproc register_instantiations();
+  initnode register_instantiations();
   extern entry void libArray doSomething(cntType&, CkReduction::reducerType&, CkCallback&);
   extern entry void libArray doSomething(avg&, CkReduction::reducerType&, CkCallback&);
 
   extern entry void libArray doSomething(cntType&, CkReduction::reducerType&, CkCallback&);
   extern entry void libArray doSomething(avg&, CkReduction::reducerType&, CkCallback&);
 
-  initproc register_reducers();
+  initnode register_reducers();
 
   mainchare pgm {
     entry pgm (CkArgMsg *m);
 
   mainchare pgm {
     entry pgm (CkArgMsg *m);