Partial build on Ubuntu 12.1 - 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
Partial build on Ubuntu 12.1
SA
Steven Ayres, modified 8 Years ago.
Partial build on Ubuntu 12.1
Padawan Posts: 33 Join Date: 4/21/11 Recent Posts 00
Using the GNU compilers I get a partial 64-bit build on Ubuntu 12.1. However, for some reason the libflow2d3d.so file is not built. The deltares_hydro.exe, d_hydro.exe, libflow2d3d_sp.so and libflow2d3d_openda_sp.so files are built and copied into the bin directory correctly. Any ideas on how to fix this? I've attached the make.log file for reference.
Thanks,
Steve
Thanks,
Steve
Attachments:
Adri Mourits, modified 8 Years ago.
RE: Partial build on Ubuntu 12.1
Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts 00
Hi Steve,
You created a single precision version, resulting in "libflow2d3d_sp.so" instead of "libflow2d3d.so". You did this by executing "build.sh" with the flag "-sp". This causes a script to be executed named (with argument) "...\src\utils_lgpl\precision\scripts\changeprecision.tcl single". This changes source files. Everytime you recompile, the single precision version will be built. If you want to build the (default) double precision version again, you have two options:
Regards,
Adri
You created a single precision version, resulting in "libflow2d3d_sp.so" instead of "libflow2d3d.so". You did this by executing "build.sh" with the flag "-sp". This causes a script to be executed named (with argument) "...\src\utils_lgpl\precision\scripts\changeprecision.tcl single". This changes source files. Everytime you recompile, the single precision version will be built. If you want to build the (default) double precision version again, you have two options:
- Start with an empty directory and download the source code again.
- First clean the source code tree as much as possible: "make ds-clean". Then execute the "changeprecision"-script manually, now with argument "double": "...\src\utils_lgpl\precision\scripts\changeprecision.tcl double". This will change back the source files.
Regards,
Adri
SA
Steven Ayres, modified 8 Years ago.
RE: Partial build on Ubuntu 12.1
Padawan Posts: 33 Join Date: 4/21/11 Recent Posts 00
Thanks Adri, You were right, I was able to get a good compile using a new download of tag version 1983. I had copied the previous version over from Windows where I was experimenting with compiling a single precision version.
Steve
Steve