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

Delft3d (tag v. 4440) compiling error

U
Jeff Phillips, modified 6 Years ago.

Delft3d (tag v. 4440) compiling error

Hello, I'm trying to compile the most recent tagged version of Delft3d (4440). I am running on Windows 7, and am using trial versions of Visual Studio 2012 and Intel Fortran 2013. I have not been able to successfully compile the code after several attempts and doing some troubleshooting from existing posts. I've included below the beginning and end of the output from the build file and a complete list of the 17 errors I am getting. I appreciate any suggestions that you may have to fix this problem. Thanks!

1>------ Rebuild All started: Project: deltares_common_c, Configuration: Release Win32 ------
2>------ Rebuild All started: Project: part_version_number, Configuration: Release Win32 ------
3>------ Rebuild All started: Project: delftio_shm, Configuration: Release Win32 ------
4>------ Rebuild All started: Project: morphology_plugins_c, Configuration: Release Win32 ------
4> shared_lib_fallve.c
2> Generating version number in '.\include\version_number.h' ...
3> dio_shm.cpp
1> cpuinfo.cpp
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 4628M
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\version_number.h'.
2> Generating version number in '.\include\version_number.rc' ...
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: 4628M
2> ..\..\..\..\scripts_lgpl\win32\update_version.cmd: Regenerating existing file '.\include\version_number.rc'.
2> c2c.c
3>c:\program files (x86)\microsoft sdks\windows\v7.1a\include\sal_supp.h(57): warning C4005: '__useHeader' : macro redefinition
3> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\sal.h(2872) : see previous definition of '__useHeader'
3>c:\program files (x86)\microsoft sdks\windows\v7.1a\include\specstrings_supp.h(77): warning C4005: '__on_failure' : macro redefinition
3> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\sal.h(2882) : see previous definition of '__on_failure'
1> getopt.cpp
1> getputarray.cpp
2> f2c.c
4> shared_lib_trafrm.c
1>src\getputarray.cpp(124): warning C4996: 'unlink': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _unlink. See online help for details.
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\io.h(214) : see declaration of 'unlink'
1>src\getputarray.cpp(132): warning C4244: 'argument' : conversion from 'double' to 'DWORD', possible loss of data
1> meminfo.cpp
2> version.c
2> part_version_number.vcxproj -> C:\Delft3d\src\engines_gpl\part\packages\version_number\Release\part_version_number.lib
4> morphology_plugins_c.vcxproj -> C:\Delft3d\src\utils_gpl\morphology\packages\morphology_plugins_c\..\..\lib\Release\static\morphology_plugins_c.lib
1> sems.cpp
5>------ Rebuild All started: Project: waq_utils_c, Configuration: Release Win32 ------
6>------ Rebuild All started: Project: waq_data, Configuration: Release Win32 ------
6>Deleting intermediate files and output files for project 'waq_data', configuration 'Release|Win32'.
6>Compiling with Intel(R) Visual Fortran Compiler XE 14.0.4.237 [IA-32]...
6>data_vtrans.F90
1> stream.cpp
6>data_3dl.F90
6>Creating library...
6>
Error 275 error LNK1181: cannot open input file 'libifcoremt.lib' C:\Delft3d\src\tools_gpl\datsel\packages\datsel\LINK
Error 277 error LNK1181: cannot open input file 'libifcoremt.lib' C:\Delft3d\src\tools_gpl\kubint\packages\kubint\LINK
Error 278 error LNK1181: cannot open input file 'libifcoremt.lib' C:\Delft3d\src\tools_gpl\lint\packages\lint\LINK
Error 292 error LNK1104: cannot open file 'IFWIN.LIB' C:\Delft3d\src\engines_gpl\part\packages\delpar\LINK
Error 293 ERROR while copying "redist\ia32\compiler\*.dll" to "..\bin\win32\wave\bin"
Error 303 ERROR while copying "redist\ia32\compiler\libiomp5md.dll" to "..\bin\win32\waq\bin"
Error 304 ERROR while copying "redist\ia32\compiler\libifcoremd.dll" to "..\bin\win32\waq\bin"
Error 305 ERROR while copying "redist\ia32\compiler\libifportmd.dll" to "..\bin\win32\waq\bin"
Error 306 ERROR while copying "redist\ia32\compiler\libmmd.dll" to "..\bin\win32\waq\bin"
Error 307 ERROR while copying "redist\ia32\compiler\svml_dispmd.dll" to "..\bin\win32\waq\bin"
Error 309 ERROR while copying "redist\ia32\compiler\libiomp5md.dll" to "..\bin\win32\waq\bin"
Error 310 ERROR while copying "redist\ia32\compiler\libifcoremd.dll" to "..\bin\win32\waq\bin"
Error 311 ERROR while copying "redist\ia32\compiler\libifportmd.dll" to "..\bin\win32\waq\bin"
Error 312 ERROR while copying "redist\ia32\compiler\libmmd.dll" to "..\bin\win32\waq\bin"
Error 313 ERROR while copying "redist\ia32\compiler\svml_dispmd.dll" to "..\bin\win32\waq\bin"
Error 413 error LNK1181: cannot open input file 'libifcoremt.lib' C:\Delft3d\src\engines_gpl\flow2d3d\packages\flow2d3d\LINK
Error 515 error LNK1181: cannot open input file 'Release\flow2d3d_openda_dll.obj' C:\Delft3d\src\engines_gpl\flow2d3d\packages\flow2d3d_openda\LINK
89>..\flow2d3d\src\dd\mapper\context_general_functs.cpp(569): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(357) : see declaration of 'sprintf'
89>..\flow2d3d\src\dd\mapper\context_general_functs.cpp(570): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(218) : see declaration of 'fopen'
89> flow_nxtstp.cpp
89>..\flow2d3d\src\dd\mapper\flow_nxtstp.cpp(255): warning C4297: 'GWSSLV' : function assumed not to throw an exception but does
89> __declspec(nothrow) or throw() was specified on the function
89>..\flow2d3d\src\dd\mapper\flow_nxtstp.cpp(323): warning C4297: 'GWSSLV' : function assumed not to throw an exception but does
89> __declspec(nothrow) or throw() was specified on the function
89>..\flow2d3d\src\dd\mapper\flow_nxtstp.cpp(420): warning C4297: 'COMMUNICATENEXTSTEPWITHMAPPER' : function assumed not to throw an exception but does
89> __declspec(nothrow) or throw() was specified on the function
89>..\flow2d3d\src\dd\mapper\flow_nxtstp.cpp(513): warning C4297: 'COMMUNICATENEXTSTEPWITHMAPPER' : function assumed not to throw an exception but does
89> __declspec(nothrow) or throw() was specified on the function
89>..\flow2d3d\src\dd\mapper\flow_nxtstp.cpp(558): warning C4297: 'COMMUNICATENEXTSTEPWITHMAPPER' : function assumed not to throw an exception but does
89> __declspec(nothrow) or throw() was specified on the function
89>..\flow2d3d\src\dd\mapper\flow_nxtstp.cpp(659): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h(191) : see declaration of 'strncpy'
89> gaws.cpp
89>..\flow2d3d\src\dd\mapper\gaws.cpp(1049): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(357) : see declaration of 'sprintf'
89>..\flow2d3d\src\dd\mapper\gaws.cpp(1050): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(218) : see declaration of 'fopen'
89>..\flow2d3d\src\dd\mapper\gaws.cpp(1751): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h(110) : see declaration of 'strcpy'
89> gaws_wang_eq.cpp
89> hymapper.cpp
89> map_debug.cpp
89>..\flow2d3d\src\dd\mapper\map_debug.cpp(113): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(218) : see declaration of 'fopen'
89> map_messages.cpp
89> mapper_config.cpp
89>..\flow2d3d\src\dd\mapper\mapper_config.cpp(72): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(311) : see declaration of 'sscanf'
89>..\flow2d3d\src\dd\mapper\mapper_config.cpp(167): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(218) : see declaration of 'fopen'
89> mapper_general.cpp
89>..\flow2d3d\src\dd\mapper\mapper_general.cpp(104): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h(110) : see declaration of 'strcpy'
89>..\flow2d3d\src\dd\mapper\mapper_general.cpp(438): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(357) : see declaration of 'sprintf'
89>..\flow2d3d\src\dd\mapper\mapper_general.cpp(439): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
89> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(218) : see declaration of 'fopen'
89> mapper_statemachine.cpp
89> mapper_uvz.cpp
89> varinfocoll.cpp
89>LINK : fatal error LNK1181: cannot open input file 'Release\flow2d3d_openda_dll.obj'
========== Rebuild All: 80 succeeded, 9 failed, 0 skipped ==========
Qinghua Ye, modified 6 Years ago.

RE: Delft3d (tag v. 4440) compiling error (Answer)

Jedi Council Member Posts: 610 Join Date: 3/2/11 Recent Posts
Hi Jeff,

Thank for pointing out the problem. You may refer to this link for detailed explanation:

http://oss.deltares.nl/web/delft3d/faq

On Windows compilation of some projects fail with the message "LINK : fatal error LNK1104: cannot open file 'ifconsol.lib' (or 'libifcoremt.lib', ...)"

Greetings,

Qinghua