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

"cannot stat" and "missing destination" during the use of "make ds-install"

UD
Udhab Dora, modified 6 Years ago.

"cannot stat" and "missing destination" during the use of "make ds-install"

Youngling Posts: 5 Join Date: 2/15/14 Recent Posts
Dear user, i'm new in the Delft3D.

I used the three command lines those mentioned in the readme file such as;

1) ./autogen.sh

2) CFLAGSCFLAGS='-O2 -fPIC -m64' CXXFLAGS='-O2 -fPIC -m64' FFLAGS='-O2 -fPIC -m64' FCFLAGS='-O2 -fPIC -m64' ./configure --prefix=`pwd`='-O2 -fPIC -m64' CXXFLAGS='-O2 -fPIC -m64' FFLAGS='-O2 -fPIC -m64' FCFLAGS='-O2 -fPIC -m64' ./configure --prefix=`pwd`

3) make ds-install

However, duirng the third command, I got some lines such as "cannot stat" and "missing destination", those mentioned below.


....................................
.....................................
cd . ; \
./install.sh ../bin \
)
oss-install...
Target directory: ../bin
Source : all engines
installing all open source projects . . .
installing d_hydro . . .
Gathering libraries for d_hydro...
installing flow2d3d . . .
cp: cannot stat `lib/libflow2d3d_sp.so': No such file or directory
can't copy "lib/libflow2d3d_sp.so" to "../bin/lnx/flow2d3d/bin"
Gathering libraries for flow2d3d...
installing flow2d3d_openda . . .
cp: cannot stat `lib/libflow2d3d_openda_sp.so': No such file or directory
can't copy "lib/libflow2d3d_openda_sp.so" to "../bin/lnx/flow2d3d/bin"
Gathering libraries for flow2d3d_openda...
installing wave . . .
Gathering libraries for wave...
Gathering libraries for swan...
cp: missing destination file operand after `../bin/lnx/swan/lib'
Try `cp --help' for more information.
installing plugin_culvert . . .
Gathering libraries for plugin_culvert...
installing plugin_delftflow_traform . . .
Gathering libraries for plugin_delftflow_traform...
installing datsel . . .
Gathering libraries for datsel...
installing kubint . . .
Gathering libraries for kubint...
installing lint . . .
Gathering libraries for lint...
installing mormerge . . .
Gathering libraries for mormerge...
installing vs . . .
Gathering libraries for vs...
cp: missing destination file operand after `../bin/lnx/util/lib'
Try `cp --help' for more information.


>Please let me know, how it will be solved.

Thank you
With regards
G. U. Dora
Adri Mourits, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst (Answer)

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

Congratulations, you managed to build the Delft3D source code.

The messages you refer to are related to a simple script that installs the created binaries into a directory next to ".../src", named ".../bin/lnx". They are not alarming.

You should be able to run the examples without copying around binaries.

Regards,

Adri
UD
Udhab Dora, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst

Youngling Posts: 5 Join Date: 2/15/14 Recent Posts
Thanks Adri for your valuable responseemoticon.
But, I have one more problem regarding to solve the libflow2d3d_sp.so problem in linux.

I used the script ./changeprecission.tcl single in the directory /...../src/utils_lgpl/precision/scripts, which results the below line.

oed@oed-1828:~/Delft3D/src/utils_lgpl/precision/scripts$ ./changeprecision.tcl single
bash: ./changeprecision.tcl: /usr/bin/tclsh: bad interpreter: No such file or directory
oed@oed-1828:~/Delft3D/src/utils_lgpl/precision/scripts$

So, where is the mistake and how it can be solved.

Regards
G. U. Dora
GJ
glejin johnson, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst

Youngling Posts: 11 Join Date: 6/9/13 Recent Posts
Dear,

just type the below line in terminal

sudo apt-get install tcl

then
oed@oed-1828:~/Delft3D/src/utils_lgpl/precision/scripts$ ./changeprecision.tcl single

It should work

Then recompile

With regards
G. johnson
UD
Udhab Dora, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst

Youngling Posts: 5 Join Date: 2/15/14 Recent Posts
Dear, still there are two lines showing missing destination.

cd . ; \
./install.sh ../bin \
)
oss-install...
Target directory: ../bin
Source : all engines
installing all open source projects . . .
installing d_hydro . . .
Gathering libraries for d_hydro...
installing flow2d3d . . .
Gathering libraries for flow2d3d...
installing flow2d3d_openda . . .
Gathering libraries for flow2d3d_openda...
installing wave . . .
Gathering libraries for wave...
Gathering libraries for swan...
cp: missing destination file operand after `../bin/lnx/swan/lib'
Try `cp --help' for more information.
installing plugin_culvert . . .
Gathering libraries for plugin_culvert...
installing plugin_delftflow_traform . . .
Gathering libraries for plugin_delftflow_traform...
installing datsel . . .
Gathering libraries for datsel...
installing kubint . . .
Gathering libraries for kubint...
installing lint . . .
Gathering libraries for lint...
installing mormerge . . .
Gathering libraries for mormerge...
installing vs . . .
Gathering libraries for vs...
cp: missing destination file operand after `../bin/lnx/util/lib'
Try `cp --help' for more information.
oed@oed-1828:~/Delft3D/src$

Please let me know...how it will be solved.

Thanks & regards
G. U. Dora
Qinghua Ye, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Dora,

These 2 lines are to copy the files. They should work. For the time being, you can try to copy those file manually.

Regards,

Qinghua
UD
Udhab Dora, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst

Youngling Posts: 5 Join Date: 2/15/14 Recent Posts
Thank you to all.

Now every thing is going well.

With regards
G. U. Dora
LL
LI LI, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst

Youngling Posts: 17 Join Date: 2/7/14 Recent Posts
Hi, G. U. Dora,

I meet the same problem as you, How did you solved the problem?

Thank you very much.

Bests,
Melody
TS
Thomas SAILLOUR, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst

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

I have exactly the same problem as you.
How did you solved the problem finally?

Thank you,

Regards,

Thomas
Adri Mourits, modified 6 Years ago.

RE: "cannot stat" and "missing destination" during the use of "make ds-inst (Answer)

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

On Linux, at the end of "make ds-install", a script is executed that copies "everything needed for computations" into a separate directory named "<mysourcecodedir>/bin/lnx". This script is very simple and will always generate some error messages. Please don't worry about these messages. Just try to run the examples. If the examples do not run, it's time to find out what is missing, how that comes and whether this is caused by the install script or not.

Regards,

Adri