CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

DICE - OpenFOAM GUI project

Register Blogs Community New Posts Updated Threads Search

Like Tree35Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2015, 07:40
Default
  #21
Ros
New Member
 
Rostyslav Lyulinetskyy
Join Date: Jul 2011
Location: Stuttgart
Posts: 14
Rep Power: 15
Ros is on a distinguished road
Quote:
Originally Posted by chriss85 View Post
I have tried to use the compiled version on Kubuntu 14.04, I'm getting the following error:
./DICE: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'CXXABI_1.3.8' not found (required by ./DICE)

I assume you're linking against some other version of libstdc++, what do I need and how to set it up? Some googling points to adding the path of the correct version to LD_LIBRARY_PATH.
Hi chriss,

thanks for the feedback.
Just install the build-essentials and liblapack3 before running DICE by executing:

Code:
sudo apt-get install build-essential
sudo apt-get install liblapack3
If you also want to see how the help system and the IDE works, install
the latest qt (https://www.qt.io/download-open-source/#section-2) and change the prefix-path in the qt.conf-File from
Prefix=thirdparty/Qt/
to
Prefix=<your_install_path>/5.4/gcc_64

Let us know if it works.
Ros is offline   Reply With Quote

Old   April 24, 2015, 08:33
Default
  #22
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 19
chriss85 will become famous soon enough
That doesn't work unfortunately, both packages were already installed.
I assume that 14.04 might have an older version than 14.10?
chriss85 is offline   Reply With Quote

Old   April 24, 2015, 09:57
Default
  #23
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

According to Distrowatch[1] in 14.04 gcc is 4.8.2 (CXXABI_1.3.7), in 14.10 gcc is 4.9.1 (CXXABI_1.3.8). And according to gcc [2]:

Quote:
The reverse (backwards compatibility) is not true. It is not possible to take program binaries linked with the latest version of a library binary in a release series (with additional symbols added), substitute in the initial release of the library binary, and remain link compatible.
1. http://distrowatch.com/table.php?distribution=ubuntu
2. https://gcc.gnu.org/onlinedocs/libst...anual/abi.html
alexeym is offline   Reply With Quote

Old   April 24, 2015, 10:02
Default
  #24
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 19
chriss85 will become famous soon enough
So I should install the latest GCC using the PPA (http://askubuntu.com/questions/42819...-4-9-on-ubuntu) ?
chriss85 is offline   Reply With Quote

Old   April 24, 2015, 10:17
Default
  #25
Ros
New Member
 
Rostyslav Lyulinetskyy
Join Date: Jul 2011
Location: Stuttgart
Posts: 14
Rep Power: 15
Ros is on a distinguished road
I am afraid Alexey is right about the backwards compatibility. I just tried to compile it again on Kubuntu 14.04 VM and there are also problems with the new version of vtk (v6.2).

Quote:
So I should install the latest GCC using the PPA (http://askubuntu.com/questions/42819...-4-9-on-ubuntu) ?
I have just tested your solution and it works. But you should be careful updating gcc if you are working on something. After the update some things could stop working.
Ros is offline   Reply With Quote

Old   July 21, 2015, 17:40
Default Issue installing on 12.04
  #26
New Member
 
George Washington Goethals
Join Date: Dec 2014
Posts: 1
Rep Power: 0
goethals is on a distinguished road
Hi Chris, Ros and everybody.

I am running CAE linux 2013 in ubuntu 12.04. I ran into the CXXABI_1.3.8 issue, and running the sudo build-escentials and liblapack3 did not eliminate this message. But the following command did work for me:

Code:
sudo apt-get install libstdc++6
I now don't have the CXXABI_1.3.8 message, but rather "Could not initialize the python core!"
Any advise?[/QUOTE]
goethals is offline   Reply With Quote

Old   February 1, 2016, 05:57
Default How to run DICE gui
  #27
New Member
 
Simone Sacilotto
Join Date: Feb 2013
Location: Pordenone
Posts: 2
Rep Power: 0
simo2777 is on a distinguished road
Hi.
I successfully installed DICE v.0.0.2-alpha on Ubuntu 14.10 and 15.04 following the instruction (Source code on http://dicehub.net/download/).
The installation ended without error, but I didn't understand how to run the program.
Is there a particular command to execute or is there a launcher file?
Can you help me?
Thank you in advance.
Simone
simo2777 is offline   Reply With Quote

Old   February 1, 2016, 08:53
Default
  #28
Ros
New Member
 
Rostyslav Lyulinetskyy
Join Date: Jul 2011
Location: Stuttgart
Posts: 14
Rep Power: 15
Ros is on a distinguished road
Hi Simone,

if you successfully compiled dice you must have created an executable with the name "DICE" in your build-folder. Just start it from the console with
Code:
./DICE
Ros is offline   Reply With Quote

Old   February 1, 2016, 09:26
Default python core
  #29
New Member
 
Simone Sacilotto
Join Date: Feb 2013
Location: Pordenone
Posts: 2
Rep Power: 0
simo2777 is on a distinguished road
Thank you for the fast reply.
I've just tried the command .DICE as indicated, but I received this message:
<Could not initialize the python core!>
It's strange because python3 works.
If there are some other advice I will appreciate it, in case I will wait until the new release.
Thank you for you kind help.
Best regards.
Simone
simo2777 is offline   Reply With Quote

Old   February 1, 2016, 10:36
Default
  #30
Ros
New Member
 
Rostyslav Lyulinetskyy
Join Date: Jul 2011
Location: Stuttgart
Posts: 14
Rep Power: 15
Ros is on a distinguished road
It's very difficult to tell what the problem could be. Most common issue is wrong use of qmake or some errors with the python environment (especially LD_LIBRARY_PATH). We are currently working on an installer and it should solve those issues.
Ros is offline   Reply With Quote

Old   February 5, 2016, 07:23
Default
  #31
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Hello Simone, Ros

This week me and my colleaugues tested DICE in 2 environments and got the same issue.
Quote:
Originally Posted by simo2777 View Post
I've just tried the command .DICE as indicated, but I received this message:
<Could not initialize the python core!>
We found that after
Code:
sudo make install
command files are copied to the following directory structure
Code:
opt
|__main
|    |__bin
|         DICE
|_apps
|_core_apps
|_db
|_dice
|_libview
|_test
and as we found from source code python modules are searched relative to the folder that contains DICE binary. So our solution was to move necessary folders or make symbolic links on the same level as DICE binary.
mkraposhin is offline   Reply With Quote

Old   September 7, 2016, 09:17
Default
  #32
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Hi all,

Any news on the DICE front ?
Is this very promising project still developed ?

Thanks
François
francois is offline   Reply With Quote

Old   September 15, 2016, 14:50
Default
  #33
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Nobody ?
francois is offline   Reply With Quote

Old   September 17, 2016, 07:21
Default
  #34
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings François,

I hope Rostyslav doesn't mind me sharing this, but back in February I invited them to give a training course at OFW11 about DICE and in his answer what this:
Quote:
We are not yet sure how we will proceed with the project and with the current state of the development we can not really offer a training course. We are still developing a lot of new features and they are sadly not yet presentable.
I'm guessing that they took the project off from public eyes for a few months, given that spending time to give support on early on-going developments is counter-productive.

My suggestion is that if you can help them in anyway, contact them directly! They are likely very busy and possibly don't have enough time to come by the forum.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 17, 2016, 08:34
Default
  #35
Senior Member
 
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17
francois is on a distinguished road
Thank you very much Bruno for your kind and informative answer.

Indeed it's maybe best to contact them directly to see if we can help them in anyway.

And if they have the time to read us maybe they can tell us how the community can help them ...

I wish them best luck for their awesome project !

Thanks again Bruno

Regards
François
wyldckat likes this.

Last edited by francois; September 18, 2016 at 05:43. Reason: typo mistakes
francois is offline   Reply With Quote

Old   January 27, 2018, 16:34
Default DICE Update: Release v18.01.2
  #36
Ros
New Member
 
Rostyslav Lyulinetskyy
Join Date: Jul 2011
Location: Stuttgart
Posts: 14
Rep Power: 15
Ros is on a distinguished road
Hello everyone,

many of you here have sent me a few emails and were asking about the state of the project. So after a long time since I posted here I wanted to give you a quick update.
First of all thanks for following the project and all your encouraging messages!

What happened?
A small history lesson about DICE:
  • In 2013/2014 me and my colleague came up with the idea to develop DICE, a framework for simplified creation of user interfaces and utilities in the area of numerical simulations. The goal was to develop a tool which an engineer or a scientist can use to quickly create or automate processes and tasks, including a very easy to use and flexible GUI.
  • In 2015 the first prototype was created in C++/QML and publicly released. The feedback was overwhelmingly positive and we decided to incorporate a lot of the proposals into a new version.
  • In 2016 we started working on DICE full time, switched to Python for the DICE backend, simplified the user interface even more, changed the complete software architecture and developed our web platform.
  • Now: The result of a few years of work is: DICE v18.01.2

What is DICE and what it isn't?
DICE is a framework (or even a prototype for a framework) for workflow automation/optimization and this means it is not a fully developed GUI for numerical simulations. It has more in common with frameworks such as AngularJS or React than with software like Helyx, Fluent or COMSOL. So please do not expect it to have all the OpenFOAM solvers, all the DAKOTA optimization strategies or all the functions you can find in Ansys products. But you can use DICE to quickly develop a very customized simulation tool. This also means you probably need to do it yourself or ask someone to do it for you.

What's new in this version?
  • DPM (DICE package manager): With dpm you can now automate the build and install procedures for DICE packages.
  • Distributed applications: In most cases numerical applications become extremely complex and have a lot of dependencies. In the new version you can now use virtual python environments to make sure that all package dependencies are satisfied.
  • Server/client architecture: In the new version the applications in DICE are separate from the main DICE process. This means for example that every interaction in your GUI is a remote procedure call.
    • All the visualization is actually a compressed data stream and as long you are not using a 4k monitor you won't see the difference to a native integration.
    • This was implemented to make collaboration possible and has already been successfully tested: https://www.youtube.com/watch?v=3ni3Boq1Ycc
    • This feature also makes it possible to use libraries such as VTK directly in your package and work on your applications without the compilation procedure.
    • This also makes cloud deployment much easier.
  • Some advanced features: diceProperties, diceSlots and diceTasks simplify the development of OpenFOAM applications: https://docs.dicehub.com/v18/guide/a..._features.html
  • DICE tools: Python API between DICE and its applications. These tools can also be written in other languages, for example JavaScript, and can be used to communicate between applications in the browser and DICE. https://github.com/dicehub/dice_tools
  • Some working examples:

What is DICEhub?
DICEhub is a web platform we developed to be able to discuss and share workflows. You can create groups and projects, upload packages, images, cases and workflows. The goal was to create something like github but for engineers ans scientists. Right now it is being completely restructured, but you can already test all the functions and give your feedback.

If you are interested in testing just DM me or write an email to info@dicehub.com.

What now?
You can download DICE, test it and give us some feedback. We are currently deciding on how to move forward. There are already a lot of great GUI solutions for OpenFOAM out there: Helyx, simFlow, SimScale or Visual-CFD, so we are discussing if we should go into a different direction with the framework and move away from CFD. If you some ideas for a pilot project or some suggestions for further improvements leave it here. Any feedback would be greatly appreciated!

Thanks in advance.

Best regards,
Rostyslav
__________________
Ros

@rostik_l
dicehub.com
github/dicehub
Ros is offline   Reply With Quote

Old   October 31, 2020, 02:20
Default
  #37
New Member
 
Ahmed Abrar Shayor
Join Date: Sep 2020
Location: Bangladesh
Posts: 22
Rep Power: 6
Shayor is on a distinguished road
Send a message via Skype™ to Shayor
Hello Ros,so I have looked into your website and I think DICE is something very interesting.I wanted to know if could do coupling in it,I wanted to do an FSI simulation on blood flow,so please let me know about this.I wanted to do a publication using this amazing software.Thank you.
Shayor is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best GUI for OpenFOAM: Helyx OS or Salome? BhaluBear OpenFOAM 60 March 11, 2024 10:23
TreeFoam: New GUI for OpenFOAM? JR22 OpenFOAM 4 September 11, 2023 14:40
Run OpenFOAM GUI Caluca OpenFOAM Installation 7 September 11, 2023 14:26
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 289 April 20, 2023 10:23
My first OpenFOAM Project m.nichols19 OpenFOAM 1 June 4, 2010 14:46


All times are GMT -4. The time now is 08:08.