-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
It seems that it is not completely clear to users, developers and reviewers of LFRic Core and Apps how to approach PSyKAl design and writing kernels. This PR adds this information in a practical guidance.
- Rules for types of kernels used in LFRic (some existing documentation is https://code.metoffice.gov.uk/trac/lfric/wiki/PSycloneTool/DevelopmentTips#KernRules and https://github.com/stfc/PSyclone/blob/master/tutorial/practicals/LFRic/building_code/1_simple_kernels/LFRic_kernel_structure.md).
- Rules and practical examples on how to determine PSyclone metadata for the type of arguments passed to kernels.
- Use of PSyclone-based tools to write a kernel (e.g.
psyclone-kernandpsyclonecommands). - Rules on passing arguments (Algorithm -> PSy layer -> Kernel) and what is allowed to call a kernel.
- Tips and tricks (e.g. access metadata and Fortran intent, how
nlayersis determined). - Handling missing PSyclone functionality via PSyKAl-lite code and raising PSyclone issues.
astroDimitrios
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation