Giter Site home page Giter Site logo

Comments (6)

emailweixu avatar emailweixu commented on May 3, 2024

Please provide the compiler version and error message. Thx.

from paddle.

brucekissinger avatar brucekissinger commented on May 3, 2024

The gcc version is 5.4.0.20160609

Unfortunately, I don't have a good way to copy/paste the errors from the build. I'm manually typing the messages below:

pserver/ParameterClient2.cpp:281:58: error: narrowing conversion of '(((long long unsigned int)sizeof (paddle::real)) * ((long long unsigned int)blockSize))' from 'long long unsigned int' to 'size_t {aka unsigned int}' inside { } [-Werror=narrowing]
{sendMat->getLocalRow(row), sizeof(real) * blockSize});

the second error is:

pserver/ParameterCllent2.cpp:306:51: error: narrowing conversion of '(((uint64_t)sizeof (paddle::real)) * (endDim - beginDim))' from 'uint64_t {aka long long unsigned int}] to 'size_t {aka unsigned int}' inside { } [-Werror=narrowing]
{buf + beginDim, sizeof(real) * (endDim - beginDim)});

from paddle.

reyoung avatar reyoung commented on May 3, 2024

It seems to be the size_t in your compiler is unsigned int, not unsigned long long. We are fixing this issue.

By the way, Is gcc 5.4 supported by CUDA? Or you are just building CPU version of PaddlePaddle?

from paddle.

brucekissinger avatar brucekissinger commented on May 3, 2024

Thank you for the extremely fast response!

Yes - I was just building the CPU version. I'm running it on a VirtualBox instance and was not sure if access to the GPU of the underlying host machine would be possible.

from paddle.

reyoung avatar reyoung commented on May 3, 2024

Current PaddlePaddle is not tested in 32bit environment. I will do the test and fix this ASAP.

from paddle.

reyoung avatar reyoung commented on May 3, 2024

Sorry, I forgot to reply this issue. In fdd40e5, we fix 32 bit compile issues in PaddlePaddle.

from paddle.

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.