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

Setting SWIGPy objects in VanillaMDSimulator makes it unserializable after being used once. #1039

Closed
hmacdope opened this issue May 5, 2024 · 0 comments · Fixed by #1058
Closed
Milestone

Comments

@hmacdope
Copy link
Collaborator

hmacdope commented May 5, 2024

md_simulator = VanillaMDSimulator(
            output_dir="md",
            equilibration_steps=1,
            num_steps=1,
            reporting_interval=1)

simulation_results = md_simulator.simulate(
            results,
            use_dask=False)


simulation_results_parallel = md_simulator.simulate(
            results_par,
            dask_client=gpu_client,
            failure_mode="skip",
            use_dask=True) # will fail to serialize 
@hmacdope hmacdope added this to the 0.4.1 milestone May 26, 2024
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

Successfully merging a pull request may close this issue.

1 participant