Giter VIP home page Giter VIP logo

Comments (5)

gold2718 avatar gold2718 commented on August 14, 2024

Out of curiosity, what is the use case for this? I think it would be nice to document something here.

from ccpp-framework.

climbfuji avatar climbfuji commented on August 14, 2024

The UFS Weather Model has a few schemes that only have a timestep_init phase, but not a run phase. Thus, schemes that run at every time step, but not as part of the run phase. One of the reasons if not the main reason is that these schemes need to do something at the beginning of every time step but can't do this as one of the first schemes in the run phase because they can't be using threading. They need to see the entire computational domain of an MPI task and they may be doing I/O (such as reading updated coefficients for radiation etc).

from ccpp-framework.

gold2718 avatar gold2718 commented on August 14, 2024

Thanks. I wonder if this is an optimal solution or if we should instead modify the idea of timestep_initial and timestep_final to be run_nothreading.
This would generalize what a CCPP suite can be. It also changes the way a host model would implement a CCPP interface. It would have to query the suite about its groups and call each one appropriately (threaded or not). This feels expensive to implement but might be a nice long-term goal.
For now, making run optional sounds like a good step.

from ccpp-framework.

dustinswales avatar dustinswales commented on August 14, 2024

Here's the solution I used to get around this issue with Capgen in the CCPP SCM, dustinswales@934f1f5.
Not sure if this is ideal, but it did the trick.

from ccpp-framework.

mkavulich avatar mkavulich commented on August 14, 2024

Resolved by #548

from ccpp-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.