GithubHelp home page GithubHelp logo

Comments (7)

eclare108213 avatar eclare108213 commented on July 18, 2024

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()
#endif

The 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.

dabail10 avatar dabail10 commented on July 18, 2024

Finally looking at this with CICE6. I don't know the answer about the GPTL package, but will look into it.

from cice.

dabail10 avatar dabail10 commented on July 18, 2024

Ok. We still install GPTL as a part of the CESM build.

from cice.

eclare108213 avatar eclare108213 commented on July 18, 2024

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.

apcraig avatar apcraig commented on July 18, 2024

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.

dabail10 avatar dabail10 commented on July 18, 2024

The advantage of GPTL is that it works well with OMP threading. However, I am happy to leave it out of CICE6.

from cice.

eclare108213 avatar eclare108213 commented on July 18, 2024

I'll close the issue. We can change it later if the need arises.

from cice.

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.