Skip to content

Remove some cray pointers from mpp/ (part 1)#1793

Open
foxtran wants to merge 6 commits intoNOAA-GFDL:mainfrom
foxtran:split-2/remove-cray-pointer
Open

Remove some cray pointers from mpp/ (part 1)#1793
foxtran wants to merge 6 commits intoNOAA-GFDL:mainfrom
foxtran:split-2/remove-cray-pointer

Conversation

@foxtran
Copy link
Copy Markdown
Contributor

@foxtran foxtran commented Nov 20, 2025

Description
In this PR I've replaced all cray pointers in mpp_sum.inc, mpp_sum_ad.inc, mpp_transmit.inc, mpp_transmit_mpi.inc to Fortran pointers that is possible with Fortran 2008 features.

Related to #54

It is 4 of 53 commits. So, more will come once this will be merged. I do not remember everything since I rewrite it almost 2 months ago, so I'm picking only that part of work which I can keep in my fox head.

How Has This Been Tested?
I have raised compiler errors by excluding -fcray-pointer flag during compilation of module. Then, in semi-automatic manner, I fixed all of them. No actual tests were running (I will let CI do it).

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

@foxtran foxtran force-pushed the split-2/remove-cray-pointer branch from 98e0648 to c9b36b7 Compare March 20, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant