Skip to content

Help with choosing compute instance for adjoint optimization (Meep Parallel ) on AWS/GCP platform #2584

Answered by smartalecH
satadrudas asked this question in Q&A
Discussion options

You must be logged in to vote

So basically all we have to do is add a mp.divide_parallel_processes to the code and launch the program with mpirun and specify the number of core and the parallelization taken care of by meep itself?

No, not quite. Do not use divide_parallel_processes, unless you want groups of processors doing different things (like entirely different simulations).

If you just want to distribute a single simulation, then just launch it with mpirun (along with the number of cores etc) and meep will automatically distribute things under the hood.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@satadrudas
Comment options

Answer selected by satadrudas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants