Coder Social home page Coder Social logo

Comments (3)

shanedsnyder avatar shanedsnyder commented on September 4, 2024

In GitLab by @shanedsnyder on Sep 24, 2015, 16:24

I think we need to leave the file_offset_bits undefined so that we can still support 32 bit applications that aren't promoting off_t. The 64 bit wrappers use explicit off64_t types so that we can handle both cases.

The main problem is probably just that we have used the wrong type in the CP_RECORD_READ and CP_RECORD_WRITE macros? I'll make a test case to confirm and work on a fix.

from darshan.

shanedsnyder avatar shanedsnyder commented on September 4, 2024

In GitLab by @shanedsnyder on Sep 24, 2015, 16:24

Confirmed MAX_BYTE_WRITTEN counter problem using the existing darshan-test/seek-test.c program (compiled with -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE).

Those macros use one variable local to the macro, and several variables stored in the runtime file record struct. The latter variables are all int64_t, while the former is an off_t. We can probably just change the local variable to an int64_t as well to fix the problem. Will confirm and test.

from darshan.

shanedsnyder avatar shanedsnyder commented on September 4, 2024

In GitLab by @shanedsnyder on Sep 24, 2015, 16:24

Fixed in r483.

from darshan.

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.