← Back to team overview

yade-users team mailing list archive

[Question #698830]: Can't running noFlowScenario.py with yade or yadedaily

 

New question #698830 on Yade:
https://answers.launchpad.net/yade/+question/698830

Dear all,
I have asked a few questions about [2] in [1].However,I found that the script still cannot be run successfully, and the errors in yade and yadedaily are different.

1.When running in yade, an error occurs:
  The 'verts' kwarg was deprecated in Matplotlib 3.0 and will be removed in 3.2. Use 'marker' instead.
  scatter=pylab.scatter(scatterPt[0] if not math.isnan(scatterPt[0]) else 0,scatterPt[1] if not math.isnan(scatterPt[1]) else 0,s=scatterSize,color=line.get_color(),**scatterMarkerKw)

2.When running in yadedaily,another error occurs:
  python3.8: /build/vtk6-9ueea8/vtk6-6.3.0+dfsg2/IO/XML/vtkXMLOffsetsManager.h:142:void OffsetsManagerGroup::Allocate(int, int):Assertion `numElements > 0' failed.
Aborted (core dumped)

The following is the version related information in printAllVersions() in yadedaily:

Yade version   :  20210909-5909~5b11526~focal1
Yade features  :  LOGGER USEFUL_ERRORS REAL_HP COMPLEX_MP VTK OPENMP GTS QT5 CGAL PFVFLOW PFVFLOW LINSOLV MPI TWOPHASEFLOW FEMLIKE GL2PS LBMFLOW THERMAL PARTIALSAT POTENTIAL_PARTICLES POTENTIAL_BLOCKS
Yade config dir:  ~/.yadedaily
Yade precision :  53 bits, 15 decimal places, with mpmath, PrecisionDouble
Yade RealHP<…> :  (15, 33, 45, 60, 120, 150, 300) decimal digits in C++, (15, 33) decimal digits accessible from python
```

Libraries used :

| library       | cmake                | C++                |
| -------------   | -------------------- | ------------------ |
| boost         | 107100               | 1.71.0             |
| cgal          |                      | 5.0.2              |
| clp           | 1.17.5               | 1.17.5             |
| cmake         | 3.16.3               |                    |
| coinutils     | 2.11.4               | 2.11.4             |
| compiler      | /usr/bin/c++ 9.3.0   | gcc 9.3.0          |
| eigen         | 3.3.7                | 3.3.7              |
| freeglut      | 2.8.1                |                    |
| gl            |                      | 20190805           |
| ipython       | 7.13.0               |                    |
| metis         |                      | 5.1.0              |
| mpi           | 3.1                  | ompi:4.0.3         |
| mpi4py        | 3.0.3                |                    |
| mpmath        | 1.1.0                |                    |
| openblas      |                      |  OpenBLAS 0.3.8    |
| python        | 3.8.10               | 3.8.10             |
| qglviewer     |                      | 2.6.3              |
| qt            |                      | 5.12.8             |
| sqlite        |                      | 3.31.1             |
| suitesparse   | 5.7.1                | 5.7.1              |
| vtk           | 6.3.0                | 6.3.0              |

```
Linux version  :  Ubuntu 20.04.3 LTS
Architecture   :  amd64
Little endian  :  True

Thanks for your help!
Best regards.

[1]https://answers.launchpad.net/yade/+question/698776
[2]https://gitlab.com/yade-dev/trunk/-/blob/master/examples/ThermalEngine/noFlowScenario.py

 
  



-- 
You received this question notification because your team yade-users is
an answer contact for Yade.