Using solveAdjointForRHS in parallel
Nobody has claimed this yet.
- Dominant language
- Fortran
- Stars
- 332
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I wanted to use solveAdjointForRHS to solve the Adjoint of Euler for my specific objective function, which is not defined in ADFlow. I calculated the RHS vector from external codes, then I imported the RHS to ADFlow (I did It in serial, not parallel). So, to use solveAdjointforRHS in parallel, I have to scatter the RHS. Is there any way to scatter the data in the same way that it is done in the code using the python interface? I tried to do it using comm.scatter, but, I think, it is not the correct way. Any suggestions about how I should do it? I checked adjointAPI.F90, but I could not really understand how the things are done there! I appreciate any help/clues/suggestions.
Regards,
Arash
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with adjointAPI.F90 and the Python interface around solveAdjointForRHS; compare how the externally calculated RHS is handled in serial and parallel execution. Check whether comm.scatter matches the data distribution used by the solver, and consider the work complete when the imported RHS can be used by solveAdjointForRHS in parallel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fortran, python
- Domain
- hpc
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100