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

Multi CPUs parallel execution #45

Closed
matbord opened this issue Jun 9, 2021 · 1 comment
Closed

Multi CPUs parallel execution #45

matbord opened this issue Jun 9, 2021 · 1 comment

Comments

@matbord
Copy link

matbord commented Jun 9, 2021

Hi,
where can I find an example of how to run my NS3 simulations in parallel with SEM using all my CPUs?
I'm actually using campaign.run_missing_simulations(params, runs=runs)

@DvdMgr
Copy link
Member

DvdMgr commented Jun 9, 2021

By default, all available CPUs are used. If you want to reduce this number (so that you have some free resources to run other programs, for instance), you can pass the max_parallel_processes argument when you create the CampaignManager object, specifying how many simulations should be launched in parallel (assuming you are using the current develop branch). I have updated the WiFi Plots example with this parameter.

@matbord matbord closed this as completed Jun 10, 2021
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