#1494 Expand the interface of BackupRestoreFacility
|Reported by||Dominic Kempf (firstname.lastname@example.org)|
|Reported at||Sep 24, 2014 18:48|
|Version||Git (pre2.4) [autotools]|
|Operating System||Unspecified / All|
While implementing a BackupRestoreFacility for YaspGrid I tripped over a small detail the interface.
The interface allows me to create a set of files with names based on a given name and some implementation specific extensions. I want to use the rank as such extension for a parallel grid.
When I want to restore such grid, I need to know the rank of my process to pick the correct file. To get it, I need to know which communicator the grid is supposed to be attached to. With the current interface, I can only assume MPI_COMM_WORLD to be that communicator.
I therefore propose to add a second parameter with the communicator to the restore method(s), which defaults to MPI_COMM_WORLD.