Giter Site home page Giter Site logo

Comments (4)

alanw0 avatar alanw0 commented on August 17, 2024

@spdomin what other details can you give me about the "may be used uninitialized" compile warning above? i.e., What compiler and/or stk version is producing this? I know you sent an email to the stk team about this recently but I don't think anyone was able to reproduce it.

from nalu.

spdomin avatar spdomin commented on August 17, 2024

I added the detail to the formal ticket now under our internal management. All I can think is the -Wall through out the entire code build? I think our internal system allows for dialing in such options between the code and TPL. However, if you look at the code, it looks uninitialized (possibly) regardless of whether or not there is a compile warning.

from nalu.

spdomin avatar spdomin commented on August 17, 2024

This may also be bad for hybrid mesh sims:

  for(const stk::mesh::FieldBase* fieldPtr : neededFields) {
     stk::mesh::EntityRank fieldEntityRank = fieldPtr->entity_rank();
     ThrowAssertMsg(fieldEntityRank == stk::topology::NODE_RANK || fieldEntityRank == stk::topology::ELEM_RANK, "Currently only node and element fields are supported.");
     unsigned scalarsPerEntity = fieldPtr->max_size(fieldEntityRank);
     numBytes += scalarsPerEntity*sizeof(double);
   }

from nalu.

spdomin avatar spdomin commented on August 17, 2024

Transition to Jira.

from nalu.

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.