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

Compilation of delft3d under centos 7 Can't open module file 'netcdf.mod'

GG
Gary Gatling, modified 1 Year ago.

Compilation of delft3d under centos 7 Can't open module file 'netcdf.mod'

Youngling Posts: 1 Join Date: 8/7/18 Recent Posts

Hello. I am trying to help a student who needs this software to work under centos 7. I know nothing about it.

 

First try using

 

./autogen.sh

./configure

make

 

libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../../utils_lgpl/deltares_common/packages/deltares_common/src -I/include -DWITH_DELFTONLINE -g -O2 -ffree-line-length-none -cpp -c netcdf_utils.F90  -fPIC -o .libs/netcdf_utils.o
Warning: Nonexistent include directory "/include"
netcdf_utils.F90:33.4:

use netcdf
    1
Fatal Error: Can't open module file 'netcdf.mod' for reading at (1): No such file or directory
make[6]: *** [netcdf_utils.lo] Error 1
...

 

I have installed via yum: 

environment-modules-3.2.10-10.el7.x86_64
openmpi-1.10.7-1.el7.x86_64
openmpi-devel-1.10.7-1.el7.x86_64
mpich-3.0-3.0.4-10.el7.x86_64
hdf5-openmpi-1.8.12-10.el7.x86_64
netcdf-fortran-4.2-16.el7.x86_64
hdf5-mpich-1.8.12-10.el7.x86_64
netcdf-mpich-4.3.3.1-5.el7.x86_64
netcdf-openmpi-4.3.3.1-5.el7.x86_64
hdf5-openmpi-devel-1.8.12-10.el7.x86_64
netcdf-openmpi-devel-4.3.3.1-5.el7.x86_64
mpich-3.0-devel-3.0.4-10.el7.x86_64
hdf5-mpich-devel-1.8.12-10.el7.x86_64
netcdf-mpich-devel-4.3.3.1-5.el7.x86_64
netcdf-fortran-mpich-4.2-16.el7.x86_64
netcdf-fortran-openmpi-4.2-16.el7.x86_64
netcdf-fortran-openmpi-devel-4.2-16.el7.x86_64
netcdf-fortran-mpich-devel-4.2-16.el7.x86_64
netcdf-fortran-devel-4.2-16.el7.x86_64
openmpi3-3.0.0-1.el7.x86_64
openmpi3-devel-3.0.0-1.el7.x86_64
 

But none of it helped.

 

I tried downloading netcdf-4.6.1.tar.gz and built and installed it locally and set

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

 

and

 

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/netcdf.pc

 

 

But nothing helps. It always gives same error.

 

second method attempt:

./build.sh -gnu

 

which sets bizarre things like

 

export MPIFC="/opt/mpich2-1.4.1-gcc-4.6.2/bin/mpif90" (which does not exist)

20180807.200056 :: Running make ds-install &> logs/make.log
20180807.200056 :: Make fails!
 

in logs/make.log


/opt/mpich2-1.4.1-gcc-4.6.2/bin/mpif90   -DWITH_DELFTONLINE -O2  -ffree-line-length-none -cpp -c -o version_number.o  version_number.f90
make[5]: /opt/mpich2-1.4.1-gcc-4.6.2/bin/mpif90: Command not found
 

Starting to give up hope that it would even be possible to compile this software on a centos 7 machine.

 

Does anyone know what she or I are doing wrong here? Has anyone succeeded without buying expensive intel compiler and just using gnu under centos 7 or RHEL 7?

 

Thank you very much.

 

 

Adri Mourits, modified 1 Year ago.

RE: Compilation of delft3d under centos 7 Can't open module file 'netcdf.m

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

Hi Gary,

Does binary "/opt/mpich2-1.4.1-gcc-4.6.2/bin/mpif90" exist?

It is important that the mpich version you use is compiled with exactly the same compiler as you plan to use for Delft3D. It might be wise to download the mpich source code and compile it yourself, just to be sure.

Regards,

Adri