[cig-commits] r6617 - in short/3D/PyLith/branches/pylith-0.8/pylith3d: examples/lintet/vistest module

knepley at geodynamics.org knepley at geodynamics.org
Fri Apr 20 08:37:43 PDT 2007


Author: knepley
Date: 2007-04-20 08:37:42 -0700 (Fri, 20 Apr 2007)
New Revision: 6617

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/vistest/pylith3d.cfg
   short/3D/PyLith/branches/pylith-0.8/pylith3d/module/mesh.cc
Log:
Minimally running 0.8 with new PETSc


Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/vistest/pylith3d.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/vistest/pylith3d.cfg	2007-04-20 03:24:08 UTC (rev 6616)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/examples/lintet/vistest/pylith3d.cfg	2007-04-20 15:37:42 UTC (rev 6617)
@@ -2,6 +2,9 @@
 # specifying a different configuration file on the command-line, these
 # are the values that will be used.
 
+[pylith3d.launcher]
+command = /PETSc3/petsc/petsc-dev/externalpackages/mpich2-1.0.4p1/linux-gnu-cxx-f90-debug/bin/mpiexec -np ${nodes}
+
 [pylith3d]
 # PETSc options
 log_summary = true

Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/mesh.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/mesh.cc	2007-04-20 03:24:08 UTC (rev 6616)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/mesh.cc	2007-04-20 15:37:42 UTC (rev 6617)
@@ -363,7 +363,7 @@
   ierr = PetscObjectCompose((PetscObject) self->A, "mesh", (PetscObject) self->mesh);
 
   VecScatter injection = NULL;
-  ierr = MeshGetGlobalScatter(self->mesh, &injection);
+  ierr = MeshCompatGetGlobalScatter(self->mesh, &injection);
   ierr = PetscObjectCompose((PetscObject) self->rhs, "mesh",      (PetscObject) self->mesh);
   ierr = PetscObjectCompose((PetscObject) self->rhs, "injection", (PetscObject) injection);
   ierr = PetscObjectCompose((PetscObject) self->sol, "mesh",      (PetscObject) self->mesh);



More information about the cig-commits mailing list