run a single precision executable - Coast/Estuary - Delft3D
intro story Coast / Estuary
Coast / EstuaryCoastal 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
|
Message Boards
run a single precision executable
PD
Peng Dai, modified 7 Years ago.
run a single precision executable
Padawan Posts: 59 Join Date: 8/2/12 Recent Posts 00
Hi,
I came across some memory problems, error in double array allocation of wrka6, as I mentioned in my previous post, one solution is suggested by your FAQ that run a single precision executable.
In terms of the single precision calculation, you mentioned one file "flow2d3d_sp.dll", I am wondering where this file is located. I found the "flow2d3d.dll" in my code directory, "...\bin\w32\flow\bin", however I could not found the "flow2d3d_sp.dll" there.
Best,
Peng
I came across some memory problems, error in double array allocation of wrka6, as I mentioned in my previous post, one solution is suggested by your FAQ that run a single precision executable.
In terms of the single precision calculation, you mentioned one file "flow2d3d_sp.dll", I am wondering where this file is located. I found the "flow2d3d.dll" in my code directory, "...\bin\w32\flow\bin", however I could not found the "flow2d3d_sp.dll" there.
Best,
Peng
Qinghua Ye, modified 7 Years ago.
RE: run a single precision executable (Answer)
Jedi Council Member Posts: 610 Join Date: 3/2/11 Recent Posts 00
Dear Peng,
Pls refer to FAQ in this site:
http://oss.deltares.nl/web/delft3d/faq#How do I create a single precision executable?
Regards,
Qinghua
Pls refer to FAQ in this site:
http://oss.deltares.nl/web/delft3d/faq#How do I create a single precision executable?
Regards,
Qinghua
PD
Peng Dai, modified 6 Years ago.
RE: run a single precision executable
Padawan Posts: 59 Join Date: 8/2/12 Recent Posts 00
Qinghua Ye:
Dear Peng,
Pls refer to FAQ in this site:
http://oss.deltares.nl/web/delft3d/faq#How do I create a single precision executable?
Regards,
Qinghua
Pls refer to FAQ in this site:
http://oss.deltares.nl/web/delft3d/faq#How do I create a single precision executable?
Regards,
Qinghua
Hi, Qinghua:
I referred to the your above mentioned FAQ regarding to how to create a single precision executable. But I don't quite understand what you mean by "Recompile the complete tree". Do you mean that I should check the step 4 on the web page (http://oss.deltares.nl/web/delft3d/source-code#Compile the source code) and follow all the steps in the file "src/README" from my source code?
Regards,
Peng
Qinghua Ye, modified 6 Years ago.
RE: run a single precision executable
Jedi Council Member Posts: 610 Join Date: 3/2/11 Recent Posts 00
Dear Peng,
Yes. After changing the precision indicator in the code, you have to re-compile the whole code. Yes. You may follow all the steps. But you have compiled the double precision, so maybe it is quite easy to repeat the process again.
Regards,
Qinghua
Yes. After changing the precision indicator in the code, you have to re-compile the whole code. Yes. You may follow all the steps. But you have compiled the double precision, so maybe it is quite easy to repeat the process again.
Regards,
Qinghua
PD
Peng Dai, modified 6 Years ago.
RE: run a single precision executable
Padawan Posts: 59 Join Date: 8/2/12 Recent Posts 00
Hi Qinghua:
I am wondering if I want to turn back to double precision simulation from single precision, do I need compile the codes again ? Is any handy approach that I can switch between the two?
Perhaps the only way for handy switch, is that I have two computers one compiled for double precision simulation and the other for single precision simulation. In that case I am wondering if one license (open source version) available for two computers?
Regards,
Peng
I am wondering if I want to turn back to double precision simulation from single precision, do I need compile the codes again ? Is any handy approach that I can switch between the two?
Perhaps the only way for handy switch, is that I have two computers one compiled for double precision simulation and the other for single precision simulation. In that case I am wondering if one license (open source version) available for two computers?
Regards,
Peng
Qinghua Ye, modified 6 Years ago.
RE: run a single precision executable
Jedi Council Member Posts: 610 Join Date: 3/2/11 Recent Posts 00
Dear Peng,
After compiled 2 times, i.e., one for double precision and the other for single precision, you then only have to configue it. Very easy and handy. You don't have compile again to use it if you don't change the code.
In the corresponding config_d_hydro.xml, set
<library>flow2d3d</library>: for double precision.
<library>flow2d3d_sp</library>: for single precision.
This has been descibed in http://oss.deltares.nl/web/delft3d/faq#How do I run a single precision executable?...
Regards,
Qinghua
After compiled 2 times, i.e., one for double precision and the other for single precision, you then only have to configue it. Very easy and handy. You don't have compile again to use it if you don't change the code.
In the corresponding config_d_hydro.xml, set
<library>flow2d3d</library>: for double precision.
<library>flow2d3d_sp</library>: for single precision.
This has been descibed in http://oss.deltares.nl/web/delft3d/faq#How do I run a single precision executable?...
Regards,
Qinghua
PD
Peng Dai, modified 6 Years ago.
RE: run a single precision executable
Padawan Posts: 59 Join Date: 8/2/12 Recent Posts 00
Hi Qinghua:
OK I see.
Can you specify where the file config_d_hydro.xml locate? I can't find one such file in my working directory. And I used the search function of windows explorer to search the whole code files but no such file exit.
Regards,
Pneg
OK I see.
Can you specify where the file config_d_hydro.xml locate? I can't find one such file in my working directory. And I used the search function of windows explorer to search the whole code files but no such file exit.
Regards,
Pneg