Comments (5)
Out of curiosity, what is the use case for this? I think it would be nice to document something here.
from ccpp-framework.
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.
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.
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.
Resolved by #548
from ccpp-framework.
Related Issues (20)
- Add optional attribute to Capgen/Prebuild HOT 2
- Create tests for Optional attribute HOT 1
- Adding support for using MPI_Comm DDT in subroutine interfaces HOT 1
- CI tests for prebuild not running correctly on main branch HOT 1
- Change constituent properties parsed from standard name?
- Determine supported units HOT 4
- CCPP Framework Updates for v7.0.0 release
- ccpp_prebuild: bug fix needed to provide backward compatibility with blocked data structures
- ccpp_prebuild: (re-)introduce optional attribute
- Update CCPP tech doc: pointer variables are not allowed in CCPP-compliant parameterizations
- Update CCPP tech doc: schemes can currently have optional arguments in between regular arguments - follow up with moving opt args to the end HOT 1
- Follow up on formatting discussions in https://github.com/NCAR/ccpp-framework/pull/529
- Post capgen unification: pylint code HOT 3
- Rethink CCPP framework development cycle and branch structure HOT 6
- VarDictionary doctests broken for python3.12
- Suite-level variables edge case for when variable is used only in run phases HOT 1
- Add "number of instances" dimension to module-level variables to support multi-instance usage HOT 1
- Create citation file for Zenodo DOI
- Complete implementation of optional arguments / active variables in capgen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccpp-framework.