← Back to team overview

yade-dev team mailing list archive

Re: cholmod / GPU integration

 



On 02/23/2018 08:37 PM, Robert Caulk wrote:
I compared flow.useSolver=3  to flow.useSolver=4 using oedometer.py  (on gpu and cpu). Results are the same. Did you encounter different results for your comparison?

I did not compare but I was expecting similar performances, glad to know it is the case. :)
Thanks
Bruno


Best,

Robert

On Fri, Feb 23, 2018 at 7:56 AM Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx <mailto:bruno.chareyre@xxxxxxxxxxxxxxx>> wrote:

    Hi Robert,
    Still a small thing to fix following [1] it seems, although it may
    only impact old systems.
    On ubuntu 14.04 with libsuitesparse-dev 1:4.2.1-3ubuntu1 it gives:
    /FlowBoundingSphereLinSolv.ipp:100:6: error: ‘cholmod_common’ has
    no member named ‘useGPU’//
    //  com.useGPU=1; //useGPU;/

    On the other hand cmake is returning:
    -- Disabled features: CHOLMOD_GPU

    So an obvious solution was to add a #if (CHOLMOD_GPU == 1) before
    the useGPU line [1].
    It seems to fix the compile problem. Does it seem ok for you?

    Just to be sure: useSolver=3 will use cholmod through eigen and
    useSolver=4 will use cholmod directly. It is correct?
    Did you compare useSolver=3 and useSolver=4 without gpu? They
    should be nearly the same.

    Cheers

    Bruno


    [1]
    https://github.com/yade/trunk/commit/60342f55f196bce752897b87ab539a1c2fbf309e
    <https://github.com/yade/trunk/commit/60342f55f196bce752897b87ab539a1c2fbf309e>

    _______________________________________________
    Mailing list: https://launchpad.net/~yade-dev
    <https://launchpad.net/%7Eyade-dev>
    Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
    <mailto:yade-dev@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~yade-dev
    <https://launchpad.net/%7Eyade-dev>
    More help   : https://help.launchpad.net/ListHelp
    <https://help.launchpad.net/ListHelp>





References