NOAA-GFDL / FMS

GFDL's Flexible Modeling System
Other
92 stars 134 forks source link

change compiler check and string indices for gcc #1529

Closed rem1776 closed 4 months ago

rem1776 commented 4 months ago

Description some small changes for the newest gcc

this gets the code passing the configure check and compiling successfully.

We may just want to get rid of the m4 i modified, so making this a draft for now.

Fixes #1527

How Has This Been Tested? draft

Checklist:

marshallward commented 4 months ago

I am testing this in our regression suite. I will update soon to let you know if it works.

marshallward commented 4 months ago

I had not realized how much had been dropped from 2024.01. Unfortunately this will take longer than I had hoped to verify that things are working with main.

I will update when I can, but it will take a while...

rem1776 commented 4 months ago

closing since this breaks calls with the nvidia compiler and is a regression from past gcc versions, more details are in the linked issue.