[PSyData] Dependency Analaysis Improvements

Open
#641 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
compilers

Research direction

The issue names no files, tests, or entry points. Start by locating PSyData's dependency-analysis handling and how its automatic variable list is built; done means users can add or remove variables from that list, including loop variables and temporary scalars.

Written by the indexing model from the issue text.

Description

PSyData

PSyKE uses the dependency analysis to decide which variables to store. At this stages it will pick up some variables that are not (strictly) necessary, e.g.:

  • loop variables
  • temporary scalar variables
    Technically those variables could be checked, but it is kind of useless (loop variables), and potentially leading to false positives (temporary scalars when a loop is threaded).

For PSyData in particularly: We should give the user an option to add/remove variables to the automatic list

Dominant language
Python
Stars
137
Forks
36
Avg merge
6d 16h
Merged PRs (30d)
18

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stfc/PSyclone

All issues in stfc/PSyclone

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.