Re: [Yade-dev] members yade-dev gitlab

2021-08-30 Thread Raphaël Maurin

No problem ! Thanks Bruno, it worked !

Raphaël

Le 30/08/2021 à 18:55, Janek Kozicki (yade) a écrit :

Ouch sorry I didn't notice you gave the name! :-) But I see that
Bruno already added you:

https://gitlab.com/yade-dev/trunk/-/project_members

welcome!

Janek

Raphaël Maurin said: (by the date of Mon, 30 Aug 2021 16:57:24 +0200)


Hi all, Hi Janek,

There should have been a problem, I checked and I cannot find the email
you talk about. Sorry for the unconvenience, as said in the last email,
my gitlab account name: raphm1.

Best regards,

Raphaël

Le 30/08/2021 à 16:03, Janek Kozicki (yade) a écrit :

Hi, I recall that month ago Bruno has sent you an email asking about
your gitlab account name.

best regards
Janek

Raphaël Maurin said: (by the date of Mon, 30 Aug 2021 15:08:35 +0200)


Dear all,

Following the question I asked some times ago on the users launchpad
[1], can someone add me (raphm1) to the yade-dev member list on gitlab
to do some commits ? I need to upload changes (mainly on
HydroForceEngine), validations and examples I have been doing these last
years (I adapted the changes from the latest version of the code).

Thanks,

Raphaël

[1] https://answers.launchpad.net/yade/+question/697927


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




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


Re: [Yade-dev] members yade-dev gitlab

2021-08-30 Thread Raphaël Maurin

Hi all, Hi Janek,

There should have been a problem, I checked and I cannot find the email 
you talk about. Sorry for the unconvenience, as said in the last email, 
my gitlab account name: raphm1.


Best regards,

Raphaël

Le 30/08/2021 à 16:03, Janek Kozicki (yade) a écrit :

Hi, I recall that month ago Bruno has sent you an email asking about
your gitlab account name.

best regards
Janek

Raphaël Maurin said: (by the date of Mon, 30 Aug 2021 15:08:35 +0200)


Dear all,

Following the question I asked some times ago on the users launchpad
[1], can someone add me (raphm1) to the yade-dev member list on gitlab
to do some commits ? I need to upload changes (mainly on
HydroForceEngine), validations and examples I have been doing these last
years (I adapted the changes from the latest version of the code).

Thanks,

Raphaël

[1] https://answers.launchpad.net/yade/+question/697927


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




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


[Yade-dev] members yade-dev gitlab

2021-08-30 Thread Raphaël Maurin

Dear all,

Following the question I asked some times ago on the users launchpad 
[1], can someone add me (raphm1) to the yade-dev member list on gitlab 
to do some commits ? I need to upload changes (mainly on 
HydroForceEngine), validations and examples I have been doing these last 
years (I adapted the changes from the latest version of the code).


Thanks,

Raphaël

[1] https://answers.launchpad.net/yade/+question/697927


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


[Yade-dev] [Bug 1460596] Re: Law2_ScGeom_ViscElPhys_Basic lacks minimal documentation

2015-06-02 Thread Raphaël Maurin
Hi all, 
I did a general documentation based on the answered I made in question 
https://answers.launchpad.net/yade/+question/267566, however as I am not using 
the option based on the article of Pournin, I let this part as it was. The 
documentation was published in the last commit.
Checking the check files, I noticed something surprising in the check file of 
the law for the formulation of Pournin. In  the example script 
trunk/scripts/checks-and-tests/checks/checkViscElEng.py, it is checked that 
imposing a restitution coefficient of 0.7, we recover 0.736356797441 (!) Does 
anyone knows why it is like that ? It might be a problem for people using this 
law, who are in fact not imposing the restitution coefficient they want. 
Raphael

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1460596

Title:
  Law2_ScGeom_ViscElPhys_Basic lacks minimal documentation

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Pointing to published paper is not enough, since I don't think any paper 
gives the law of Yade in its exact form.
  For the most complex aspects the doc could point to the approrpiate threads 
in the mailing list.

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1460596/+subscriptions

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


[Yade-dev] [Bug 1460596] Re: Law2_ScGeom_ViscElPhys_Basic lacks minimal documentation

2015-06-02 Thread Raphaël Maurin
precision: the documentation was committed in commit number
d47b8574e8fcc2dc09b926404f08081f2194cfde

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1460596

Title:
  Law2_ScGeom_ViscElPhys_Basic lacks minimal documentation

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Pointing to published paper is not enough, since I don't think any paper 
gives the law of Yade in its exact form.
  For the most complex aspects the doc could point to the approrpiate threads 
in the mailing list.

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1460596/+subscriptions

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


[Yade-dev] [Bug 1041084] Re: memory leak while erasing facets

2014-08-18 Thread Raphaël Maurin
Hi all,

As asked by Anton, I report a similar problem. This is related to the
question : https://answers.launchpad.net/yade/+question/253112

In the C++ code, I created an engine(HydroForceEngine) which use a variable 
vxFluct. In my python script, I actualize the variable vxFluct each period tau 
doing :
HydroForceEngine.vxFluct = X

When X is big and tau is small, there is a memory leakage : for example,
with 8300 bodies (so for len(X) = 8300), after ~6500 actualization of
the variable, the simulation takes about 40% of the memory of my
computer; while the same code after the same time and without
actualizing the variable takes 0.5% of  the memory of my computer.

Raphaël

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1041084

Title:
  memory leak while erasing facets

Status in Yet Another Dynamic Engine:
  New

Bug description:
  I detected a memory leak in O.bodies.erase, when facets were erased (spheres 
are erased without memory leak!).
  In the attachment you will find two files, where you can reproduce the bug.

  1. Open a terminal with three tabs.
  2. Run top or htop in the first terminal tab
  3. In the second terminal tab run yade input file "memoryleak-erase-facets.py"
  4. Get the pid from first terminal tab (example 31667) and edit 
"get-memory-info.py"
  5. Run "python get-memory-info.py" in the third terminal tab and wait (ca. 5 
min) to the end of the calculation.

  You will get an output file called "fig-memoryleak-erase-facets.png",
  where you can see the effect of the memoryleak.

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1041084/+subscriptions

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


[Yade-dev] [Bug 1256067] Re: Problem compiling the code, message error "-- Configuring incomplete, errors occurred!"

2013-11-29 Thread Raphaël Maurin
Thanks Anton, it fixed the problem. But I am surprised because I had no problem 
before, is it that there is some new dependency ? 
Raphael

** Changed in: yade
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1256067

Title:
  Problem compiling the code, message error "-- Configuring incomplete,
  errors occurred!"

Status in Yet Another Dynamic Engine:
  Invalid

Bug description:
  Hi all, 
  I don't succeed to compile the code from the actual source code (, an error 
message tells me : "Could NOT find BZip2", but bzip2 is installed on my 
computer, so I don't understand. Maybe it comes from something else in the 
error message, but that the only thing I found myself. 
  I am using Ubuntu 12.04.3 LTS
  The full description of what I am doing and what it gives (it is the same if 
I try a new compilation, cmake -DINSTALL_PREFIX=./ ../trunk/) : 

  raphael@GRP3723:~/yade-source/New/20131128Version$ make install
  -- The C compiler identification is GNU
  -- The CXX compiler identification is GNU
  -- Check for working C compiler: /usr/bin/gcc
  -- Check for working C compiler: /usr/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Found PythonLibs: /usr/lib/libpython2.7.so 
  -- Found PythonInterp: /usr/bin/python (found version "2.7.3")
  -- Try OpenMP C flag = [-fopenmp]
  -- Performing Test OpenMP_FLAG_DETECTED
  -- Performing Test OpenMP_FLAG_DETECTED - Success
  -- Try OpenMP CXX flag = [-fopenmp]
  -- Performing Test OpenMP_FLAG_DETECTED
  -- Performing Test OpenMP_FLAG_DETECTED - Success
  -- Found OpenMP: -fopenmp 
  -- Looking for Q_WS_X11
  -- Looking for Q_WS_X11 - found
  -- Looking for Q_WS_WIN
  -- Looking for Q_WS_WIN - not found.
  -- Looking for Q_WS_QWS
  -- Looking for Q_WS_QWS - not found.
  -- Looking for Q_WS_MAC
  -- Looking for Q_WS_MAC - not found.
  -- Found Qt4: /usr/bin/qmake (found version "4.8.1")
  -- Version is set to 2013-11-28.git-502e3ef
  -- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
  -- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
  -- Looking for gethostbyname
  -- Looking for gethostbyname - found
  -- Looking for connect
  -- Looking for connect - found
  -- Looking for remove
  -- Looking for remove - found
  -- Looking for shmat
  -- Looking for shmat - found
  -- Looking for IceConnectionNumber in ICE
  -- Looking for IceConnectionNumber in ICE - found
  -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
  -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
  -- GTS using gts-config /usr/bin/gts-config
  -- Using GTS from /usr
  -- Found GL2PS: /usr/lib/libgl2ps.so 
  -- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
  -- Found NumPy: version "1.6.1" 
/usr/lib/python2.7/dist-packages/numpy/core/include
  -- Found Loki: /usr/include 
  -- Boost version: 1.46.1
  -- Found the following Boost libraries:
  --   python
  --   thread
  --   date_time
  --   filesystem
  --   iostreams
  --   regex
  --   serialization
  --   system
  --   Boost_VERSION: 104601
  --   Boost_LIB_VERSION: 1_46_1
  --   Boost_INCLUDE_DIRS: /usr/include
  --   Boost_LIBRARIES: 
/usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so/usr/lib/libboost_system-mt.so
  -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
  CMake Error at 
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
  Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindBZip2.cmake:30 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:96 (FIND_PACKAGE)

  
  -- Configuring incomplete, errors occurred!
  make: *** [cmake_check_build_system] Erreur 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1256067/+subscriptions

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


[Yade-dev] [Bug 1256067] Re: Problem compiling the code, message error "-- Configuring incomplete, errors occurred!"

2013-11-29 Thread Raphaël Maurin
"is it that there is some new dependency ?"
Dependency was maybe not the good word, prerequisites might be better. 
To close the bug, I defined it as invalid, is it enough or is there something 
else to do?
Raphael

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1256067

Title:
  Problem compiling the code, message error "-- Configuring incomplete,
  errors occurred!"

Status in Yet Another Dynamic Engine:
  Invalid

Bug description:
  Hi all, 
  I don't succeed to compile the code from the actual source code (, an error 
message tells me : "Could NOT find BZip2", but bzip2 is installed on my 
computer, so I don't understand. Maybe it comes from something else in the 
error message, but that the only thing I found myself. 
  I am using Ubuntu 12.04.3 LTS
  The full description of what I am doing and what it gives (it is the same if 
I try a new compilation, cmake -DINSTALL_PREFIX=./ ../trunk/) : 

  raphael@GRP3723:~/yade-source/New/20131128Version$ make install
  -- The C compiler identification is GNU
  -- The CXX compiler identification is GNU
  -- Check for working C compiler: /usr/bin/gcc
  -- Check for working C compiler: /usr/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Found PythonLibs: /usr/lib/libpython2.7.so 
  -- Found PythonInterp: /usr/bin/python (found version "2.7.3")
  -- Try OpenMP C flag = [-fopenmp]
  -- Performing Test OpenMP_FLAG_DETECTED
  -- Performing Test OpenMP_FLAG_DETECTED - Success
  -- Try OpenMP CXX flag = [-fopenmp]
  -- Performing Test OpenMP_FLAG_DETECTED
  -- Performing Test OpenMP_FLAG_DETECTED - Success
  -- Found OpenMP: -fopenmp 
  -- Looking for Q_WS_X11
  -- Looking for Q_WS_X11 - found
  -- Looking for Q_WS_WIN
  -- Looking for Q_WS_WIN - not found.
  -- Looking for Q_WS_QWS
  -- Looking for Q_WS_QWS - not found.
  -- Looking for Q_WS_MAC
  -- Looking for Q_WS_MAC - not found.
  -- Found Qt4: /usr/bin/qmake (found version "4.8.1")
  -- Version is set to 2013-11-28.git-502e3ef
  -- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
  -- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
  -- Looking for gethostbyname
  -- Looking for gethostbyname - found
  -- Looking for connect
  -- Looking for connect - found
  -- Looking for remove
  -- Looking for remove - found
  -- Looking for shmat
  -- Looking for shmat - found
  -- Looking for IceConnectionNumber in ICE
  -- Looking for IceConnectionNumber in ICE - found
  -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
  -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
  -- GTS using gts-config /usr/bin/gts-config
  -- Using GTS from /usr
  -- Found GL2PS: /usr/lib/libgl2ps.so 
  -- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
  -- Found NumPy: version "1.6.1" 
/usr/lib/python2.7/dist-packages/numpy/core/include
  -- Found Loki: /usr/include 
  -- Boost version: 1.46.1
  -- Found the following Boost libraries:
  --   python
  --   thread
  --   date_time
  --   filesystem
  --   iostreams
  --   regex
  --   serialization
  --   system
  --   Boost_VERSION: 104601
  --   Boost_LIB_VERSION: 1_46_1
  --   Boost_INCLUDE_DIRS: /usr/include
  --   Boost_LIBRARIES: 
/usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so/usr/lib/libboost_system-mt.so
  -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
  CMake Error at 
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
  Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindBZip2.cmake:30 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:96 (FIND_PACKAGE)

  
  -- Configuring incomplete, errors occurred!
  make: *** [cmake_check_build_system] Erreur 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1256067/+subscriptions

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


[Yade-dev] [Bug 1256067] [NEW] Problem compiling the code, message error "-- Configuring incomplete, errors occurred!"

2013-11-28 Thread Raphaël Maurin
Public bug reported:

Hi all, 
I don't succeed to compile the code from the actual source code (, an error 
message tells me : "Could NOT find BZip2", but bzip2 is installed on my 
computer, so I don't understand. Maybe it comes from something else in the 
error message, but that the only thing I found myself. 
I am using Ubuntu 12.04.3 LTS
The full description of what I am doing and what it gives (it is the same if I 
try a new compilation, cmake -DINSTALL_PREFIX=./ ../trunk/) : 

raphael@GRP3723:~/yade-source/New/20131128Version$ make install
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonLibs: /usr/lib/libpython2.7.so 
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.1")
-- Version is set to 2013-11-28.git-502e3ef
-- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in 
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib/libgl2ps.so 
-- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
-- Found NumPy: version "1.6.1" 
/usr/lib/python2.7/dist-packages/numpy/core/include
-- Found Loki: /usr/include 
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   python
--   thread
--   date_time
--   filesystem
--   iostreams
--   regex
--   serialization
--   system
--   Boost_VERSION: 104601
--   Boost_LIB_VERSION: 1_46_1
--   Boost_INCLUDE_DIRS: /usr/include
--   Boost_LIBRARIES: 
/usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so/usr/lib/libboost_system-mt.so
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
CMake Error at 
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 
(_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindBZip2.cmake:30 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:96 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Erreur 1

** Affects: yade
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1256067

Title:
  Problem compiling the code, message error "-- Configuring incomplete,
  errors occurred!"

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Hi all, 
  I don't succeed to compile the code from the actual source code (, an error 
message tells me : "Could NOT find BZip2", but bzip2 is installed on my 
computer, so I don't understand. Maybe it comes from something else in the 
error message, but that the only thing I found myself. 
  I am using Ubuntu 12.04.3 LTS
  The full description of what I am doing and what it gives (it is the same if 
I try a new compilation, cmake -DINSTALL_PREFIX=./ ../trunk/) : 

  raphael@GRP3723:~/yade-source/New/20131128Version$ make install
  -- The C compiler identification is GNU
  -- The CXX compiler identification is GNU
  -- Check for working C compiler: /usr/bin/gcc
  -- Check for working C compiler: /usr/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working CXX compiler: /usr/bi

[Yade-dev] Modified GlobalStiffnessTimeStepper for visco-elastic contact law

2013-09-03 Thread Raphaël Maurin
Hi all, 

I developed a "copy" of GlobalStiffnessTimeStepper which evaluate the time step 
of a system of particle with Law2_ScGeom_ViscElPhys_Basic contact law (spring + 
viscous damping).

The principle of the time step evaluation is : 
We consider that the elastic and the viscous degrees of freedom are decoupled. 
From that, we evaluate the critical time step of the system of particles 
considering the elastic part only (dt_el) on one hand, and considering the 
viscous part only (dt_visc) on the other hand. Then, we take the minimum of the 
two timestep and multiply it by a safety factor to account for the possible 
coupling between the two effect (dt = alpha*min(dt_el,dt_visc). 

To do so, I took GlobalStiffnessTimeStepper (GSTS) which is already evaluating 
the elastic critical time step, and implemented similarly a calculation for the 
viscous critical time step of the system from the the viscosity matrix of each 
particles. The changes are not so important between the version I implemented 
and the last one (see the code below). I tested it in cases where the normal 
viscous part is dominant and the new version gives a lower time step which 
allows to keep the caculus stable, while in the old version everything explode, 
so it seems to work.

I have some questions about that :
- Does the evaluation of the time step seems reasonable to you? 
- What can I do to test it quantitavely ? (if I try a collision between two 
beads, GSTS does not work..)
- To add it to the code, should I add it as a new "file"/"function" or should I 
implement it as an option of GSTS ? 

And about GSTS in general : 
- why is GSTS not working when we consider a gravity deposition or a collision 
?? (even when defaultDt is small enough)

Thanks, 

Raphael



GlobalStiffnessTimeStepper.cpp

/*
*  Copyright (C) 2006 by Bruno Chareyre  *
*  bruno.chare...@hmg.inpg.fr*
**
*  This program is free software; it is licensed under the terms of the  *
*  GNU General Public License v2 or later. See file LICENSE for details. *
*/

#include"GlobalStiffnessTimeStepper.hpp"
#include
#include
#include
#include
#include
#include
#include
#include

CREATE_LOGGER(GlobalStiffnessTimeStepper);
YADE_PLUGIN((GlobalStiffnessTimeStepper));

GlobalStiffnessTimeStepper::~GlobalStiffnessTimeStepper() {}

void GlobalStiffnessTimeStepper::findTimeStepFromBody(const shared_ptr& 
body, Scene * ncb)
{
State* sdec=body->state.get();
Vector3r&  stiffness= stiffnesses[body->getId()];
Vector3r& Rstiffness=Rstiffnesses[body->getId()];
Vector3r& viscosity= viscosities[body->getId()];
Vector3r& Rviscosity= Rviscosities[body->getId()];

if(body->isClump()) {// if clump, we sum stifnesses of all members
const shared_ptr& 
clump=YADE_PTR_CAST(body->shape);
FOREACH(Clump::MemberMap::value_type& B, clump->members){
const shared_ptr& b = Body::byId(B.first,scene);
stiffness+=stiffnesses[b->getId()];
Rstiffness+=Rstiffnesses[b->getId()];
viscosity+=viscosities[b->getId()];
Rviscosity+=Rviscosities[b->getId()];
}
}

if(!sdec || stiffness==Vector3r::Zero()){
if (densityScaling) sdec->densityScaling = 
min(1.0001*sdec->densityScaling, 
timestepSafetyCoefficient*pow(defaultDt/targetDt,2.0));
return; // not possible to compute!
}

//Determine the elastic critical time step and the viscous one 
separately (as if they were decoupled) and take the minimum  time step with 
a safety coefficient. 

//Elastic
Real dtx, dty, dtz;
Real dt = max( max (stiffness.x(), stiffness.y()), stiffness.z() );
if (dt!=0) {
dt = sdec->mass/dt;  computedSomething = true;}//dt = squared 
eigenperiod of translational motion 
else dt = Mathr::MAX_REAL;
if (Rstiffness.x()!=0) {
dtx = sdec->inertia.x()/Rstiffness.x();  computedSomething = 
true;}//dtx = squared eigenperiod of rotational motion around x
else dtx = Mathr::MAX_REAL; 
if (Rstiffness.y()!=0) {
dty = sdec->inertia.y()/Rstiffness.y();  computedSomething = 
true;}
else dty = Mathr::MAX_REAL;
if (Rstiffness.z()!=0) {
dtz = sdec->inertia.z()/Rstiffness.z();  computedSomething = 
true;}
else dtz = Mathr::MAX_REAL;

Real Rdt =  std::min( std::min (dtx, dty), dtz );//Rdt = smallest 
squared eigenperiod for elastic rotational motions
dt = 
1.41044*timestepSafetyCoefficient*std::sqrt(std::min(dt,Rdt));//1.

[Yade-dev] [Bug 1217770] [NEW] boot failure after an upgrade of yade-daily

2013-08-28 Thread Raphaël Maurin
Public bug reported:

I am using Ubuntu 12.04
After upgrading yade-daily, I get an error message when trying to execute 
yade-daily : 

raphael@GRP3723:~/FluidMODIF/test/PY/YADE$ yade-daily
Welcome to Yade 4+3684+50~precise1
Traceback (most recent call last):
  File "/usr/bin/yade-daily", line 115, in 
import yade
  File "/usr/lib/x86_64-linux-gnu/yade-daily/py/yade/__init__.py", line 65, in 

import boot
ImportError: libopenblas.so: cannot open shared object file: No such file or 
directory

Installing libopenblas-dev solved my problem. It seems libopenblas was
not install before on my computer.

Raphaël

** Affects: yade
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1217770

Title:
  boot failure after an upgrade of yade-daily

Status in Yet Another Dynamic Engine:
  New

Bug description:
  I am using Ubuntu 12.04
  After upgrading yade-daily, I get an error message when trying to execute 
yade-daily : 

  raphael@GRP3723:~/FluidMODIF/test/PY/YADE$ yade-daily
  Welcome to Yade 4+3684+50~precise1
  Traceback (most recent call last):
File "/usr/bin/yade-daily", line 115, in 
  import yade
File "/usr/lib/x86_64-linux-gnu/yade-daily/py/yade/__init__.py", line 65, 
in 
  import boot
  ImportError: libopenblas.so: cannot open shared object file: No such file or 
directory

  Installing libopenblas-dev solved my problem. It seems libopenblas was
  not install before on my computer.

  Raphaël

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1217770/+subscriptions

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


Re: [Yade-dev] [Yade-users] [Question #234513]: import an external library

2013-08-23 Thread Raphaël Maurin
Hi Bruno, 
Even with your trick :
$ yade-daily
Yade [1]: from nsmp1d_yade import *

It is not working for me and I get the same error :
$ yade-daily
Welcome to Yade 3+3698+47~precise1
TCP python prompt on localhost:9000, auth cookie `syacdu'
XMLRPC info provider on http://localhost:21000
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for 
showing help), F10 both, F9 generator, F8 plot. ]]

Yade [1]: from nsmp1d_yade import *
---
ImportError   Traceback (most recent call last)
/usr/bin/yade-daily in ()
> 1 from nsmp1d_yade import *

ImportError: No module named nsmp1d_yade

I also did it with your simplified script Bruno (which consisted in importing a 
very simple python function and use it),  and I got the same error whatever the 
way I am trying to import it.

Raphael

(I checked carefully that I am in the right folder and that it is the exact 
name.)


-Original Message-
From: Bruno Chareyre [mailto:bruno.chare...@hmg.inpg.fr]
Sent: Fri 8/23/2013 6:47 PM
To: Yade Development Group; Raphaël Maurin
Subject: Re: [Yade-users] [Question #234513]: import an external library
 

> Jan Stránský proposed the following answer:
> or inside the script (in the beginning)
>
> import sys
> sys.path.append('.')
>
> the solution is the same as Anton's one
> Jan

That's it (conclusion for Raphaël: ask the mailing list instead of me ;) )

In fact Yade is a bit inconsistent, because this is ok:

$ yade-daily
Yade [1]: from mylib import *

Depending if the import is done in a script or typed within the session,
it will work or not.
This context switch is not really intuitive. One would expect that
typing in script or terminal is exactly the same.
It is not the first time I have trouble with that.

Could you guys try if any of the attached patches are working for you (I
only tested with IPython 0.10)?
The first one is trying to make the behavior the same for shell commands
and script by moving arguments handling after shell config.
The second is simply adding "sys.path.append('.')" in the startup
scripts, it is less general.
Naive tries, let me know if it works and what you think.

Bruno


>
> 2013/8/23 Anton Gladky 
>
>> Question #234513 on Yade changed:
>> https://answers.launchpad.net/yade/+question/234513
>>
>> Status: Open => Answered
>>
>> Anton Gladky proposed the following answer:
>> PYTHONPATH=. yade-daily Simple.py
>>
>> should fix your problem, if nsmp1d_yade.so is in the current folder.
>>
>> Anton
>>
>>
>> 2013/8/23 Raphaël Maurin :
>>> New question #234513 on Yade:
>>> https://answers.launchpad.net/yade/+question/234513
>>>
>>> Hi all,
>>>
>>> I am trying to import an external library nsmp1d_yade.so in my script
>> (see below) and I don't succeed to do it.
>>> When I am using my script with python, doing :
>>> python Simple.py
>>> everything is working and the script is using the content of the library.
>>> However, when I am running the same script with yade :
>>> yade-daily Simple.py
>>>
>>> I get an error :
>>> Welcome to Yade 3+3698+47~precise1
>>> TCP python prompt on localhost:9000, auth cookie `ucdsea'
>>> XMLRPC info provider on http://localhost:21000
>>> Running script Simple.py
>>> Traceback (most recent call last):
>>>   File "/usr/bin/yade-daily", line 168, in runScript
>>> execfile(script,globals())
>>>   File "Simple.py", line 2, in 
>>> from nsmp1d_yade import *
>>> ImportError: No module named nsmp1d_yade
>>>
>>>
>>> I don't understand why it is working with python and not with Yade.
>>> Do you have any idea of how I can solve this problem?
>>>
>>> Thank you
>>>
>>> Raphael
>>>
>>>
>>>
>>> Here is my script Simple.py :
>>>
>>> from nsmp1d_yade import *
>>>
>>> from pylab import *
>>> from matplotlib import pyplot
>>> import matplotlib.gridspec as gridspec
>>> import numpy as np
>>>
>>> ## Define the situation
>>> rho_f = 1000
>>> rho_s = 2500
>>> slope = 1e-4
>>> visco_f = 1e-3
>>> dp=6e-3
>>> ndimz=301
>>> h=1.
>>> dsig=np.zeros(ndimz)
>>> dsig[0:ndimz-1]=h/(double(ndimz-1))
>>> sig=linspace(0e0,1e0,ndimz)
>>>
>>> ufnp   = np.zeros(ndimz)
>>> ufn= np.zeros(ndimz)
>>> alphaf = np.zeros(ndimz)
>>> us