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 GUI install

DA
Drew Ackerman, modified 8 Years ago.

Linux GUI install

Youngling Posts: 6 Join Date: 4/5/12 Recent Posts
I successfully installed the Delft3d last night with VMWare Ubuntu 11.10 following the"How to compile Delft3D under Linux" Presentation slides and successfully tested the model with the examples. Tonight, I was wanting to get the GUI up and going. I have the following files

aksusbd-redhat_1.8.1-4_i386.deb
aksusbd-suse_1.8.1-4_i386.deb
Delft3D-Installation_Manual.pdf
Delft3D-openhydromorpho-4.00.01-02.i386.rpm
Delft3D-tutorial-4.00.01-02.i386.rpm
Drew Ackerman (drew.ackerman-cardno.com)_ANY.zip
HASP_SRM_LINUX_3.50_Run-time_Installer_script.tar.gz
LicenseAgreement_opensource.txt
MCRInstaller.bin

I am going through the Delft3D-Installation_Manual.pdf and have successfully installed the MCRInstaller.bin. I'm getting stuck with the dongle install. at the "mount -a" command, I get an error "mount: mount point /proc/bus/usb does not exist" I'm a bit confused as to what I have going on. The Delft3D-Installation_Manual.pdf seems to be wanting me to do another install of what I did last night but all I want to do is get the GUI on this machine.

Does anyone have any wise words on what I'm doing wrong or what I need to do to get the GUI up and going on my linux machine?

thanks in advance,
Drew
SH
Shawn Harrison, modified 8 Years ago.

RE: Linux GUI install

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Hi Drew,

Skip the dongle install on Linux...

You will have to convert the folder structure of the D3D binaries to the GUI format.. the tool to do so is included.

I had a few things pop up when I worked through the problem before:
http://oss.deltares.nl/web/opendelft3d/general/-/message_boards/view_message/162132

Might be useful.

Good luck!

Shawn
DA
Drew Ackerman, modified 8 Years ago.

RE: Linux GUI install

Youngling Posts: 6 Join Date: 4/5/12 Recent Posts
Well, I gave up on the Ubuntu install and have switched over to a Red Hat 11 install. Again, things seem to go well the environment parameters all look good and I can launch delft3d-menu but when the GUI comes up, the buttons tend to not do much.

I saw on another thread http://oss.deltares.nl/web/opendelft3d/general/-/message_boards/view_message/162132 that there may be an issue with fonts. I have installed the libXfontcache.i386 and libXfont.i386 packages via yum and still am having issues. I tried to run flow_gui from the bin directory:

[drew@localhost bin]$ pwd
/opt/delft3d/intel/flow/bin
[drew@localhost bin]$ ls
flow_gui ipclean meteo_old2new.m nesthd2
flow_gui.rdb libplugin_culvert.so mormerge.tcl triana
flow_gui.uid libplugin_delftflow_traform.so nesthd1
[drew@localhost bin]$ ./flow_gui
Warning: Idb__BM_GetRecord: Invalid record header - MrmNOT_VALID
Warning: I18NOpenFile: Could not open file flow_gui - UID file version mismatch - MrmNOT_VALID

fatal: FATAL ERROR: MSG 0x0051ee5e [CAT 5/1 STD 61022 ]
Category: Correctly requested operation failed (Failed to allocate memory)
Function: xvt_app_create
File: /home/build_user/build570/dsc/src/src/ptk/xm/xxinit.c line: 141

and as outlined in the post above:

[drew@localhost intel]$ $D3D_HOME/$ARCH/flow/bin/flow_gui
Warning: I18NOpenFile: Could not open file flow_gui.uid - MrmNOT_FOUND

fatal: FATAL ERROR: MSG 0x01530006 [CAT 5/3 NUM 6 ]
Category: Correctly requested operation failed (Failed to find)
Function: xvt_app_create
File: /home/build_user/build570/dsc/src/src/ptk/xm/xxinit.c line: 136


I'm not sure what I'm missing to get it run but any help is, again, greatly appreciated.

Thanks
drew
SH
Shawn Harrison, modified 8 Years ago.

RE: Linux GUI install

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Hi Drew,

It sounds like your files are not being executed by the GUI.

Question: Do the D3D binaries exist in the location that the GUI is expecting them? E.g. Do the files deltares_hydro.tcl, deltares_hydro.exe, and d_hydro.exe (along with many other files) exist in the directory /opt/Delft3d/intel/flow/bin/ ?

If they are, are their permissions such that they can be executed? ( to check do a the 'ls -l ' command on that directory)... Sometimes these files can get moved around and lose privileges for you to use them.

Shawn
SH
Shawn Harrison, modified 8 Years ago.

RE: Linux GUI install

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
That's weird Drew... I just had the same thing happen on my GUI. I'm on Ubuntu 12.04 LTS.. and the GUI doesn't work properly anyway. But once you get the main GUI to open, the FLOW GUI normally works fine..
until now. I had the same error:

user@host:~$  $D3D_HOME/$ARCH/flow/bin/flow_gui
Warning: I18NOpenFile: Could not open file flow_gui.uid - MrmNOT_FOUND

fatal: FATAL ERROR: MSG 0x01530006 [CAT 5/3 NUM 6 ]
Category: Correctly requested operation failed (Failed to find)
Function: xvt_app_create
File:     /home/build_user/build570/dsc/src/src/ptk/xm/xxinit.c line: 136


I wonder what it means.
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux GUI install

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


1 user@host:~$ $D3D_HOME/$ARCH/flow/bin/flow_gui
2 Warning: I18NOpenFile: Could not open file flow_gui.uid - MrmNOT_FOUND
3
4 fatal: FATAL ERROR: MSG 0x01530006 [CAT 5/3 NUM 6 ]
5 Category: Correctly requested operation failed (Failed to find)
6 Function: xvt_app_create
7 File: /home/build_user/build570/dsc/src/src/ptk/xm/xxinit.c line: 136



I just issued the same problem on two different computers :
- Ubuntu 12.04 LTS 64bit
- Ubuntu 13.10

On both computers, the installation went fine with the trunk (https://svn.oss.deltares.nl/repos/delft3d/trunk/ -- Revision 3615)
I received the GUI and followed all the steps of the Delft3D Installation Manual. (skipped the dongle step as you suggested but copied and pasted the binary files (myprog/bin/lnx) in the myprog/opt/delft/intel directory)

Hence, I launched the GUI, which was not working because I did not set the right parameters for the PATH in the files ".bashrc" and ".profile",
what I did then (as suggested in the Delft3D Installation Manual):
export PATH=/home/Documents/d3d/opt/delft3d/intel/gpp/bin:$PATH
export PATH=/home/Documents/d3d/opt/delft3d/intel/flow/bin:$PATH
export PATH=/home/Documents/d3d/opt/delft3d/intel/part/bin:$PATH
export PATH=/home/Documents/d3d/opt/delft3d/intel/util:$PATH
export PATH=/home/Documents/d3d/opt/delft3d/intel/waq/bin:$PATH
export PATH=/home/Documents/d3d/opt/delft3d/intel/wave/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Documents/d3d/opt/delft3d/intel/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Documents/d3d/v711/bin/glnx86
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Documents/d3d/opt/delft3d/intel/plugins/bin
export D3D_HOME=/home/Documents/d3d/opt/delft3d/
export UIDPATH=/home/Documents/d3d/opt/delft3d/intel/flow/bin:$UIDPATH
export UIDPATH=/home/Documents/d3d/opt/delft3d/intel/part/bin:$UIDPATH
export UIDPATH=/home/Documents/d3d/opt/delft3d/intel/wave/bin:$UIDPATH
export UIDPATH=/home/Documents/d3d/opt/delft3d/intel/waq/bin:$UIDPATH
export DHSDELFT_LICENSE_FILE=/home/Documents/d3d/opt/delft3d

The Main menu of the GUI is working fine, but the buttons "Flow input", "Wave input" and all others buttons that lead to the flow/wave/waq GUI do not work.

I thought the problem was with the version Ubuntu 12.04 LTS but it is the same with 13.10.

There has to be something that I had did wrong
I attached to .profile and build.sh files if you want to have a look.
thanks in advance,

Thomas
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux GUI install

Youngling Posts: 24 Join Date: 4/6/14 Recent Posts
I just found that thing on the internet...

http://www.sunmanagers.org/archives/1996/0233.html

"Well known error.. You must change the uid/gid bits on the *.uid file. The
archive uses an odd user/group and is set not readable for others... "

If someone could traduce it that would be great.

Thanks
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux GUI install

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

I compiled the latest trunk
I changed all the lines corresponding to buttons in the file : /opt/delft3d/intel/menu/default/d3d-menu.ux
I succeeded to fix all the problems that were in the thread.
(This thread is helpful : RE: Any joy with Ubuntu 12.04? )

But still I have the same buttons :
Flow/Flow input
Flow/Wave input
Wave/Wave input that won't work.

I tried to launch manually these interfaces with the command:
. /opt/delft3d/intel/wave/bin/wave_gui
. /opt/delft3d/intel/wave/bin/flow_gui

They all return the same error message :

Warning: Idb__BM_GetRecord: Invalid record header - MrmNOT_VALID
Warning: I18NOpenFile: Could not open file wave_gui - UID file version mismatch - MrmNOT_VALID

fatal: FATAL ERROR: MSG 0x0051ee5e [CAT 5/1 STD 61022 ]
Category: Correctly requested operation failed (Failed to allocate memory)
Function: xvt_app_create
File: /home/build_user/build570/dsc/src/src/ptk/xm/xxinit.c line: 141

I don't think that this error is linked to the file d3d-menu.ux
all the paths are set correctly, all the libraries too..

I doubt that I'm the only one concerned by this problem..

Any ideas?
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux GUI install

Youngling Posts: 24 Join Date: 4/6/14 Recent Posts
After removing the UIDPATH lines in the file .profile and .bashrc,
I have another error fatal error message:

fatal: FATAL ERROR: MSG 0x0034b3ba [CAT 3/4 STD 46010 ]
Category: XVT release 3 assert (Signaled assert4)
Function: xvt_app_create
File: /home/build_user/build570/dsc/src/src/ptk/xm/kfont.c line: 838

Recursive call to msg or fatal: FATAL ERROR within last chance error handler
exiting application

My problem has to be linked with the PATH variables I have set.

Were there update for the newer version of Linux systems for the path variables?
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux GUI install

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

This problem was already on a another thread : "D3D GUI for Linux"

I applied all the steps and now the GUI is working fine!

Thanks Shawn
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: Linux GUI install

Youngling Posts: 24 Join Date: 4/6/14 Recent Posts
I actually succeeded to have the flow_gui up and running on my machine.
Removing the UIDPATH lines led me to another problem already solved in the forum.

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


Thanks

Attachments:

Adri Mourits, modified 6 Years ago.

RE: Linux GUI install

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Hi Thomas,

The flow_gui buttons do not launch another gui.

It is strongly advised to use the Windows version of the gui to prepare a calculation. If you want to run the calculation on Linux, you can copy the input files and use a batch script file. See this page for more information. If you only have a Linux system, consider installing a Windows virtual machine.

Regards,

Adri
MR
Mario Ruedas Racines, modified 1 Year ago.

RE: Linux GUI install

Youngling Posts: 5 Join Date: 2/1/17 Recent Posts

Hi. I did that you recommended, Installed a windows virtual machine and there i installed D3D, but when DS_Flex is running show this : "license manager installer has detected that your system is not suitable for parallel dongle drivers", and then the simulation on D3D did not work. what can i do??