Skip to content
This repository was archived by the owner on Jul 15, 2022. It is now read-only.

[QUESTION] Using Custom KPP Mechanisms in GC 12.9.3 #4

@JFBrewer

Description

@JFBrewer

Hi folks,

I'm still working in GC 12.9.3 for a little while longer, and I wanted to make a custom mechanism for some comparison work. Unfortunately, as far as I can tell, the CMake setup for KPP in 12.9.3 doesn't appear to be set up to allow for the creation of Custom mechanisms.

“Custom” is not included as a valid mechanism in /CMakeScripts/GC-ConfigureClassic.cmake, and there is no corresponding CMakeLists.txt file within /KPP/Custom for it to run even if I add the option to do so within /CMakeScripts/GC-ConfigureClassic.cmake. I tried to replicate the CMakeLists.txt from /KPP/SOA_SVPOA/, but was unable to produce compilable code - I mostly just got odd errors appearing throughout the rest of the code anywhere GC tried to reference KPP subroutines.

In the end, I was successful in getting the model to compile by simply copying my Custom.eqn file into /KPP/SOA_SVPOA and compiling within that framework, but this is obviously not the preferred solution. I'm posting here in case anyone has already solved this issue, but mostly I'm aiming to create a record.

Thanks,
Jared

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions