On Sat, Feb 7, 2015 at 2:32 AM, <[email protected]> wrote:

> Dear developers,
>
> I tried a 3D mesh of 200x200x200 by using build_cube(), on 128 cores.
> However, it runs out of memory.
>

Make sure you use ParallelMesh for this size problem (the default from Mesh
is SerialMesh unless you compiled libMesh with the --enable-parmesh
option). SerialMesh will store the entire mesh on every processor while
ParallelMesh will partition the mesh across processors.


> I read the details of build_cube(), it seems that a global 200x200x200
> mesh is generated on every processor.
> If this is true, then the meshes are redundant.
>

In addition to the ParallelMesh suggestion, you could try generating a
smaller mesh, say 50x50x50, and call
MeshRefinement(mesh).uniformly_refine(2)

HTH,

Paul
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to