Yaml parser:: Have one core read the yaml file #1569
Labels
enhancement
Issue/PR for a modification that increases performance, improves syntax, or adds functionality.
help wanted
Is your feature request related to a problem? Please describe.
Currently each core opens and parses the yaml file
Describe the solution you'd like
It will be good to have one root pe read and parse the file and broadcast the struct to the other ranks
This will probably required passing in a communicator from the fortran side and creating an mpi_type with the struct
https://rookiehpc.org/mpi/docs/mpi_type_create_struct/index.html
Describe alternatives you've considered
Leave it as it, but having only one reader will have less impact on the file system
Additional context
N/A
The text was updated successfully, but these errors were encountered: