-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Are there any linked Issues or Pull Requests?
Brief description
When reading a multigrid mesh file, by default all meshes this file contains are partitioned. This behaviour is suitable for lfric jobs, as all meshes need to be partitioned. In lfric2lfric this is not true, and only the source and destination meshes need to be partitioned. In any case, partitioning all meshes in the multigrid mesh file imposes a series of conditions regarding the number of CPUs that can be used in a job. This can be a limitation in lfric2lfric, given that already the source and destination meshes can be very different.
One simple solution is for lfric2lfric to just read mesh files containing one single mesh. For flexibility though, it would be desirable that lfric2lfric just partitioned, and made checks on mesh dimensions against CPU number, on the source and destination meshes. This functionality is already present in lfric_core via the any_maps parameter of the get_partition subroutine of the panel_decomposition_type object. On the other hand, this object subroutine is not called directly in most applications, so this functionality should be made more accessible.
Further details of the issue.
No response