An error message when I use multiple cores

Asked by behzad

Hi folks,

I get this error message maybe 50% of the time I use multiple cores. Any idea that where does it come from?

*** Error in `/usr/bin/python': free(): invalid next size (fast): 0x09268828 ***
Aborted (core dumped)

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
behzad (behzad-majidi) said :
#1

This is an example of the script causing the error message most of the time:

https://www.dropbox.com/s/zrpi7c4nkl7nsm5/G8-14.py?dl=0

Revision history for this message
Jan Stránský (honzik) said :
#2

Hi Behzad,
see [1]. What version of Yade do you use?
cheers
Jan

[1] https://bugs.launchpad.net/yade/+bug/1559098

2016-04-25 19:57 GMT+02:00 behzad <email address hidden>:

> Question #292258 on Yade changed:
> https://answers.launchpad.net/yade/+question/292258
>
> behzad posted a new comment:
>
> This is an example of the script causing the error message most of the
> time:
>
> https://www.dropbox.com/s/zrpi7c4nkl7nsm5/G8-14.py?dl=0
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
behzad (behzad-majidi) said :
#3

Hi Jan

It's 2016-04-15.git-c671ce7

By the way I had this issue with older versions as well.

thanks,
Behzad

Revision history for this message
Anton Gladky (gladky-anton) said :
#4

Hi,

do you use the packaged or self-compiled Yade?

Anton

Revision history for this message
behzad (behzad-majidi) said :
#5

I downloaded the trunk and then, I added two files for the new material that I use and I compiled all.
If this is what you call self compiled so it's a self compiled YADE.

The new material has nothing to do with this problem and even without having that the problem exist.

Revision history for this message
Anton Gladky (gladky-anton) said :
#6

What operating system do you use? Please check the version of
libqglviewer in your system, whether it is compiled against Qt5
or not.

More detailed information on installation page of the Yade
documentation.

Anton

Revision history for this message
behzad (behzad-majidi) said :
#7

I've got QMake version of 2.01a using Qt version 4.8.6.
I don't know how can I check the version of libqglviewer

Revision history for this message
Anton Gladky (gladky-anton) said :
#8

You did not answer the question about operating system.
QMake is not used for Yade compilation.

Regards

Anton

Revision history for this message
behzad (behzad-majidi) said :
#9

It's Ubuntu 14.04

Revision history for this message
behzad (behzad-majidi) said :
#10

I installed qt5 and I use the option USE-QT5 as:

cmake -DCMAKE_INSTALL_PREFIX=~/yade2/install ~/yade2/trunk -DOPTION1=USE_QT5

but I still get

-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GTS
-- Found Qt4: /usr/bin/qmake (found version "4.8.6")
-- Found GUI-LIBS
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so /usr/lib/i386-linux-gnu/libgmpxx.so
-- Found CGAL
-- Found Cholmod
-- Found OpenBlas
-- Found Metis
-- Found GL2PS
LBMFLOW is still experimental, building and running LBM engine are at your own risk!
Yade will be installed to /home/behzad/yade2/install
-- Suffix is set to -2016-04-23.git-806ecaa
-- LIBRARY_OUTPUT_PATH is set to lib/i386-linux-gnu
-- runtimePREFIX is set to /home/behzad/yade2/install
-- Could NOT find gts (missing: PY_gts)
-- Use embedded version of gts. Please, consider installing the corresponding package
-- ===========================================================
-- Yade configured with following features: Odeint VTK OpenMP GTS GUI CGAL PFVFLOW LINSOLV GL2PS LBMFLOW
-- Disabled features: SPH LIQMIGRATION MASK_ARBITRARY PROFILING PotentialParticles
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/behzad/yade2/build

in which I`ve got:

Found Qt4: /usr/bin/qmake (found version "4.8.6")

Revision history for this message
behzad (behzad-majidi) said :
#11

http://www.linuxfromscratch.org/blfs/view/systemd/general/qtchooser.html

On Mon, Apr 25, 2016 at 8:47 PM, behzad <
<email address hidden>> wrote:

> Your question #292258 on Yade changed:
> https://answers.launchpad.net/yade/+question/292258
>
> behzad posted a new comment:
> I installed qt5 and I use the option USE-QT5 as:
>
>
> cmake -DCMAKE_INSTALL_PREFIX=~/yade2/install ~/yade2/trunk
> -DOPTION1=USE_QT5
>
>
> but I still get
>
>
> -- Found VTK
> -- Found OpenMP
> -- GTS using gts-config /usr/bin/gts-config
> -- Using GTS from /usr
> -- Found GTS
> -- Found Qt4: /usr/bin/qmake (found version "4.8.6")
> -- Found GUI-LIBS
> -- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so
> /usr/lib/i386-linux-gnu/libgmpxx.so
> -- GMP libs: /usr/lib/i386-linux-gnu/libgmp.so
> /usr/lib/i386-linux-gnu/libgmpxx.so
> -- Found CGAL
> -- Found Cholmod
> -- Found OpenBlas
> -- Found Metis
> -- Found GL2PS
> LBMFLOW is still experimental, building and running LBM engine are at your
> own risk!
> Yade will be installed to /home/behzad/yade2/install
> -- Suffix is set to -2016-04-23.git-806ecaa
> -- LIBRARY_OUTPUT_PATH is set to lib/i386-linux-gnu
> -- runtimePREFIX is set to /home/behzad/yade2/install
> -- Could NOT find gts (missing: PY_gts)
> -- Use embedded version of gts. Please, consider installing the
> corresponding package
> -- ===========================================================
> -- Yade configured with following features: Odeint VTK OpenMP GTS GUI CGAL
> PFVFLOW LINSOLV GL2PS LBMFLOW
> -- Disabled features: SPH LIQMIGRATION MASK_ARBITRARY PROFILING
> PotentialParticles
> -- Optimized build
> -- ===========================================================
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/behzad/yade2/build
>
>
> in which I`ve got:
>
> Found Qt4: /usr/bin/qmake (found version "4.8.6")
>
> You received this question notification because you asked the question.
>

--
Behzad Majidi

Research Student
Aluminium Research Centre
REGAL-Université Laval
Québec, QC, Canada

Please consider the environment before printing this E-mail.

Revision history for this message
behzad (behzad-majidi) said :
#12

Please ignore the last message! That was sent by mistake

Revision history for this message
Anton Gladky (gladky-anton) said :
#13

-DUSE_QT5=1 is the correct syntax. But you __have__ to be sure,
that libqglviewer compiled against qt5. Check version in package manager.

Anton

Anton

2016-04-26 4:47 GMT+02:00 behzad <email address hidden>:

> Question #292258 on Yade changed:
> https://answers.launchpad.net/yade/+question/292258
>
> behzad posted a new comment:
> Please ignore the last message! That was sent by mistake
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
behzad (behzad-majidi) said :
#14

Well it's complied against Qt4 and I don't know how can I fix this.
I mean how can I compile libqglviewer with Qt5?

Revision history for this message
Anton Gladky (gladky-anton) said :
#15

libqglviewer __is__ compiled in your system, if you
use the packaged version of libqglviewer. You just need
to find out, which version of this lib you have. If it is 2.6.3 and
your operating system is Debian-based, so it is almost
100% Qt5-dependent.

Anton

2016-04-26 20:52 GMT+02:00 behzad <email address hidden>:
> Question #292258 on Yade changed:
> https://answers.launchpad.net/yade/+question/292258
>
> behzad posted a new comment:
> Well it's complied against Qt4 and I don't know how can I fix this.
> I mean how can I compile libqglviewer with Qt5?
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
behzad (behzad-majidi) said :
#16

This is what I've got:

behzad@gmn-hq-02l:~$ hostnamectl
   Static hostname: gmn-hq-02l
         Icon name: computer-desktop
           Chassis: desktop
           Boot ID: 3fb8af4b653b45d394755cca5bc916cc
  Operating System: Ubuntu 14.04.4 LTS
            Kernel: Linux 3.19.0-58-generic
      Architecture: i686

So, AFAIK it's not debian based. Right?

Revision history for this message
Anton Gladky (gladky-anton) said :
#17

It is Debian based, but you have relatively old
version 2.5.0, and it was compiled against Qt4.

Anton

2016-04-26 21:42 GMT+02:00 behzad <email address hidden>:
> Question #292258 on Yade changed:
> https://answers.launchpad.net/yade/+question/292258
>
> behzad posted a new comment:
> This is what I've got:
>
>
> behzad@gmn-hq-02l:~$ hostnamectl
> Static hostname: gmn-hq-02l
> Icon name: computer-desktop
> Chassis: desktop
> Boot ID: 3fb8af4b653b45d394755cca5bc916cc
> Operating System: Ubuntu 14.04.4 LTS
> Kernel: Linux 3.19.0-58-generic
> Architecture: i686
>
> So, AFAIK it's not debian based. Right?
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
behzad (behzad-majidi) said :
#18

OK, thanks Anton.

Can you help with this problem?

Provide an answer of your own, or ask behzad for more information if necessary.

To post a message you must log in.