Skip to content

Rename halo_exchange.fv3.F90 as halo_exchange_fv3.F90#83

Open
alperaltuntas wants to merge 1 commit into
NOAA-PSL:masterfrom
alperaltuntas:fix_cesm_build
Open

Rename halo_exchange.fv3.F90 as halo_exchange_fv3.F90#83
alperaltuntas wants to merge 1 commit into
NOAA-PSL:masterfrom
alperaltuntas:fix_cesm_build

Conversation

@alperaltuntas
Copy link
Copy Markdown

This change resolves a build failure caused by CESM's inability to handle source files with multiple dots in their names. The CESM build system misinterprets files named in the format filename.ext1.ext2 by looking for an object file named filename.o instead of the correct filename.ext1.o.

Specifically, for the file halo_exchange.fv3.F90, the build system incorrectly looks for halo_exchange.o during the linking stage, leading to a failure. Renaming the file to halo_exchange_fv3.F90 results in an object file named halo_exchange_fv3.o, which is correctly recognized and linked by the CESM build system.

This rename avoids a build failure where the CESM infrastructure cannot locate halo_exchange.o due to the dot in the filename.
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