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

Running Multiple Simulations In Separate Intances of Bluesky #482

Closed
nl22-nmsu opened this issue Sep 27, 2023 · 4 comments
Closed

Running Multiple Simulations In Separate Intances of Bluesky #482

nl22-nmsu opened this issue Sep 27, 2023 · 4 comments

Comments

@nl22-nmsu
Copy link

Hello,

I'm curious if it's possible to run two separate instances of BS at the same time. I have a plugin with two operating conditions and I'd like to run one operating condition in one instance of BS and the other operating condition in a separate instance of BS simultaneously (preferably with both of them time synced though this isn't mandatory).

I tried just opening a new instance using another terminal but it ended up copying the first instance that was already running.

Thanks,

@jooste
Copy link
Member

jooste commented Sep 28, 2023

Hi @nl22-nmsu,

By default, BlueSky is a multi-process application. From the gui you can start multiple simulation instances that can then be used to run several simulations in parallel. You can use the ADDNODES stack command, and/or look at the treeview in the bottom-right corner of the interface.

@nl22-nmsu
Copy link
Author

Perfect. How can I add nodes and reference into those nodes in a plugin?

@jooste
Copy link
Member

jooste commented Oct 24, 2023

What is it exactly that you want to do? Each node is a separate simulation instance, which can load its own plugins.

@nl22-nmsu
Copy link
Author

I realized that after I asked my last question. That accomplishes what I wanted to do. Thank you for the help!

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