ccpp-physics icon indicating copy to clipboard operation
ccpp-physics copied to clipboard

Change suffix of .f free-form source files to .F90/.f90

Open climbfuji opened this issue 5 years ago • 2 comments

For transitioning to cap_gen.py, we must be using the correct filename extension for free-form and fixed-form variables.

I think that currently there are a number of .f files that are free-form and that have hard-coded compiler flags to make this switch. I understand from PR https://github.com/NCAR/ccpp-framework/pull/355 that this is not supported.

In any case, cleaning this up is a good thing.

climbfuji avatar Mar 16 '21 02:03 climbfuji

@climbfuji Not sure if this is still valid? As a reference, I didn't run into any issue with capgen and the file extensions when running the SCM with the GFS v16 suite.

dustinswales avatar Jan 11 '24 18:01 dustinswales

We should look at the .f files in the repo and see if they are manually promoted to free-form because of harcoded compiler switches (which you probably were using with the SCM).

climbfuji avatar Jan 11 '24 18:01 climbfuji