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. 




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



Message Boards

compile trouble with delft3d revision 2685 in ubuntu 11.10

Gabriel Ruiz, modified 7 Years ago.

compile trouble with delft3d revision 2685 in ubuntu 11.10

Padawan Posts: 59 Join Date: 9/30/11 Recent Posts

I'm trying to compile delft 3d (rev. 2685) in a computer with ubuntu 11.10 (64 bits) and I'm using gnu libraries (gfortran, gcc, automake, libtool, etc) to compile the software.
Basically, I have tried to follow all the indications that we can find in the README file, option A.
But, I haven't had any success in the compilation process.
In order to understand what happen or figure out what the problem is, I have read a couple of posts that some guys are published, describing troubles that are related to delwaq module, mpich library, etc. at the moment of compile delft3d. Unfortunately, I haven't been able to recognize why I can't compile the software in this ubuntu version.
I have checked out all the libraries that delft3d needs and I think that I have all these libraries.

The messages that I get when the compile process is aborted is:

dlwqp1.f:(.text+0x126): undefined reference to `omp_set_num_threads_'
dlwqp1.f:(.text+0x12d): undefined reference to `omp_get_max_threads_'
../../../../../engines_gpl/waq/packages/delwaq1_lib/src/.libs/libDelwaq1.a(dhmmja.o): In function `__dhmmja_mod_MOD_dhmmja':
dhmmja.f:(.text+0x5a62): undefined reference to `omp_get_max_threads_'
../../../../../engines_gpl/waq/packages/delwaq1_lib/src/.libs/libDelwaq1.a(dhmmra.o): In function `__dhmmra_mod_MOD_dhmmra':
dhmmra.f:(.text+0xdcc): undefined reference to `omp_set_num_threads_'
dhmmra.f:(.text+0xe05): undefined reference to `omp_get_max_threads_'
collect2: ld returned 1 exit status
make[5]: *** [delwaq1] Error 1
make[5]: Leaving directory `/home/bioloid/Gabo_ruiz_lapcof/delft3d_repository_2685/src/engines_gpl/waq/packages/delwaq1/src'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/bioloid/Gabo_ruiz_lapcof/delft3d_repository_2685/src/engines_gpl/waq/packages/delwaq1'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/bioloid/Gabo_ruiz_lapcof/delft3d_repository_2685/src/engines_gpl/waq/packages'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/bioloid/Gabo_ruiz_lapcof/delft3d_repository_2685/src/engines_gpl/waq'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bioloid/Gabo_ruiz_lapcof/delft3d_repository_2685/src/engines_gpl'
make: *** [install-recursive] Error 1

Anybody, may you explain me the problem and what should I do in order to get a successful compilation process?

Thanks and regards


Arnold van Rooijen, modified 7 Years ago.

RE: compile trouble with delft3d revision 2685 in ubuntu 11.10

Hi Gabriel,

I am not very familiar with compiling D3D in Ubuntu, but maybe it helps to point out the webinar by Fedor of January 2012 in which he explained it step-by-step:

João Lencart e Silva, modified 7 Years ago.

RE: compile trouble with delft3d revision 2685 in ubuntu 11.10 (Answer)

Padawan Posts: 71 Join Date: 3/30/11 Recent Posts
Hi Gabriel,

I use ubuntu 12.04 64bit (you should consider upgrading to this LTS since it has 5 years of support), and d3d compiled with gfortran.
In my reply to this post I show the differences I had to make to my file in order to make it work.