Option to generate Tapenade's external flow library#9
Open
Option to generate Tapenade's external flow library#9
Conversation
jlbouchot
commented
Apr 2, 2026
Comment on lines
+653
to
654
| in_args_section = False # This variable is used nowhere | ||
|
|
Collaborator
Author
There was a problem hiding this comment.
@sriharikrishna Should we clean the code a bit?
|
|
||
| # Update log path to be in the function subdirectory | ||
| func_log_path = func_out_dir / (src.stem + ".tapenade.log") | ||
| # func_log_path = func_out_dir / (src.stem + ".tapenade.log") # ISNT THIS COMPLETELY USELESS?? |
Collaborator
Author
There was a problem hiding this comment.
Verify need for this variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addition of the --genlib option allowing to generate a file "DiffBlasGenLib" in the root of the project.
This file is useful for anyone using tapenade in a larger codebase to tell tapenade (via the "-ext DiggBlasGenLib" option of tapenade) what are the in/out behaviours of the various parameters of functions and subroutines.
Without this library Tapenade will consider very conservative choices, delivering a suboptimal differentiated code.