← Back to team overview

yade-dev team mailing list archive

Re: Cmake !find metis and cholmod

 

Problem solved (*), thanks Remi!
FYI all: the buildbot and the packaging (producing yadedaily) are running on different systems. The buildbot was compiling on a system without cholmod, while the packages were built in an environment with cholmod. Consequently all related functionalities have been available continuously in the binary package (including TwoPhaseFlow now) although the buildbot detected problems.
Cheers
Bruno

(*) https://yade-dem.org/buildbot/builders/yade-full/builds/4619

On 05/22/2018 02:02 PM, Jerome Duriez wrote:
Hi Bruno,

I can compile 2018-05-22.git-f538da1 (I just "git pulled") without any problem.

Here are some of my cmake outputs, for info:

-- Found Cholmod in /usr/lib/x86_64-linux-gnu/libcholmod.so
-- Found OpenBlas in /usr/lib/libopenblas.so
-- Found Metis in /usr/lib/x86_64-linux-gnu/libmetis.so

-- ===========================================================
-- Yade configured with following features: Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW TWOPHASEFLOW LINSOLV GL2PS -- Disabled features: CHOLMOD_GPU SPH DEFORM LIQMIGRATION LBMFLOW MASK_ARBITRARY PROFILING PotentialParticles PotentialBlocks


Jérôme

------
Chargé de Recherche / Research Associate
Irstea, RECOVER
3275 route de Cezanne – CS 40061 13182 Aix-en-Provence Cedex 5 FRANCE
+33 (0)4 42 66 99 21
On 22/05/2018 13:22, Bruno Chareyre wrote:
Hi there,

I see the buildbot fails to cmake/find those two libs. This is the main reason of current failure. Of course more #ifdef would hide the issue, but I would prefer to fix it. I have a question for you all.
_Anyone else got the same errors as below or it's only the buildbot?_
Thanks.
Bruno

Ref.
https://yade-dem.org/buildbot/builders/yade-full/builds/4618/steps/compile/logs/stdio
-- Could NOT find Cholmod (missing: CHOLMOD_LIBRARIES CHOLMOD_INCLUDE_DIR AMD_LIBRARY CAMD_LIBRARY COLAMD_LIBRARY CCOLAMD_LIBRARY) -- Found OpenBlas: /usr/lib/libopenblas.so -- Could NOT find Metis (missing: METIS_INCLUDE_DIR METIS_LIBRARY)
Leading to (that's where more consistent ifdef-ing could hide):
https://yade-dem.org/buildbot/builders/yade-full/builds/4618/steps/compile/logs/stdio/home/buildbot/yade/yade-full/src/pkg/pfv/TwoPhaseFlowEngine.hpp:159:59: error: 'LC' was not declared in this scope

--
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________

Email too brief?
Here's why!http://emailcharter.org

_______________________________________________
Mailing list:https://launchpad.net/~yade-dev
Post to     :yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe :https://launchpad.net/~yade-dev
More help   :https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


References