← Back to team overview

yade-users team mailing list archive

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

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
>> I have installed the current development version of yade and execute the
command.Then I run the script through the following:
>> '/home/wzy/Docx/YadeSources/install/bin/yade-2021-03-16.git-61c9069' -j
16 '/home/wzy/Docx/yade/By_myself/ThermalEngine/Noflow1/noFlowScenario.py'
>> (ps:Is it this way to run the script?)

To be technical, you are reverting to the code state that existed just
before the bug was added. So this would not constitute "current development
version." But nonetheless, you appear to have compiled the correct version
of sources, based on the naming structure of your install/bin executable.
So yes, you are running it correctly based on the command you are providing
here.

This is exactly the procedure I used to test and find the bug - in
otherwords, this git version 61c90697 works for me on my computer with
18.04 and runs the example scripts correctly. Can you confirm you are
running this on 18.04? If no, can you check it on 18.04?

As for waiting on the fix, I am finding now that a VTK bug was introduced
during a VTK file split last month. I am working on fixing it, but your
best bet is to continue using 61c90697 until I solve the issue. The
ThermalEngine functionality of that branch is the most uptodate anyways so
it doesnt matter if you are on that branch or the most recent branch.

Thanks again for your patience,

Robert



On Mon, Sep 27, 2021 at 11:36 AM Ziyu Wang <
question698830@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Question #698830 on Yade changed:
> https://answers.launchpad.net/yade/+question/698830
>
>     Status: Answered => Open
>
> Ziyu Wang is still having a problem:
> Thanks Robert for your kindly help!
>
> Sorry,I'm not sure if I understand what you mean correctly as a new user
> of yade.You will update yadedaily in the near future to fix this error,
> am I right?
>
> And then,Your suggestion is: install the current development version of
> yade and run the command you gave above?
>
> I have installed the current development version of yade and execute the
> command.Then I run the script through the following:
>
> '/home/wzy/Docx/YadeSources/install/bin/yade-2021-03-16.git-61c9069' -j 16
> '/home/wzy/Docx/yade/By_myself/ThermalEngine/Noflow1/noFlowScenario.py'
> (ps:Is it this way to run the script?)
>
> Unfortunately, the following prompt appeared:
> /home/wzy/Docx/YadeSources/install/lib/x86_64-linux-gnu/yade-2021-03-16.git-61c9069/py/yade/plot.py:463:
> MatplotlibDeprecationWarning:
> 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)
>
> As you said, this seems to be a warning rather than an error so the
> simulation running.But when I check Body.state.temp, the value is
> Nan!What is the problem...
>
> There is my PrintAllVersions():
> Yade version   :  2021-03-16.git-61c9069
> Yade features  :  BoostLog RealHP mpmath PrecisionDouble Odeint VTK OpenMP
> GTS GUI-Qt5 CGAL PFVFLOW PFVFLOW LINSOLV MPI TWOPHASEFLOW FEMLIKE GL2PS
> LBMFLOW THERMAL PARTIALSAT PotentialParticles PotentialBlocks
> Yade config dir:  ~/.yade-2021-03-16.git-61c9069
> Yade precision :  53 bits, 15 decimal places, with mpmath
> 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.1.5              |
> | 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             |
> | sphinx        | 1.8.5-final-0        |                    |
> | 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 again!
>
> --
> 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     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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