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

Compiling v6118 in Windows 10

AA
Anonymous Anonymous, modified 4 Years ago.

Compiling v6118 in Windows 10

Jedi Master Posts: 333 Join Date: 7/30/20 Recent Posts
Dear all,

I recently tried an installation of the version 6118 under Windows 10 (Visual studio community 2015, Intel(R) Visual Fortran Compiler 17.0.0.109). I tested the examples, and they are working except few questions:

First, the building process went on well smoothly (no errors). But at the end, the progress bar froze with something to finish and VS got stuck (it shows “83>Project not selected to build for this solution configuration”). I terminated VS manually.
The log file from the building and a screen shot of the VS interface are attached. Could you give me some hint what is going on at the end?

Second, there are some problem with the parallel run of example 1. From the build log file, the mpich2 library is successfully copied. The model is running with the mpi command, but it gives some messages like “Unable to open the HKEY_LOCAL_MACHINE\SOFTWARE\MPICH\SMPD\process\864116 registry key, error 5, Access is denied.” Does that have something to do with my firewall setting?
I attach a screen output from the mpi run (“screen_parallel_np5.txt”). Is the mpi running successfully on this machine?

Third, in the batch file for the parallel run, I notice the maximum number of processors is set to be 5:
NPROC% gtr 5 set NPROC=5
I tried to use more processors, and it gave me errors (“screen_parallel_np5.txt”). Is that maximum number processors (5) decided by the example case (small domain), or it is the limitation of the parallelization of this Delft3D version?

Thank you in advance!

Ke
Adri Mourits, modified 4 Years ago.

RE: Compiling v6118 in Windows 10

Yoda Posts: 1212 Join Date: 1/3/11 Recent Posts
Hi Ke,

1. Hanging build
I have no idea why VisualStudio hangs. I don't expect this is related to “83>Project not selected to build for this solution configuration”: that is just an indication that the project "flow2d3d_openda" can be skipped. And that's correct (in VisualStudio, menu -> Build -> Configuration Manager..., you can check what projects are included and what not).

2. "Access denied" on parallel computation
Possibly this is related to your firewall settings. Did you follow the instructions in the comments in file "...\examples\01_standard\run_flow2d3d_parallel.bat" about starting smpd? It's important that you start it as administrator to avoid these problems.
Your file "screen_parallel_np5.log" says it DID run in parallel. The cleanest check is that there should be 5 tri-diag files in your working directory.

3. Maximum number of processors
5 is the maximum number for this very small example. If your model is "big enough" the maximum number may increase to 999. The optimum number of processors depend on a lot of factors but is commonly in the order of magnitude 20.

Regards,

Adri
AA
Anonymous Anonymous, modified 4 Years ago.

RE: Compiling v6118 in Windows 10

Jedi Master Posts: 333 Join Date: 7/30/20 Recent Posts
Adri,

Yes, I followed the instruction to run smpd, and I did get 5 tri-diag files when I use five processors. Probably the best way for me is to run a large case and hope it works.

Since this is a computer of my company, I can't modify the firewall setting by myself. But the good thing is that this version works well for me so far.

Thank you very much for your help!

Ke
AA
Anonymous Anonymous, modified 4 Years ago.

RE: Compiling v6118 in Windows 10

Jedi Master Posts: 333 Join Date: 7/30/20 Recent Posts
Dear K Liu,

I am currently trying to compile Delft3D on Windows 7 and 10, I have access to Visual Studio 2012 Premium and 2015 Community as well as the whole range of Intel Fortran Compilers.

I tried a couple of combinations; on Windows 10 I tried VS 2015 Update 3 & Intel XE Parallel 2017, Python 3.4. and MS NET 4.5 with the latest 3 tags and ran into 54 Errors and over 100 Warnings.

Both Phython versions did not help, what else is required or did you use?

Kind regards,

Oliver
AA
Anonymous Anonymous, modified 4 Years ago.

RE: Compiling v6118 in Windows 10 (Answer)

Jedi Master Posts: 333 Join Date: 7/30/20 Recent Posts
Oliver,

If "prepare_sln.py" in the source code folder runs well, probably you don't have to worry about your python version. I am with python 2.7.

For the one I mentioned in this post, it is version 6118 using Visual studio community 2015, Intel(R) Visual Fortran Compiler 17.0.0.109. But it looks like you have tried that. Maybe you can upload the log file with the error information, and many experts here can help you take a look.

Best regards,

Ke
Adri Mourits, modified 4 Years ago.

RE: Compiling v6118 in Windows 10 (Answer)

Yoda Posts: 1212 Join Date: 1/3/11 Recent Posts
Hi Oliver,

Currently, the version we build ourself is built using Windows 7, VisualStudio 2012, Intel Fortran compiler 13.
The prerequisites are listed here.
Please check that the Intel Fortran compiler is plugged in in the VisualStudio environment: via the VisualStudio menu bar -> help -> About Microsoft Visual Studio, you will get a window with all plugged in modules. The Intel compiler should be in that list.
The plugging will be done automatically when the Intel Fortran compiler is installed after installing VisualStudio.

If it still doesn't work: can you copy/paste the full contents of the output window in Visual Studio in a text file and attach it to a post on this forum?

Thanks.

Regards,

Adri