Thank you, Bruno I had no way of testing this without installing 14.04 specifically for that problem, so I appreciate you helping me solve it.
*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?* Yes, that is OK. I will tweak it a bit to make it more versatile. *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.* Yes that is correct. 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? Best, Robert On Fri, Feb 23, 2018 at 7:56 AM Bruno Chareyre < [email protected]> 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/60342f55f196bce752897b8 > 7ab539a1c2fbf309e > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

