Forum

RE: Error when running model with culvert version - code or compilation iss

Luke Mosley, modified 10 Years ago.

Error when running model with culvert version - code or compilation issue?

Youngling Post: 1 Join Date: 4/8/15 Recent Posts
Hello,

I am trying to implement a culvert model and when I run the model I get this fatal error:

***************************************
*** Culvert data included
***************************************
*** ERROR Culvert input file must have version number 01.02
*** ERROR Flow exited abnormally

My culvert file (attached) seems to have this version number. I checked for any error messages in culvert module during compilation (log below) and I can't see any errors:

*****************************************
Output
Compiling with Intel(R) Visual Fortran Compiler XE 12.0.5.221 [IA-32]...
ifort /nologo /debug:full /Od /Qauto /module:"bin/Debug/" /object:"Debug/" /Fd"Debug\vc100.pdb" /traceback /check:bounds /libs:dll /threads /dbglibs /c /dll /Qvc10 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\\bin" "C:\DELFT3D\5.01.00.2163\src\plugins_lgpl\plugin_culvert\src\plugin_culvert.f90"
Linking...
Link /OUT:"bin/Debug\plugin_culvert.dll" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"C:\DELFT3D\5.01.00.2163\src\plugins_lgpl\plugin_culvert\bin\Debug\plugin_culvert.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"bin/Debug/plugin_culvert.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"bin/Debug/plugin_culvert.lib" /DLL "Debug/plugin_culvert.obj"
Link: executing 'link'
Creating library bin/Debug/plugin_culvert.lib and object bin/Debug/plugin_culvert.exp

Embedding manifest...
mt.exe /nologo /outputresource:"C:\DELFT3D\5.01.00.2163\src\plugins_lgpl\plugin_culvert\bin\Debug\plugin_culvert.dll;#2" /manifest "C:\DELFT3D\5.01.00.2163\src\plugins_lgpl\plugin_culvert\bin\Debug\plugin_culvert.dll.intermediate.manifest"
Performing Post-Build Event...
..\..\scripts_lgpl\win32\oss-install_debug.cmd plugin_culvert
oss-install_debug...
Source : package/engine plugin_culvert
"installing plugin_culvert . . ."
1 file(s) copied.

plugin_culvert - 0 error(s), 0 warning(s)

*********************************

Any idea if this is a compilation issue or where I should check? I compiled the code version 5.01.00.2163 and examples without culverts seem to run OK.

Do I need to copy culvert_plugin bin files somewhere once I have compiled code?

Kind regards

Luke
Andi Afif, modified 5 Years ago.

RE: Error when running model with culvert version - code or compilation iss

Youngling Posts: 3 Join Date: 3/23/18 Recent Posts
Dear all,I get the same problem too but little bit differences. When I try to implement a culvert model and when I run the model I get this error

***************************************
*** Culvert data included
***************************************
*** ERROR Can not open shared library .dll
*** ERROR Flow exited abnormally
Even though I was put the plugin_culvert.dll in the same directory as d_hydro.exe, flow2d3d.dll, etc., in subdirectory "...\win64\dflow2d3d\bin" of the installation directory.
Do you know why it happens?
Regards,
Andi