intro story D-Flow FM

 

D-Flow Flexible Mesh

D-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:

  • Easier 1D-2D-3D model coupling, intuitive setup of boundary conditions and meteorological forcings (amongst others).
  • More flexible 2D gridding in delta regions, river junctions, harbours, intertidal flats and more.
  • High performance by smart use of multicore architectures, and grid computing clusters.
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! 

 

=======================================================
We have launched a new website (still under construction so expect continuous improvements) and a new forum dedicated to Delft3D Flexible Mesh.

Please follow this link to the new forum: 
/web/delft3dfm/forum

Post your questions, issues, suggestions, difficulties related to our Delft3D Flexible Mesh Suite on the new forum.

=======================================================

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ
Cohesive sediments & muddy systems

 


Message Boards

Error running make on ubuntu 16.04 uuid_generate

JS
Jean-Luc Shaw, modified 4 Years ago.

Error running make on ubuntu 16.04 uuid_generate

Youngling Posts: 1 Join Date: 6/23/16 Recent Posts
Hi!

I am trying to compile Delft3D on my Ubuntu 16.04 64 bit machine. The instructions I am following are from webinar 3 :

http://content.oss.deltares.nl/delft3d/Webinar/Baart_LinuxCodeCompiling/WebinarBaart_11012012_v3.html

Autogen and configure run smoothly. The error occurs during the make part of the installation. Here is the printout just before the error:


./utils_lgpl/delftio/packages/delftio/src/diof90/.libs/libDIOF90.a ../../../../../utils_lgpl/delftio/packages/delftio_shm/src/diof90/.libs/libDelftIOSHM.a ../../../../../engines_gpl/waq/packages/waq_io/src/ods/.libs/libods.a ../../../../../utils_lgpl/esmfsm/packages/esmfsm/src/fsm/.libs/libESMFSM.a ../../../../../utils_lgpl/nefis/packages/nefis/src/.libs/libNefis.a ../../../../../engines_gpl/waq/packages/waq_utils_f/src/interact/.libs/libinteract.a ../../../../../engines_gpl/waq/packages/waq_utils_c/src/.libs/libwaq_utils_c.a ../../../../../engines_gpl/waq/packages/delwaq2_version_number/src/.libs/libdelwaq2_version_number.a -lpthread -ldl -lrt /usr/lib/x86_64-linux-gnu/libexpat.so -lstdc++ -pthread -fopenmp
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(getuuid.o): In function `getuuid':
/home/Work/Desktop/Delft3D/trunk/src/engines_gpl/waq/packages/waq_utils_c/src/getuuid.c:27: undefined reference to `uuid_generate'
collect2: error: ld returned 1 exit status
Makefile:593: recipe for target 'delwaq2' failed
make[6]: *** [delwaq2] Error 1
make[6]: Leaving directory '/home/Work/Desktop/Delft3D/trunk/src/engines_gpl/waq/packages/delwaq2/src'
Makefile:488: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/Work/Desktop/Delft3D/trunk/src/engines_gpl/waq/packages/delwaq2'
Makefile:499: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/Work/Desktop/Delft3D/trunk/src/engines_gpl/waq/packages'
Makefile:488: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/Work/Desktop/Delft3D/trunk/src/engines_gpl/waq'
Makefile:492: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/Work/Desktop/Delft3D/trunk/src/engines_gpl'
Makefile:548: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/Work/Desktop/Delft3D/trunk/src'
Makefile:479: recipe for target 'all' failed
make: *** [all] Error 2

I suspect that I need to add the proper path to the uuid related libraries in makefile but I am not quite sure what I would then need to write or where to write it.

All help greatly appreciated!


Jean-Luc
MG
martin gerbec, modified 4 Years ago.

RE: Error running make on ubuntu 16.04 uuid_generate

Youngling Posts: 2 Join Date: 5/17/16 Recent Posts
Hi,

I have the same error trying to compile the latest version (trunk) in Linux Mint 17.2 (Ubuntu based). I also try in Linux Mint Debian Edition, but it was the same.
What it works successfully is compiling the version 6118 (this version doesn't include the variable UUIDLIBS_ADDITIONAL in the build.sh file). But at the moment of running show the error mentioned in the following link (that seems fixed in newer versions):

http://oss.deltares.nl/web/delft3d/general/-/message_boards/view_message/753225;jsessionid=40C1B725F69BB4816D4095A93A85CC3A.v-oss002.dlt.proteon.nl#_19_message_919774

Any idea? Thanks!!

Martin
MG
martin gerbec, modified 4 Years ago.

RE: Error running make on ubuntu 16.04 uuid_generate

Youngling Posts: 2 Join Date: 5/17/16 Recent Posts
Hi

it seems that in order to compile a code that includes uuid function, you need to add the following argument: -luuid (see).
So, modifying the file: trunk/src/nano engines_gpl/waq/packages/delwaq2/Makefile.am it's possible to compile the latest versions successfully. Just add -luuid \ around line 62, before

-lpthread \
-ldl

Hope it helps!

Martin
MJ
Michel Jeuken, modified 4 Years ago.

RE: Error running make on ubuntu 16.04 uuid_generate (Answer)

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Thanks for your suggestion!

There was a difference between the build and build_h5 script (UUIDLIBS_ADDITIONAL vs UUIDLIBS), so the (fixed) reference to the uuid lib (/lib64/libuuid.so.1) was not picked up properly in engines_gpl/waq/packages/delwaq2/Makefile.am where it was added by using $(UUIDLIBS).

Your solution of using -luuid is much more generic, so I changed it to that (and removed UUIDLIBS_ADDITIONAL/UUIDLIBS from the build script).
BJ
Blaise Jace, modified 3 Months ago.

RE: Error running make on ubuntu 16.04 uuid_generate

Youngling Posts: 2 Join Date: 8/23/20 Recent Posts
I've encountered this error multiple times, and I hope that I can find a solution for this best assignment help in Perth error here. I hope to eliminate this error entirely, and I think it'll be a difficult task.