Skip to content

Using embarrasingly parallel simulations with adjoint solver #2613

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

You must be logged in to vote

such that the forward and the adjoint solves are done in parallel since they are totally independent.

Note that the forward and adjoint solves are not independent. You need to run the forward solve first in order to compute the adjoint sources.

If you have multiple FOMs, you can compute those gradients in parallel as you are describing, but each group must run its forward and adjoint runs sequentially. (Technically the forward run is the same for each FOM... but it's usually a hassle to separate things in that way)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mijna37
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