intro story D-Flow FM

 

D-Flow Flexible Mesh

D-Flow Flexible Mesh (D-Flow FM) is the new software engine for hydrodynamical simulations on unstructured grids in 1D-2D-3D. Together with the familiar curvilinear meshes from Delft3D 4, the unstructured grid can consist of triangles, pentagons (etc.) and 1D channel networks, all in one single mesh. It combines proven technology from the hydrodynamic engines of Delft3D 4 and SOBEK 2 and adds flexible administration, resulting in:

  • Easier 1D-2D-3D model coupling, intuitive setup of boundary conditions and meteorological forcings (amongst others).
  • More flexible 2D gridding in delta regions, river junctions, harbours, intertidal flats and more.
  • High performance by smart use of multicore architectures, and grid computing clusters.
An overview of the current developments can be found here.
 
The D-Flow FM - team would be delighted if you would participate in discussions on the generation of meshes, the specification of boundary conditions, the running of computations, and all kinds of other relevant topics. Feel free to share your smart questions and/or brilliant solutions! 

 

=======================================================
We have launched a new website (still under construction so expect continuous improvements) and a new forum dedicated to Delft3D Flexible Mesh.

Please follow this link to the new forum: 
/web/delft3dfm/forum

Post your questions, issues, suggestions, difficulties related to our Delft3D Flexible Mesh Suite on the new forum.

=======================================================

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ
Cohesive sediments & muddy systems

 


Message Boards

Linux FLOW_GUI buttons for Linux : Segmentation fault

TS
Thomas SAILLOUR, modified 6 Years ago.

Linux FLOW_GUI buttons for Linux : Segmentation fault

Youngling Posts: 24 Join Date: 4/6/14 Recent Posts
Hi everyone,

I compiled the latest tagged version compatible (5.01.00.2163) with the GUI on my Ubuntu 13.10 64bit

I first some problems with :
- the PATH variables
- the fonts (problem solved thanks to the thread "RE: D3D GUI for Linux").
- some buttons that did not work before modifying the file d3d-menu.ux (problem solved thanks to the thread "Any Joy with Ubuntu 12.04 LTS?")
Now the Main GUI buttons work perfectly and I can launch any application.


The problem is that now, the buttons of my fow_gui won't work!
For instance, when I want to load a grid file (. grd) in the Domain/Grid parameters sub panel,
the flow_gui crashes instantaneously.

I tried to see where the error came from by launching manually the flow_gui, when I try to open a file, the FLOW_GUI window closes instantaneously and and I get the error message :

"Segmentation fault (core dumped)" in the command window.

Is there something else to do after :
- enter the right environment variables
- modify the d3d-menu.ux file?

Maybe the buttons on the flow_gui launch themselves another gui, but I can't find a file *.ux that may correspond to the FLOW_GUI

I attached a screenshot of my flow_gui and the button that crashes the FLOW-GUI.

PS: This is not the only button that dost not work, there are many other buttons that make the exact same bug. (File/Open, )
PPS: I have also the exact same problem with the WAVE GUI

Thanks
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux FLOW_GUI buttons for Linux : Segmentation fault

Youngling Posts: 24 Join Date: 4/6/14 Recent Posts
Hi,

So I tried the command gdb to find out what was the problem with the flow_gui :

user@root:~$ gdb flow_gui
GNU gdb (GDemoticon 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/ecoast/Documents/Delft3D-FLOW/5.01.00.2163/opt/delft3d/intel/flow/bin/flow_gui...done.

(gdb) r ------this command launch the flow_gui in debug mode--------

Starting program: /home/ecoast/Documents/Delft3D-FLOW/5.01.00.2163/opt/delft3d/intel/flow/bin/flow_gui
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

---------I simply click on File/Open--------

Program received signal SIGSEGV, Segmentation fault.
0xf77ac904 in ?? () from /usr/lib/i386-linux-gnu/libXt.so.6

(gdb) list
55 : flow_gui.c: No such file or directory.


I searched for the file flow_gui.c, which is unfindable..
I am pretty stuck here..
Any help? I know I am almost there!

PS: it is the same problem for the file wave_gui.c
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux FLOW_GUI buttons for Linux : Segmentation fault

Youngling Posts: 24 Join Date: 4/6/14 Recent Posts
More info :

with the command :

Program received signal SIGSEGV, Segmentation fault.
0xf7794904 in ?? () from /usr/lib/i386-linux-gnu/libXt.so.6
(gdb) where
#0 0xf7794904 in ?? () from /usr/lib/i386-linux-gnu/libXt.so.6
#1 0xf7794a40 in XtSetSensitive () from /usr/lib/i386-linux-gnu/libXt.so.6
#2 0xf7a90e88 in xvtxi_sensitize_single_window () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#3 0xf7a90ef3 in xvtxi_sensitize_windows () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#4 0xf7a7d55e in xvtxi_dlg_modal_initialize () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#5 0xf7a7da98 in xvtxi_manage_dialog () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#6 0xf7a7dc6b in xvtk_dlg_create_res () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#7 0xf7a811c3 in xvtxi_file_selection_dlg () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#8 0xf7a8127a in xvtk_dm_post_file_open () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#9 0xf7a3be82 in xvtv_dm_post_file_open () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#10 0x0811060e in xvt_dm_post_file_open ()
#11 0x080c1604 in GetFileSpec (title=0x812758a "Open Master Definition data", ext=0x812751a "mdf", type=Import, name=0x0) at xvt_glue.c:902
#12 0x08072bd1 in CB_OpenFlowInput () at general.c:500
#13 0x08098a79 in FLOW_MAIN_MODULE_eh (xdWindow=141947944, xdEvent=0xffffc590) at flow101.c:256
#14 0xf7a3b15d in xvtv_cxo_call_next () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#15 0xf7a9f90b in xvtvn_tx_parent_eh () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#16 0xf7a3b21d in xvtv_cxo_call_next () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#17 0xf7a57a50 in xvtv_win_dispatch_event () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#18 0xf7a6c7b0 in xvtk_win_dispatch_event () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#19 0xf7a6c8a2 in dequeue_event () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#20 0xf777e1f1 in XtDispatchEventToWidget () from /usr/lib/i386-linux-gnu/libXt.so.6
#21 0xf777e4d4 in ?? () from /usr/lib/i386-linux-gnu/libXt.so.6
#22 0xf777e942 in XtDispatchEvent () from /usr/lib/i386-linux-gnu/libXt.so.6
#23 0xf7a6cca1 in xvtxi_MainLoop () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#24 0xf7a6cd0f in xvtk_app_process_pending_events () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#25 0xf7a8960d in xvtk_app_create () from /home/ecoast/Delft3D/opt/delft3d/intel/lib/libxvtxmba570.so
#26 0x0810e815 in xvt_app_create ()
#27 0x0809821e in main (argc=1, argv=0xffffcab4) at flow_gui.c:76
(gdb)
Adri Mourits, modified 6 Years ago.

RE: Linux FLOW_GUI buttons for Linux : Segmentation fault (Answer)

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
See post in this thread.