Comments (7)
Info from @dabail10 in email:
The timers we use are from the General Purpose Timing Library (GPTL) that Jim Rozinski wrote. I >tried to wrap calls from the existing timers to this library. Kind of like this in ice_timers.F90:
#ifdef CESMCOUPLED
call t_startf('ICE:'//all_timers(timer_id)%name)
call t_stampf(wall, usr, sys)
all_timers(timer_id)%block_cycles1(block_id) = wall
#else
all_timers(timer_id)%block_cycles1(block_id) = MPI_WTIME()
#endifThe GPTL timers work better with OpenMP threading.
Is GPTL generally available on most/all machines, or is it something that users would be responsible for installing themselves? If the latter, then I'd be inclined to stick with what we've got.
from cice.
Finally looking at this with CICE6. I don't know the answer about the GPTL package, but will look into it.
from cice.
Ok. We still install GPTL as a part of the CESM build.
from cice.
I'd like to close this task without any changes, since GPTL is a package that would need to be installed. Does anyone disagree with that?
from cice.
I agree that we can close this and stick with what we have. I think MPI_WTIME works well enough.
Having said that, we could probably add the gptl code to CICE and treat it as CICE code in the standalone mode. I'm not sure this is a good idea, but it's an option. We would probably still have to support ifdef-ing it out when building/running in CESM and other models that might have their own copy of gptl.
I'm not in favor of having to build separate libraries as part of CICE standalone at this time. It might be something we eventually have to do, but I don't think gptl is worth making that effort.
from cice.
The advantage of GPTL is that it works well with OMP threading. However, I am happy to leave it out of CICE6.
from cice.
I'll close the issue. We can change it later if the need arises.
from cice.
Related Issues (20)
- ice_in variables undefined in chapter 5 of docs HOT 4
- shortwave dEdd_snicar_ad setup HOT 10
- grid_location is missing for C and CD grids for call to seabed_stress_factor_LKD HOT 1
- model abort due to dvice negative HOT 11
- Investigate T-Test in cice.t-test.py
- NLON, ELAT not computed when TLAT, TLON, ANGLET on grid file HOT 14
- Some CMIP variables are computed using a mix of U and T quantities HOT 1
- dxT and other grid length variables
- dsnow optional argument in icepack_step_therm1 HOT 2
- evp1d performance evaluation
- Support netcdf-4 compression & chunking HOT 1
- hist_avg on multiple streams writes the same filenames when .false. HOT 9
- Potential instability related to explicit treatment of Coriolis for C-grid HOT 3
- Arguments in update_state need if present. HOT 2
- dynamics U points are active when T points are not HOT 5
- Commit/PR process HOT 3
- PIO and hdf5 failures HOT 4
- Test various restart formats and add Derecho port that uses pio spack HOT 1
- tripole initial/restart file with inconsistent values on the tripole seam HOT 15
- CICE C-grid crash on 1/12 degree tripole HOT 11
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 cice.