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

Compiling on Ubuntu- build- make- libtools unable to find path to mpich

SJ
Siddhi Joshi, modified 2 Years ago.

Compiling on Ubuntu- build- make- libtools unable to find path to mpich

Youngling Posts: 3 Join Date: 8/22/16 Recent Posts

Hello

I am compiling delft3d on Ubuntu 16.04 and have followed exactly the procedure in the buildUBUNTU readme file in the latest trunk version (and also the tagged 7545 version) and am getting the same problem to do with the paths. I read on the forums there was a similar problem before with Mpich libraries..

Please help as the make fails after a long time.

Kind Regards

Siddhi

 

Error from Make.log:

 

libtool: line 7486: cd: ~/Downloads/libraries/mpich-3.2/lib: No such file or directory

libtool:   error: cannot determine absolute directory name of '~/Downloads/libraries/mpich-3.2/lib'
Makefile:694: recipe for target 'libflow2d3d.la' failed
make[7]: *** [libflow2d3d.la] Error 1
make[7]: Leaving directory '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d/src'
Makefile:743: recipe for target 'install-recursive' failed
make[6]: *** [install-recursive] Error 1
make[6]: Leaving directory '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d/src'
Makefile:900: recipe for target 'install' failed
make[5]: *** [install] Error 2
make[5]: Leaving directory '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d/src'
Makefile:493: recipe for target 'install-recursive' failed
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d'
Makefile:503: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages'
Makefile:494: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d'
Makefile:498: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/user/delft3dtrunk/src/engines_gpl'
Makefile:554: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

 

Adri Mourits, modified 2 Years ago.

RE: Compiling on Ubuntu- build- make- libtools unable to find path to mpich

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts

Hi Siddhi,

Your file "build_ubuntu1604.sh" contains several times the character tildes (~). You have to replace that by the absolute path. You can do that as follows:

On Linux execute: cd ~
And then: pwd
This will show the absolute path of the short cut reference ~, normally something like /u/siddhi
Replace all occurences of ~ in your script by this absolute path, /u/siddhi in the example above.

Regards,

Adri

SJ
Siddhi Joshi, modified 2 Years ago.

RE: Compiling on Ubuntu- build- make- libtools unable to find path to mpich

Youngling Posts: 3 Join Date: 8/22/16 Recent Posts

Thanks- I think that worked. I just get the error and looked in the forum, I tried adding this line to the NETCDF fortran make :

(from readme file)
 # Install Netcdf-fortran
      v=4.4.4
      wget http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-fortran-${v}.tar.gz
      tar -xf netcdf-fortran-${v}.tar.gz && cd netcdf-fortran-${v}
      CPPFLAGS=-I$NETCDF4_DIR/include LDFLAGS=-L$NETCDF4_DIR/lib LD_LIBRARY_PATH=$NETCDF4_DIR/lib:$LD_LIBRARY_PATH ./configure --prefix=$NETCDF4_DIR
      NETCDF_CFLAGS="-I<NCDIR>/include/" NETCDF_LIBS="-L<NCDIR>/lib/" NETCDF_FORTRAN_CFLAGS="-I<NCDIR>/include/" NETCDF_FORTRAN_LIBS="-L<NCDIR>/lib" ./configure
# make check
      make
      sudo make install
      cd ..

Adri Mourits, modified 2 Years ago.

RE: Compiling on Ubuntu- build- make- libtools unable to find path to mpich

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts

Hi Siddhi,

Your file "make.log" contains the warning:

Warning: Nonexistent include directory ‘/home/user/Downloads/libraries/netcdf_4.4.1/include

Is this where you expect that netcdf.mod should be located?

Looking to your NetCDF compile script: How did you define environment parameter NETCDF4_DIR? I assume "<NCDIR>" is a placeholder that is replaced by a decent path when compiling?

Regards,

Adri