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

Please, tell me how to install Delft3D by detaily?

Byongjun Park, modified 8 Years ago.

Please, tell me how to install Delft3D by detaily?

Youngling Posts: 16 Join Date: 4/30/11 Recent Posts
Hello, all

I'd like to learn how to install the version of open source Delft3D by detail. I've installed Ubuntu 11.04(32bit - at my office / 64bit - at home) and Intel Fortran compiler 12.1.0.233 Build 20110811 in my machine.

I read install guide at this homepage, but I couldn't compile(./build.sh), the results were as follows :

$ ./buld.sh [Enter]  (or ./build.sh -intel12 [Enter])
./build.sh: 28: function: not found
Usage: build.sh [-intel10 | -intel11 | -intel12] [-debug] [-make] [-?]
./build.sh: 30: Syntax error: "}" unexpected


Please, help a rookie. It is necessary to make that contents by detail, I think so.

Kind Regards
Adri Mourits, modified 8 Years ago.

RE: Please, tell me how to install Delft3D by detaily? (Answer)

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Byongjun,

It seems that you are using an old version of the Delft3D open source code. This bug is solved in revision 448, so you need version 4.00.03.0565 or higher. Can you try building https://svn.oss.deltares.nl/repos/delft3d/tags/4.00.05.0790?

Regards,

Adri
Byongjun Park, modified 8 Years ago.

RE: Please, tell me how to install Delft3D by detaily?

Youngling Posts: 16 Join Date: 4/30/11 Recent Posts
Hi, Adri Mourits

Thank you for your attention and answer.

I tried to build 4.00.05.0790, but failed as follows.

$ ./build.sh
20110920.130632 :: Running autoreconf -ivf &> logs/autoreconf.log
20110920.130632 :: Autoreconfig fails!


What's the matter with me?

with kind regards,

Byongjun
Adri Mourits, modified 8 Years ago.

RE: Please, tell me how to install Delft3D by detaily? (Answer)

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Byongjun,

Have a look in file "logs/autoreconf.log". I expect it to contain an error message.

Regards,

Adri
Byongjun Park, modified 7 Years ago.

RE: Please, tell me how to install Delft3D by detaily?

Youngling Posts: 16 Join Date: 4/30/11 Recent Posts
Hi, Adri

I opened the "autoreconf.log" by VI, it contained this message.

./build.sh: ? 155: autoreconf: ???? ?? ? ??

* I'm using a LINUX machine in Korean locale, it means that cannot find command(or syntax) at line 155.

Thank you for your attention and answer. I'd like to find the solution as easy as possible. emoticon

Kind regards,

Byongjun
Adri Mourits, modified 7 Years ago.

RE: Please, tell me how to install Delft3D by detaily? (Answer)

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Byongjun,

It seems that GNU autotools is not installed on your machine. Please have a look at http://oss.deltares.nl/web/opendelft3d/source-code#prerequisites.

Regards,

Adri
Byongjun Park, modified 7 Years ago.

RE: Please, tell me how to install Delft3D by detaily?

Youngling Posts: 16 Join Date: 4/30/11 Recent Posts
Hi Adri,

I've already installed "autotool" in my machine(ubuntu 11.04, 32bit) and followed prerequisites by synaptic package manager.

[indent]1. Subversion client : Ver 1.6.12
2. GNU Autotools : Ver 20100122.1
3. GNU Libtool : 2.2.6b
4. GNU C++ compiler (use Package Manager), version 3.4.6 : g++ Ver 4.5.2-1
5. expat-devel : Ver 2.0.1-7
6. Intel Fortran compiler, version 11.0 : Ver 12.1.0.2
7. Mpich2, version 1.0.2p1 : Ver 1.3.1-1
8. Lex & Yacc : I installed jlex,flex, bycc-j and bison.
9. OpenSSL : Ver 0.9.8 o [/indent]

Thank you for your attention and answer.


with kind regards,

Byongjun

-
Adri Mourits, modified 7 Years ago.

RE: Please, tell me how to install Delft3D by detaily?

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Byongjun,

Can you execute the command
autoreconf -ivf &>logs/autoreconf.log
without using build.sh (but in the same directory)? Is the binary "autoreconf" found? Is there some more information in "logs/autoreconf.log"?

Regards,

Adri
Byongjun Park, modified 7 Years ago.

RE: Please, tell me how to install Delft3D by detaily?

Youngling Posts: 16 Join Date: 4/30/11 Recent Posts
Hi Adri,

I failed make. So I'm reading and analyzing the attached log files(config.log, autoreconf.log, configure.log, make.log). If I cannot find the problem and solution, I'm going to re-install the LINUX. emoticon

And I received the pre- and post-processing tools for Windows. I'll try to compile the open source code using Intel Parallel Studio XE 2011 in Windows system, soon.

Thank you very much for your attention and answer.

Kind regards,

Byongjun
Adri Mourits, modified 7 Years ago.

RE: Please, tell me how to install Delft3D by detaily?

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts
Hi Byongjun,

When checking out the source code, file "src/third_party_open/version_number/bin/linux/version_number.exe" is already present.
When compiling the source code of version_number, a "version_number.exe" is created and installed in the default way. But this is not enough, because "version_number.exe" is going to be used directly when compiling other modules. Therefore "version_number.exe" must also be installed, directly after compiling it, in "src/third_party_open/version_number/bin/linux". And that is not done at this moment. This is on our TODO list.

Your problem is that the pre-installed "version_number.exe" does not run because it needs libexpat.so. It expects it in some directory that probably differs from where you installed Expat.
You can try the following workaround:
You can copy the newly created
"src/third_party_open/version_number/packages/version_number/src/version_number.exe"
to directory
"src/trunk/src/third_party_open/version_number/bin/linux"
I expect that the "version_number.exe" you created yourself on your machine will know (correctly) where to find Expat.

Please let me know if this helps.
An alternative can be to add the directory containing "libexpat.so" to environment parameter LD_LIBRARY_PATH.

In case you are going to switch to Windows:
Currently I'm using VisualStudio 2010 with "Intel(R) Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2010, 12.0.3470.2010, Copyright (C) 2002-2011 Intel Corporation". That works fine.
Mind that you must use "deltares_hydro_open_source_vs2010.sln" instead of "deltares_hydro_open_source.sln".

Regards,

Adri
Byongjun Park, modified 7 Years ago.

RE: Please, tell me how to install Delft3D by detaily?

Youngling Posts: 16 Join Date: 4/30/11 Recent Posts
Hi Adri,

Thank you for your advice. I'll try to set the system from origin and step by step.

with kind regards,

Byongjun