intro story Coast / Estuary

Coast / Estuary

Coastal systems are among the most dynamic physical systems on earth and are subject to a large variety of forces. The morphodynamic changes occurring to coastlines worldwide are of great interest and importance. These changes occur as a result of the erosion of sediments, its subsequent transport as bed load or suspended load, and eventual deposition. 
 
Estuaries are partly enclosed water bodies that have an open connection to the coast. Estuaries generally have one or more branching channels, intertidal mudflats and/or salt marshes. Intertidal areas are of high ecological importance and trap sediments (sands, silts, clays and organic matter).
Within the Delft3D modelling package a large variation of coastal and estuarine physical and chemical processes can be simulated. These include waves, tidal propagation, wind- or wave-induced water level setup, flow induced by salinity or temperature gradients, sand and mud transport, water quality and changing bathymetry (morphology). Delft3D can also be used operationally e.g. storm, surge and algal bloom forecasting. 
 
On this discussion page you can post questions, research discussions or just share your experience about modelling coastal and/or estuarine systems with Delft3D FM. 
 

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ
Cohesive sediments & muddy systems

 

 

Message Boards

The never ending story with NETCDF - A guide for linux compilation

GB
Giovanni Besio, modified 2 Years ago.

The never ending story with NETCDF - A guide for linux compilation

Youngling Posts: 24 Join Date: 10/25/12 Recent Posts
Dear all,
due to the big problems I had compiling Delft with Netcdf in linux, and because I succeded in compiling everything in OpenSuse, I will share the setting so other people can use them.

First of all you should define the PATH and the LD_LIBRARY_PATH
They basically depend on where you installed the required software (ifort, icc, mpich, szip, zlib, hdf5, netcdf fortran, netcdf c)

export PATH=$PATH:/opt/intel/bin/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/lib/intel64/

export PATH=$PATH:/opt/mpich3.2/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mpich3.2/lib64

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/zlib-1.2.11/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/szip-2.1.1/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/hdf5-1.10.1/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/netcdf_4.5.0_icc/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/netcdf_4.4.4_ifort/lib64

Then you need to set the variables to create the Makefile through the configure command. Again these setting are installation dependent:

export CC=/opt/intel/bin/icc
export CXX=/opt/intel/bin/icpc
export FC=/opt/intel/bin/ifort
export F77=/opt/intel/bin/ifort
export MPICXX=/opt/mpich3.2/bin/mpicxx
export MPIF77=/opt/mpich3.2/bin/mpif90
export MPIFC=/opt/mpich3.2/bin/mpif90
export FCLIBS='-L/opt/intel/lib/intel64 -L/opt/mpich3.2/lib64 -lifport -lifcore -limf -lsvml -lm -lipgo -lirc -lpthread -lirc_s -ldl -lmpifort'
export FLIBS='-L/opt/intel/lib/intel64 -L/opt/mpich3.2/lib64 -lifport -lifcore -limf -lsvml -lm -lipgo -lirc -lpthread -lirc_s -ldl'
export LIBS='-L/opt/mpich3.2/lib64 -L/opt/intel/lib/intel64 -lrt -lexpat -lstdc++ -limf -lsvml -lirng -lintlc -lmpich -lmpifort'
export FLIBS='L/opt/netcdf_4.4.4_ifort/lib -lnetcdff -L/opt/zlib-1.2.11/lib -L/opt/szip-2.1.1/lib64 -L/opt/hdf5-1.10.1/lib64 -L/opt/netcdf_4.5.0_icc/lib64 -lnetcdf -lnetcdf'
export NETCDF_CFLAGS='-I/opt/netcdf_4.4.4_ifort/include -I/opt/zlib-1.2.11/include -I/opt/szip-2.1.1/include -I/opt/hdf5-1.10.1/include -I/opt/netcdf_4.5.0_icc/include'
export NETCDF_FORTRAN_LIBS=' -L/opt/netcdf_4.4.4_ifort/lib -lnetcdff -L/opt/zlib-1.2.11/lib -L/opt/szip-2.1.1/lib64 -L/opt/hdf5-1.10.1/lib64'
export NETCDF_LIBS='-L/opt/netcdf_4.4.4_ifort/lib -lnetcdff -L/opt/zlib-1.2.11/lib -L/opt/szip-2.1.1/lib64 -L/opt/hdf5-1.10.1/lib64'

The most important variables to let the netcdf libraries work are NETCDF_FORTRAN_LIBS and NETCDF_LIBS

Finally you should proceed with the configure and make commands:

./configure --prefix=/opt/delft3D-t-7959-ifort/

make

make check

make install

Ciao

Giovanni
Adri Mourits, modified 2 Years ago.

RE: The never ending story with NETCDF - A guide for linux compilation

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

Thanks for sharing this.

Regards,

Adri