Skip to content

Conversation

@annlew
Copy link

@annlew annlew commented Aug 19, 2024

Summary: Increase the char length for path to compiler in chem_pp code

Contributors: @annlew, @sarambl

Reviewers: @gold2718

Purpose of changes: Avoid chemistry preprocessor failure at compilation when path to compiler exceeds 64 characters

Github PR URL:

Changes made to build system: Only chemistry preprocessor when usr_mech_infile is specified in env_build.xml

Changes made to the namelist: None

Changes to the defaults for the boundary datasets: None

Substantial timing or memory changes: None

Change the char length for cpp path from 64 to 256 in chem_pp code.

Test: SMS allactive test with grid = f19_tn14 and compset=NF2000climo with a testmod (mychem) to run the chemistry preprocessor. Fails with current HEAD of noresm2_3_develop, passes with this PR branch.

Issues addressed by this PR:
cam_chempp issue with usr_mech_infile when path to compiler is too long (#160)

addresses #160

Copy link

@oyvindseland oyvindseland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can not see any problems with this change.

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.

2 participants