Delft3D start menu crashes when trying to start Delft3D - D-Flow Flexible Mesh - Delft3D
intro story D-Flow FM
D-Flow Flexible MeshD-Flow Flexible Mesh (D-Flow FM) is the new software engine for hydrodynamical simulations on unstructured grids in 1D-2D-3D. Together with the familiar curvilinear meshes from Delft3D 4, the unstructured grid can consist of triangles, pentagons (etc.) and 1D channel networks, all in one single mesh. It combines proven technology from the hydrodynamic engines of Delft3D 4 and SOBEK 2 and adds flexible administration, resulting in:
An overview of the current developments can be found here. The D-Flow FM - team would be delighted if you would participate in discussions on the generation of meshes, the specification of boundary conditions, the running of computations, and all kinds of other relevant topics. Feel free to share your smart questions and/or brilliant solutions!
======================================================= | Sub groups
|
Message Boards
Delft3D start menu crashes when trying to start Delft3D
Ben Williams, modified 9 Years ago.
Delft3D start menu crashes when trying to start Delft3D
Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts 00
Hi,
I have just upgraded from the open source version of Delft3D (v3.28 GUI with code v4.00.00.61) to v4.00 Delft3D with code 4.00.07.0892.
I don't have any problems when installing the pre-compiled GUI etc, or compiling the source code.
But I now cannot start Delft3D from the windows start menu - I keep getting a windows error message 'd3d_menu.exe has stopped working' with no further information. All the binaries have been copied across from the compilation folder /bin/w32 to Delft3D/bin/w32, and my impression is that this is a stable version that other people are running fine. I don't get any errors whilst compiling the code.
Has anyone come across an error like this and any ideas what might be causing it?
System and version Information:
Windows 7 professional (64 bit)
Visual studio 2008
Intel fortran compiler 11.1 (now Composer XE 2011)
Dell XPS 8100 with corei7 860 @2.8GHz
8GB ram
Delft3D menu 2.05.01
source code 4.00.07.0892
GUI 4.00 (downloaded last week from Deltares via email)
Could there be a software conflict? I have a couple of versions of matlab but I don't think that could be the cause. Could it be if anything has changed the registry for what program opens what kind of file?
Thanks,
Ben
I have just upgraded from the open source version of Delft3D (v3.28 GUI with code v4.00.00.61) to v4.00 Delft3D with code 4.00.07.0892.
I don't have any problems when installing the pre-compiled GUI etc, or compiling the source code.
But I now cannot start Delft3D from the windows start menu - I keep getting a windows error message 'd3d_menu.exe has stopped working' with no further information. All the binaries have been copied across from the compilation folder /bin/w32 to Delft3D/bin/w32, and my impression is that this is a stable version that other people are running fine. I don't get any errors whilst compiling the code.
Has anyone come across an error like this and any ideas what might be causing it?
System and version Information:
Windows 7 professional (64 bit)
Visual studio 2008
Intel fortran compiler 11.1 (now Composer XE 2011)
Dell XPS 8100 with corei7 860 @2.8GHz
8GB ram
Delft3D menu 2.05.01
source code 4.00.07.0892
GUI 4.00 (downloaded last week from Deltares via email)
Could there be a software conflict? I have a couple of versions of matlab but I don't think that could be the cause. Could it be if anything has changed the registry for what program opens what kind of file?
Thanks,
Ben
Adri Mourits, modified 9 Years ago.
RE: Delft3D start menu crashes when trying to start Delft3D
Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts 00
Hi Ben,
I have no idea what is going wrong. The only thing you can check is whether the freshly build binaries work fine. You can check this by executing the batch script "mysourcecodedownloaddirectory\examples\01_standard\run_flow2d3d.bat". If this works fine, you also have a workaround.
I will ask my colleague to have a look at this, but I'm afraid you'll have to wait until at least January 9th.....
Regards,
Adri
I have no idea what is going wrong. The only thing you can check is whether the freshly build binaries work fine. You can check this by executing the batch script "mysourcecodedownloaddirectory\examples\01_standard\run_flow2d3d.bat". If this works fine, you also have a workaround.
I will ask my colleague to have a look at this, but I'm afraid you'll have to wait until at least January 9th.....
Regards,
Adri
Ben Williams, modified 9 Years ago.
RE: Delft3D start menu crashes when trying to start Delft3D (Answer)
Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts 00
Hi Adri,
I found out what was causing the issue. After much headbanging, I finally found out that my problems were caused by the fact that I had installed Delft3D to a folder called 'C:/Programs x86/Delft3D' . I presume that the problem stems from the fact that there is a space in the name of the folder.
It is strange as the first version of Delft3D I had (v3.28, relesed in Jan 2011) did not suffer from this problem. When I reinstalled Delft3D 'C:/Delft3D', the GUI worked fine. It is a shame it took so many days to find out what the problem was.
Is this something that could be taken care of in future releases of the GUI binary files?
Thanks,
Ben
I found out what was causing the issue. After much headbanging, I finally found out that my problems were caused by the fact that I had installed Delft3D to a folder called 'C:/Programs x86/Delft3D' . I presume that the problem stems from the fact that there is a space in the name of the folder.
It is strange as the first version of Delft3D I had (v3.28, relesed in Jan 2011) did not suffer from this problem. When I reinstalled Delft3D 'C:/Delft3D', the GUI worked fine. It is a shame it took so many days to find out what the problem was.
Is this something that could be taken care of in future releases of the GUI binary files?
Thanks,
Ben
Bert Jagers, modified 9 Years ago.
RE: Delft3D start menu crashes when trying to start Delft3D
Jedi Knight Posts: 201 Join Date: 12/22/10 Recent Posts 00
Hi Ben,
Thanks for the update. Sorry that it cost you several days to get it working again; but good to hear you finally did solve it. I have created a issue for it in our bug tracking system to be looked at after the holidays.
In an attempt to reproduce your problem, I have temporarily renamed the Delft3D 4.00.00 installation folder on my 32bit Windows XP machine to read 'd:\App\Delft3D\4.00 00' (note the space in 4.00 00). I have opened a dos box in the d:\App\Delft3D\4.00 00\w32\menu\bin folder and changed the D3D_HOME environment variable to point to d:\App\Delft3D\4.00 00 rather than the original one. The d3d_menu.exe starts fine from the dos box; RGFGRID and QUICKIN also seem to start fine from the menu. When I try to start Delft3D-FLOW GUI, the flow_gui.exe returns an error message: "This application has failed to start because MSVCRTD.dll was not found." OK, I forgot to add the d:\App\Delft3D\4.00 00\w32\lib folder to the Windows search path. After adding it and restarting d3d_menu, the user interface seems to work fine. When I then try to run the simulation the system indicates: Error in startup script: couldn't read file "D:\App\Delft3D\4.00": no such file or directory. This message is repeated five times and the simulation doesn't run, but nothing crashes. This confirms that spaces in the installation (and simulation folder) give problems and should for now be avoided, however, it doesn't explain why your d3d_menu crashed. Maybe it's a combination with the 64bit Windows 7 version that you're using, but it would help to know at which point it crashed exactly.
Best regards,
Bert
Thanks for the update. Sorry that it cost you several days to get it working again; but good to hear you finally did solve it. I have created a issue for it in our bug tracking system to be looked at after the holidays.
In an attempt to reproduce your problem, I have temporarily renamed the Delft3D 4.00.00 installation folder on my 32bit Windows XP machine to read 'd:\App\Delft3D\4.00 00' (note the space in 4.00 00). I have opened a dos box in the d:\App\Delft3D\4.00 00\w32\menu\bin folder and changed the D3D_HOME environment variable to point to d:\App\Delft3D\4.00 00 rather than the original one. The d3d_menu.exe starts fine from the dos box; RGFGRID and QUICKIN also seem to start fine from the menu. When I try to start Delft3D-FLOW GUI, the flow_gui.exe returns an error message: "This application has failed to start because MSVCRTD.dll was not found." OK, I forgot to add the d:\App\Delft3D\4.00 00\w32\lib folder to the Windows search path. After adding it and restarting d3d_menu, the user interface seems to work fine. When I then try to run the simulation the system indicates: Error in startup script: couldn't read file "D:\App\Delft3D\4.00": no such file or directory. This message is repeated five times and the simulation doesn't run, but nothing crashes. This confirms that spaces in the installation (and simulation folder) give problems and should for now be avoided, however, it doesn't explain why your d3d_menu crashed. Maybe it's a combination with the 64bit Windows 7 version that you're using, but it would help to know at which point it crashed exactly.
Best regards,
Bert
Ben Williams, modified 9 Years ago.
RE: Delft3D start menu crashes when trying to start Delft3D
Jedi Knight Posts: 114 Join Date: 3/23/11 Recent Posts 00
Hi Bert,
Thanks. In the end I learned a lesson, which is to check the simple things first. I thought it was something I had installed at some point between installing the original open source version in January, and upgrading to the new code in December, or that I had somehow done something to the systrem registry or inadvertantly tampered with the files in some way. Anyway when I worked it out, there was much forehead smacking.
In terms of the crash, the error message I posted originally was copied and pasted from the error message I got from Delft3D. The software was installed on a 64bit version of Windows7, and installed fine. I had also copied across the relevant parts of the source code to the w32 folder. Delft3D was installed to 'C:/Program files (x86)/Delft3D'. The error message was encountered upon trying to open the Delft3D GUI from Windows start menu, or in any other way within Windows.
Cheers,
Ben
Thanks. In the end I learned a lesson, which is to check the simple things first. I thought it was something I had installed at some point between installing the original open source version in January, and upgrading to the new code in December, or that I had somehow done something to the systrem registry or inadvertantly tampered with the files in some way. Anyway when I worked it out, there was much forehead smacking.
In terms of the crash, the error message I posted originally was copied and pasted from the error message I got from Delft3D. The software was installed on a 64bit version of Windows7, and installed fine. I had also copied across the relevant parts of the source code to the w32 folder. Delft3D was installed to 'C:/Program files (x86)/Delft3D'. The error message was encountered upon trying to open the Delft3D GUI from Windows start menu, or in any other way within Windows.
Cheers,
Ben
Bert Jagers, modified 9 Years ago.
RE: Delft3D start menu crashes when trying to start Delft3D
Jedi Knight Posts: 201 Join Date: 12/22/10 Recent Posts 00
Hi Ben,
Thanks for the additional details. So, on your 64bit Windows 7 machine the crash already happens at a much earlier stage than any of the problems that I found on 32bit Windows XP. We'll look into it early 2012.
Happy New Year!
Bert
Thanks for the additional details. So, on your 64bit Windows 7 machine the crash already happens at a much earlier stage than any of the problems that I found on 32bit Windows XP. We'll look into it early 2012.
Happy New Year!
Bert