installation problem

114 views
Skip to first unread message

nima vaziri

unread,
Sep 26, 2019, 7:47:59 AM9/26/19
to mantaflow Forum
Thanks for your nice code and website.  I have a problem in running manta on Linux. I followed the instruction and installed manta. When I run the test case: ./manta ../scenes/simpleplume.py. I have a message:
Version: mantaflow 0.12 64bit fp1 omp commit 15eaf4aa72da62e174df6c01f85ccd66fde20acc from Sep 25 2019, 15:17:48
QXcbConnection: Could not connect to display 
Aborted (core dumped)

I changed the Cmake to: cmake .. -DGUI=OFF -DOPENMP=ON -DNUMPY=ON
but nothing changed. I remote to the Red Hat 4.4.7-23, Could you please help me? Many thanks. 

nima vaziri

unread,
Sep 26, 2019, 2:36:43 PM9/26/19
to mantaflow Forum
I rebuild the code and now it works. Thanks.

nima vaziri

unread,
Sep 27, 2019, 6:32:55 AM9/27/19
to mantaflow Forum
So sorry to ask a question again. I am very new in manta. I run some cases without GUI (I remote on a server - for example ./manta ../scenes/simpleplume.py). The simulation run and I have frame 1 to n on the screen. Now how can I copy the results to my PC (actually I could not find the results files)? and how can I see them in the PC? Many thanks again. 


Sebastián Barschkis

unread,
Sep 27, 2019, 8:39:09 AM9/27/19
to mantaflow Forum
Hi Nima,

without any extra "save" calls a Mantaflow script will not write any data to your PC disk, i.e. there is no cache. It will just perform the computations from the script and optionally show the results in the GUI in real-time. scenes/simpleplume.py, for example, has no "save" calls by default.

If you want to "keep" the data from the simulation you can do two things:

(1) Save the data from the grids, particle systems, meshes. The .save(...) function can be called on any of those objects.
(2) Save a screenshot of the simulation. For that, trigger the .screenshot(...) function on the GUI object.

In scenes/waveletTurbulenceObs.py you can find some examples of those functions in action (commented out by default).

In order to later view the data from (1) you can just write an extra Python Mantaflow script. Use the .load(...) function and remember to enable the GUI.
Alternatively, it's possible to load (and also generate) Mantaflow simulation data in "Blender". But let's save that discussion for another thread :)

Hope this helps! Best wishes,
Sebastián

nima vaziri

unread,
Sep 27, 2019, 10:47:07 AM9/27/19
to mantaflow Forum
Dear Sebastián,

Many thanks for your fast and complete answer. I will try to use your suggestions. However, may be some people like me come from fluid mechanics area (without any special experience in Python) and want to use your interesting code. It will be good to put a simple tutorial for us (just an idea). Thanks again.
Reply all
Reply to author
Forward
0 new messages