-
Notifications
You must be signed in to change notification settings - Fork 36
(closes #1312) fix scalar array functionality #3520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mo-alistairp
wants to merge
18
commits into
master
Choose a base branch
from
1312_fix_scalar_array_functionality_invoke_call
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7b82dae
#1312: Add scalar_array to examples
mo-alistairp c897778
#1312: Update Makefile to try to compile eg1
mo-alistairp 237920e
#1312: Add dims_array to the kern_call_invoke_arg_list
mo-alistairp a8d0806
#1312: remove reference import
mo-alistairp 730eece
#1312: Use scalar array in conftest to test functionality in KernCall…
mo-alistairp fafec08
Merge branch 'master' into 1312_fix_scalar_array_functionality_invoke…
mo-alistairp e37fe23
#1312: Update the Makefile to include compilation
mo-alistairp 4cad066
Merge branch '1312_fix_scalar_array_functionality_invoke_call' of git…
mo-alistairp 7744557
Merge branch 'master' into 1312_fix_scalar_array_functionality_invoke…
mo-alistairp f2a4d17
#1312: Add some documentation of scalar array examples
mo-alistairp 1b99c30
Merge branch 'master' into 1312_fix_scalar_array_functionality_invoke…
arporter 904820c
#1312 create and initialise local arrays holding scalar-array extents
arporter 9148f40
#1312 improve test and tweak comment
arporter b5a7753
Merge branch 'master' into 1312_fix_scalar_array_functionality_invoke…
arporter 7a3e692
#1312 revert changes to invoke_arg_list and add typhints.
arporter e7ac709
#1312 tweak eg1 so that it links and update docs
arporter febf249
#1312 improve doc for eg1
arporter 07351fc
Merge branch 'master' into 1312_fix_scalar_array_functionality_invoke…
arporter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only comment from Codex was that modifying
../code/testkern_mod.F90should retrigger this target as the psy-layer could be different. It is right (and very smart again, the kernel is not explicitly mentioned here so it knows what single_invoke.x90 have and that kernel metadata changes can produce changes in single_invoke_psy.f90 which is the output of this target).However, this is a mistake that we have consistently across all examples and I would not explictly mention the specific kernel in the Makefile rule, which would fix the issue, but this would duplicate what is encoded inside the alg file. We could maybe mention the whole directory since it is explictly mentioned in the command, but make it worse the "-d" parameter is recursive. So maybe the right solution is something like https://stackoverflow.com/questions/25005637/makefile-rule-depend-on-directory-content-changes ?
I don't know. I will let you decide if its worth fixing, or leave it be, or just create a separate issue.