On Fri, 15 Feb 2013, John Peterson wrote:
Yeah, as long as it compiles. If !LIBMESH_HAVE_MPI, libMesh::COMM_WORLD is an
int, right?
does code like this
ierr = VecCreateGhost (libMesh::COMM_WORLD, petsc_n_local, petsc_n,
petsc_n_ghost, petsc_ghost,
&_vec);
ierr = MatCreate(libMesh::COMM_WORLD, &_mat);
still compile?
Yup. Check out the NoMPI steps on that first BuildBot link I sent
you. We test Laspack in a later set of steps; for NoMPI we link
against a serial-configured PETSc.
Now, admittedly, this is kind of cheating on our part - when coding up
the Parallel:: stuff I picked our fallback communicator datatype to
match the serial PETSc APIs. We don't currently have any tests for
using Trilinos without MPI, and I've no idea if Trilinos makes that
possible or if we'd be compatible with the result.
---
Roy
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel