Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yaml parser:: Have one core read the yaml file #1569

Open
uramirez8707 opened this issue Aug 5, 2024 · 0 comments
Open

Yaml parser:: Have one core read the yaml file #1569

uramirez8707 opened this issue Aug 5, 2024 · 0 comments
Labels
enhancement Issue/PR for a modification that increases performance, improves syntax, or adds functionality. help wanted

Comments

@uramirez8707
Copy link
Contributor

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

@uramirez8707 uramirez8707 added enhancement Issue/PR for a modification that increases performance, improves syntax, or adds functionality. help wanted labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR for a modification that increases performance, improves syntax, or adds functionality. help wanted
Projects
None yet
Development

No branches or pull requests

1 participant