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

Asynchronous Xopt does not make a dump file #234

Open
ndwang opened this issue Jun 25, 2024 · 2 comments
Open

Asynchronous Xopt does not make a dump file #234

ndwang opened this issue Jun 25, 2024 · 2 comments

Comments

@ndwang
Copy link

ndwang commented Jun 25, 2024

Hi, I recently updated my xopt from 1.4.1 to 2.2.2. I noticed that running Xopt in parallel (processes, threads, MPI) does not make a dump file anymore. This makes it difficult to see the data and resume halted optimizations.

I'm running https://github.com/ChristopherMayes/Xopt/blob/main/docs/examples/basic/xopt_parallel.ipynb
The only modification I made is adding dump_file: dump.yaml to the initialization file.

@ChristopherMayes
Copy link
Collaborator

It looks like this is a bug: #235

@ndwang What generator are you using? CNSGA now has its own population file output, which you can restart with. You don't need the dump file for that.

@ndwang
Copy link
Author

ndwang commented Jun 25, 2024

It looks like this is a bug: #235

@ndwang What generator are you using? CNSGA now has its own population file output, which you can restart with. You don't need the dump file for that.

@ChristopherMayes Thanks for looking into this. I found xopt.utils.read_xopt_csv can parse populations files easily and do basically the same thing. I just really liked X = Xopt.from_file('dump.yaml')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants