Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Luc Scholtès posted a new comment: -DLINSOLV was the quick and not proper way to make Anh Tuan's able to work with his code, assuming that he is using the associated updated linsolv files. I need to implement the compressibility to periodic flow related files so as to solve Anh Tuan's problem. I am working on it today. -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Answered = Solved TONG Anh Tuan confirmed that the question is solved: Thanks Luc, that solved my problem. Anh Tuan -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Open = Answered Luc Scholtès proposed the following answer: Did you add the plugin FlowEngine to your scons.profile? Like this: hotPlugins = 'FlowEngine' Luc -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Answered = Open TONG Anh Tuan is still having a problem: Hi Luc, Hi all, Here is my scons.profile-erosion: attong@braves:~/YADE_attong/yade$ cat scons.profile-erosion PREFIX = '/home/3S-LAB/attong/YADE_attong/' features = 'gts,opengl,openmp,qt4,vtk' hotPlugins = 'FlowEngine' version = 'trunk' CPPPATH = '/usr/include/vtk-5.0:/usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/vtk-5.6:/usr/include/vtk-5.8:/usr/include/vtk:/usr/include/eigen2' CXXFLAGS = ['-DFLOW_ENGINE'] SHCCFLAGS = ['-fPIC'] What is my problem ? Thanks alot, Anh Tuan -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Open = Answered Luc Scholtès proposed the following answer: Try to add cgal to your features (check if it is installed on t=your computer) -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Answered = Open TONG Anh Tuan is still having a problem: Hi Luc, Here is an error after adding cgal to my features and compiling by the command scons: scons: Reading SConscript files ... @@@ Using profile erosion (scons.profile-erosion) @@@ Eigen 2 math library will be used Yade version is `trunk' (bzr3076), installed files will be suffixed with `-trunk-erosion'. All intermediary files will be in `/home/3S-LAB/attong/YADE_attong/build-trunk-erosion'. Mkdir(/home/3S-LAB/attong/YADE_attong/build-trunk-erosion) Checking whether c++ compiler g++ works...yes Finding libstdc++ library... (cached) /usr/lib/i386-linux-gnu/libstdc++.so.6 Checking for pthread_exit(NULL) in C library pthread... yes Checking for Python development files... ok Checking for C++ header file numpy/ndarrayobject.h... yes Checking for required python modules... (cached) all ok Checking boost libraries... all ok Checking for C++ header file boost/foreach.hpp... yes Checking for C++ header file Eigen/Core... yes Checking for C++ header file loki/NullType.h... yes Checking for glutGetModifiers() in C++ library glut... yes Checking for QGLViewer() in C++ library qglviewer-qt4... yes Checking for vtkInstantiator::New() in C++ library vtkCommon... yes Checking for gts_object_class() in C++ library gts... yes log4cxx support was removed. Please, do not use this feature. Checking for CGAL::Exact_predicates_inexact_constructions_kernel::Point_3() in C++ library CGAL... yes Rebuilding combined files, since the md5 has changed. scons: done reading SConscript files. scons: Building targets ... /home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion-batch Chmod(/home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion-batch, 0755) /home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion Chmod(/home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion, 0755) C py/3rd-party/pygts-0.3.1/cleanup.c C py/3rd-party/pygts-0.3.1/object.c C py/3rd-party/pygts-0.3.1/edge.c C py/3rd-party/pygts-0.3.1/face.c C py/3rd-party/pygts-0.3.1/point.c C py/3rd-party/pygts-0.3.1/pygts.c C py/3rd-party/pygts-0.3.1/segment.c C py/3rd-party/pygts-0.3.1/surface.c C py/3rd-party/pygts-0.3.1/triangle.c C py/3rd-party/pygts-0.3.1/vertex.c /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp C /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/core/core.cpp C /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/core/core.cpp In file included from /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp:11:0: /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/PeriodicFlow.cpp: In member function 'void CGT::PeriodicFlow::Average_Relative_Cell_Velocity()': /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/PeriodicFlow.cpp:490:9: warning: variable 'volume_facet_translation' set but not used [-Wunused-but-set-variable] In file included from /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.hpp:148:0, from /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.cpp:9, from /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp:10: /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.ipp: In member function 'void CGT::FlowBoundingSphere_Tesselation::GaussSeidel(CGT::Real) [with _Tesselation = CGT::_TesselationCGT::TriangulationTypesCGT::FlowVertexInfo, CGT::FlowCellInfo , CGT::Real = double]': /home/3S-LAB/attong/YADE_attong/yade/lib/opengl/GLUtils.cpp:59:1: instantiated from here /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.ipp:1058:44: warning: variable 'dp_moy' set but not used [-Wunused-but-set-variable] In file included from /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp:13:0: /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp: In member function 'bool CGT::TriaxialState::from_file(const char*, bool)': /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp:215:41: warning: '*((void*) pos +16)' may be used uninitialized in this function [-Wuninitialized] /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp:211:37: warning: '*((void*) pos +8)' may be used uninitialized in this function [-Wuninitialized] /home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp:210:49: warning: 'pos' may be used uninitialized in this function [-Wuninitialized] L libyade-support.so /home/3S-LAB/attong/YADE_attong/lib/yade-trunk-erosion/lib/libyade-support.so L _gts.so /home/3S-LAB/attong/YADE_attong/lib/yade-trunk-erosion/py/gts/_gts.so ln -s -f ../py/gts/_gts.so /home/3S-LAB/attong/YADE_attong/lib/yade-trunk-erosion/lib/lib_gts__python-module.so C pkg/dem/FlowEngine.cpp pkg/dem/FlowEngine.cpp: In member function 'virtual void
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Open = Answered Luc Scholtès proposed the following answer: Strange... Did you try recompile from scratch by typing scons -c before compiling wit scons? -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Answered = Open TONG Anh Tuan is still having a problem: Yes, before compiling with scons, i tried to do by typing: scons clean. That's the same as: scons -c I don't know what is problem of function FlowEngine. A.Tuan -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Open = Answered Luc Scholtès proposed the following answer: OK, I think I get it. You should add DLINSOLV to the CXXFLAGS in your scons.profile like this: CXXFLAGS = ['-DFLOW_ENGINE', '-DLINSOLV'] So? -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Chareyre proposed the following answer: -DLINSOLV will not help. FlowEngine is supposed to work without it. Anh Tuan, did your read my previous mail (private, days ago) about getting new versions of flow lib from Emanuele's svn repository? The current version compiles for everyone else, so I guess you missed something. -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Open = Answered Chareyre proposed the following answer: Did you update your code Anh Tuan? What is your version? -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Answered = Open TONG Anh Tuan is still having a problem: Hi Bruno, The command for update my code is: bzr update, it'is right? Anh Tuan -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Answered = Open TONG Anh Tuan is still having a problem: Hi Anton, Hi Bruno, Hi all, I tried do as the answer of Bruno for the Bug number of 968188; so in my profile (scons.profile-erosion) as noted below: PREFIX = '/home/3S-LAB/attong/YADE/' features = 'cgal,log4cxx,opengl,openmp,qt4,vtk' hotPlugins = 'FlowEngine' version = 'trunk' CPPPATH = '/usr/include/vtk-5.0:/usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/vtk-5.6:/usr/include/vtk-5.8:/usr/include/vtk:/usr/include/eigen2' CXXFLAGS = ['-DFLOW_ENGINE'] SHCCFLAGS = ['-fPIC', '-lgmp'] but I still get the same error when starting to run Yade. I don't know what I have to do now. Anybody having the same problem can give me a solution ? Thanks. Anh Tuan -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Open = Answered Anton Gladky proposed the following answer: Hi, please see LP:968188. https://bugs.launchpad.net/yade/+bug/968188 Anton -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #192598]: problem of installation Yade
Question #192598 on Yade changed: https://answers.launchpad.net/yade/+question/192598 Status: Open = Answered Anton Gladky proposed the following answer: Hi Anh-Tuan, Did you install all required packages from the link below [1]? Please, show your scons.profile-default and config.log files. FYI, 12.04 is shipped with yade-0.70 in the main archive. If this version is suitable for you, just: sudo apt-get install yade [1] https://yade-dem.org/doc/installation.html#prerequisities Anton -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp