-
|
Hi, I'm trying to regenerate the AD code with make -f Makefile_tapenade ad_reverse and Tapenade crashes. I'd like to know which exact Tapenade build the team The committed reverse files were generated with an older build. The header of src/adjoint/outputReverse/sa_b.f90 (and the others) says: ! tapenade 3.16 (develop) - 22 aug 2023 15:51 With recent develop builds, ad_reverse crashes. I tested two:
Both throw the same uncaught exception during the reverse TBR dependency analysis: Uncaught exception - Index 71 out of bounds for length 70 I bisected the -head list down to the trigger. Forward mode works fine. Reverse mode works for every routine except two in src/turbulence/sa.F90 — running
turbAdvection and saResScale in the same file are fine, so the Tapenade binary itself Questions:
Environment: Ubuntu 24.04, OpenJDK 21.0.11, gfortran 13.3.0, ADflow at commit 8155e98. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Is there a Docker image that has Tapenade installed and can perform ad_reverse? The Docker images I downloaded from mdolab are mdolab/public:u24-gcc-ompi-latest and mdolab/public:u24-gcc-ompi-stable, and neither of them has Tapenade configured. |
Beta Was this translation helpful? Give feedback.
The variables real(kind=realType) :: cv13, kar2Inv, cw36, cb3Inv only need to be carefully redefined and correctly assigned inside saSource, saViscous, and saSolve to fix this problem.