skip netfem for multicore version.
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 19 Mar 2008 18:00:49 +0000 (18:00 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 19 Mar 2008 18:00:49 +0000 (18:00 +0000)
examples/fem/simple2D/pgm.C

index 2a78f1b1dcc218d067023ff742f4274804073edb..72438f4e22126aa416b2b56dc5cb15441b0f2c7f 100644 (file)
@@ -217,6 +217,7 @@ driver(void)
       FEM_Migrate();
     
     if (t%1024==0) { //Publish data to the net
+#if ! CMK_MULTICORE
            NetFEM n=NetFEM_Begin(FEM_My_partition(),t,2,NetFEM_POINTAT);
            
            NetFEM_Nodes(n,nnodes,(double *)g.coord,"Position (m)");
@@ -229,6 +230,7 @@ driver(void)
                NetFEM_Scalar(n,g.S12,1,"Shear Stress (pure)");
            
            NetFEM_End(n);
+#endif
     }
   }