I am trying to run a test with large meshes on a cluster using apptainer. I have generated a .sif file from the docker image provided by dolfinx/dolfinx. I faced two issues while doing so. I would like to present them here -
- The first case is with a 21M DoF mesh. The code runs fine till about 768 cores (768 MPI tasks). Beyond that the code hangs while the mesh is being read/distributed (unable to exactly ascertain) over the MPI tasks.
- The second case is with a 40M DoF mesh. With the above limit in mind the first attempt was made on 768 cores. The following error was returned -
Traceback (most recent call last):
File "<path>", line 696, in <module>
msh, cell_tags, facet_tags, *_ = gmshio.read_from_msh("mesh/mesh4.msh" , MPI.COMM_WORLD, 0, gdim=nDim)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/dolfinx-real/lib/python3.12/dist-packages/dolfinx/io/gmsh.py", line 508, in read_from_msh
msh = model_to_mesh(gmsh.model, comm, rank, gdim=gdim, partitioner=partitioner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/dolfinx-real/lib/python3.12/dist-packages/dolfinx/io/gmsh.py", line 422, in model_to_mesh
mesh = create_mesh(
^^^^^^^^^^^^
File "/usr/local/dolfinx-real/lib/python3.12/dist-packages/dolfinx/mesh.py", line 775, in create_mesh
msh: _cpp.mesh.Mesh_float32 | _cpp.mesh.Mesh_float64 = _cpp.mesh.create_mesh(
^^^^^^^^^^^^^^^^^^^^^^
ValueError: vector::reserve
I would deeply appreciate any clarification on this matter.