Gcc + openacc with nvidia GPU : what rpms to install

Hello,
what are the rpms to install from what repo in order to be able to code gcc + openacc for code to run on nvidia GPU?

rds,

You can use the command dnf group list to see a full list of the various groups of software that are predefined (some may already be installed).
Once you select the group then the command dnf group install '<group name>' while replacing the group name with the group you selected should install all required rpms.

For example I used dnf group install 'C Development Tools and Libraries' 'Development Tools' to install both standard development packages and the full package of tools for the C language directly from fedora. gcc will be included in that.

I don’ know what openacc is. Google may be a friend there.
I found several links related, and this one seems promising.