GithubHelp home page GithubHelp logo

Comments (7)

eclare108213 avatar eclare108213 commented on August 17, 2024

We found with Icepack that some compilers that we didn't regularly run with turn up issues like this. Can you tell which compiler and configuration is crashing? And which line it's crashing on? It's likely that some of the things we fixed in the Icepack driver have not yet been fixed in CICE - we need to identify those and get them fixed.... I'll look back through the Icepack PRs for this kind of thing.

from cice.

eclare108213 avatar eclare108213 commented on August 17, 2024

I looked through the Icepack PRs, and nothing jumped out at me. Most of the bug fixes were within the column physics modules themselves or the forcing, which is different from CICE's. There could be a missing parameter initialization... we'll need to debug specific cases.

from cice.

 avatar commented on August 17, 2024

Thank you, I will dig out some more information and report back.

from cice.

 avatar commented on August 17, 2024

I can reproduce this bug from my local machine and the CICE master branch by running the base_suite with the loft/gnu environment:

csh cice.setup --suite base_suite --testid travisCItest --mach loft --env gnu 

It turns out that the Division by 0 error message is cast by line 21 of configuration/scripts/cice.batch.sh. The variable $taskpernode evaluates to zero as maxtpn = 1 and nthrds = 2.

from cice.

 avatar commented on August 17, 2024

I can mitigate this behavior by setting setenv ICE_MACHINE_TPNODE 2 (instead of 1) in the environment file. However, I didn't do this for Icepack.

EDIT:
See the travis build log when ICE_MACHINE_TPNODE = 2. Some tests seem to pass, while others fail, again due to Division by 0 errors related to $taskpernode. I invoked configuration/scripts/cice.batch.sh in verbose mode.

from cice.

 avatar commented on August 17, 2024

@apcraig, @eclare108213 Could you please check if the following command runs on your system and the master branch of CICE?

./cice.setup --suite base_suite --testid travisCItest --mach loft --env gnu

I am not sure I am qualified to mess with configuration/scripts/cice.settings. Thanks!

from cice.

 avatar commented on August 17, 2024

I suggest we continue the conversation in #111, where we can work directly on the code.

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.