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

Compiling 20130808_tidal_turbines with gfortran

TR
Thomas Roc, modified 4 Years ago.

Compiling 20130808_tidal_turbines with gfortran

Youngling Posts: 1 Join Date: 8/24/15 Recent Posts
Dear community,

I am having trouble compiling the 20130808_tidal_turbines branch of delft3D with gfortran. Prior to to go further into the error message I get, I have to mention that the latest release of delft3D flawlessly compiled on my machine (both in serial and parallel) and that, therefore, libraries and dependencies should not be an issue here.

Here is the error I get:

/usr/lib/x86_64-linux-gnu/libexpat.so -lstdc++ -fopenmp -pthread
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_couplib.o): In function `__m_couplib_MOD_couplib_stop':
m_couplib.f90emoticon.text+0x11): undefined reference to `mpi_finalize_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_oper_imax1':
m_globcomm.f90emoticon.text+0x21): undefined reference to `mpi_type_size_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_oper_rmax1':
m_globcomm.f90emoticon.text+0xc1): undefined reference to `mpi_type_size_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_oper_dmax1':
m_globcomm.f90emoticon.text+0x171): undefined reference to `mpi_type_size_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_1d_ddata':
m_globcomm.f90emoticon.text+0x2b6): undefined reference to `mpi_allreduce_'
m_globcomm.f90emoticon.text+0x31d): undefined reference to `mpi_barrier_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_2d_ddata':
m_globcomm.f90emoticon.text+0x4c0): undefined reference to `mpi_allreduce_'
m_globcomm.f90emoticon.text+0x564): undefined reference to `mpi_barrier_'
m_globcomm.f90emoticon.text+0x5ab): undefined reference to `mpi_type_free_'
m_globcomm.f90emoticon.text+0x5da): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0x5e9): undefined reference to `mpi_type_commit_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_1d_rdata':
m_globcomm.f90emoticon.text+0x6f6): undefined reference to `mpi_allreduce_'
m_globcomm.f90emoticon.text+0x75d): undefined reference to `mpi_barrier_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_2d_rdata':
m_globcomm.f90emoticon.text+0x900): undefined reference to `mpi_allreduce_'
m_globcomm.f90emoticon.text+0x9a4): undefined reference to `mpi_barrier_'
m_globcomm.f90emoticon.text+0x9eb): undefined reference to `mpi_type_free_'
m_globcomm.f90emoticon.text+0xa1a): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0xa29): undefined reference to `mpi_type_commit_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_1d_idata':
m_globcomm.f90emoticon.text+0xb36): undefined reference to `mpi_allreduce_'
m_globcomm.f90emoticon.text+0xb9d): undefined reference to `mpi_barrier_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_combine_2d_idata':
m_globcomm.f90emoticon.text+0xd40): undefined reference to `mpi_allreduce_'
m_globcomm.f90emoticon.text+0xde4): undefined reference to `mpi_barrier_'
m_globcomm.f90emoticon.text+0xe2b): undefined reference to `mpi_type_free_'
m_globcomm.f90emoticon.text+0xe5a): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0xe69): undefined reference to `mpi_type_commit_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_sync_processes':
m_globcomm.f90emoticon.text+0xeee): undefined reference to `mpi_barrier_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_globcomm.o): In function `__m_globcomm_MOD_globcomm_initmod':
m_globcomm.f90emoticon.text+0x100c): undefined reference to `mpi_op_create_'
m_globcomm.f90emoticon.text+0x102d): undefined reference to `mpi_op_create_'
m_globcomm.f90emoticon.text+0x104e): undefined reference to `mpi_op_create_'
m_globcomm.f90emoticon.text+0x112a): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0x1140): undefined reference to `mpi_type_commit_'
m_globcomm.f90emoticon.text+0x11ef): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0x1205): undefined reference to `mpi_type_commit_'
m_globcomm.f90emoticon.text+0x12b4): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0x12ca): undefined reference to `mpi_type_commit_'
m_globcomm.f90emoticon.text+0x130a): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0x1320): undefined reference to `mpi_type_commit_'
m_globcomm.f90emoticon.text+0x1342): undefined reference to `mpi_type_contiguous_'
m_globcomm.f90emoticon.text+0x1358): undefined reference to `mpi_type_commit_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_intfc.o): In function `__m_intfc_MOD_intfc_define_collcitf_ihave':
m_intfc.f90emoticon.text+0x1710): undefined reference to `mpi_send_'
m_intfc.f90emoticon.text+0x1981): undefined reference to `mpi_recv_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_intfc.o): In function `__m_intfc_MOD_intfc_define_dstrbitf_ineed':
m_intfc.f90emoticon.text+0x24c2): undefined reference to `mpi_send_'
m_intfc.f90emoticon.text+0x2731): undefined reference to `mpi_recv_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_intfc.o): In function `__m_intfc_MOD_intfc_define_updatitf':
m_intfc.f90emoticon.text+0x30ed): undefined reference to `mpi_send_'
m_intfc.f90emoticon.text+0x31c0): undefined reference to `mpi_probe_'
m_intfc.f90emoticon.text+0x31ed): undefined reference to `mpi_get_count_'
m_intfc.f90emoticon.text+0x32c0): undefined reference to `mpi_recv_'
m_intfc.f90emoticon.text+0x3879): undefined reference to `mpi_send_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_prcgrp.o): In function `__m_prcgrp_MOD_prcgrp_initmod':
m_prcgrp.f90emoticon.text+0xaa): undefined reference to `mpi_init_thread_'
m_prcgrp.f90emoticon.text+0xd3): undefined reference to `mpi_comm_size_'
m_prcgrp.f90emoticon.text+0x197): undefined reference to `mpi_comm_rank_'
m_prcgrp.f90emoticon.text+0x239): undefined reference to `mpi_get_processor_name_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_sndrcv.o): In function `__m_sndrcv_MOD_sendrecv_data':
m_sndrcv.f90emoticon.text+0x625): undefined reference to `mpi_wait_'
m_sndrcv.f90emoticon.text+0xda3): undefined reference to `mpi_isend_'
m_sndrcv.f90emoticon.text+0x13b0): undefined reference to `mpi_probe_'
m_sndrcv.f90emoticon.text+0x13d8): undefined reference to `mpi_get_count_'
m_sndrcv.f90emoticon.text+0x14a6): undefined reference to `mpi_recv_'
m_sndrcv.f90emoticon.text+0x224e): undefined reference to `mpi_barrier_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_sndrcv.o): In function `__m_sndrcv_MOD_distribute_1d_idata_on_cardset':
m_sndrcv.f90emoticon.text+0x3186): undefined reference to `mpi_bcast_'
m_sndrcv.f90emoticon.text+0x3329): undefined reference to `mpi_barrier_'
m_sndrcv.f90emoticon.text+0x3371): undefined reference to `mpi_bcast_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_sndrcv.o): In function `__m_sndrcv_MOD_distribute_1d_cdata_on_cardset':
m_sndrcv.f90emoticon.text+0xc012): undefined reference to `mpi_bcast_'
m_sndrcv.f90emoticon.text+0xc0f3): undefined reference to `mpi_barrier_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_sndrcv.o): In function `__m_sndrcv_MOD_distribute_1d_ddata_on_cardset':
m_sndrcv.f90emoticon.text+0xc3c7): undefined reference to `mpi_bcast_'
m_sndrcv.f90emoticon.text+0xc569): undefined reference to `mpi_barrier_'
m_sndrcv.f90emoticon.text+0xc5b9): undefined reference to `mpi_bcast_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_sndrcv.o): In function `__m_sndrcv_MOD_distribute_1d_rdata_on_cardset':
m_sndrcv.f90emoticon.text+0xccf6): undefined reference to `mpi_bcast_'
m_sndrcv.f90emoticon.text+0xce99): undefined reference to `mpi_barrier_'
m_sndrcv.f90emoticon.text+0xcee1): undefined reference to `mpi_bcast_'
../../../../../engines_gpl/waq/packages/delwaq2_lib/src/.libs/libDelwaq2.a(m_sndrcv.o): In function `__m_sndrcv_MOD_distribute_1d_ldata_on_cardset':
m_sndrcv.f90emoticon.text+0xda71): undefined reference to `mpi_bcast_'
m_sndrcv.f90emoticon.text+0xdc1a): undefined reference to `mpi_barrier_'
m_sndrcv.f90emoticon.text+0xdc69): undefined reference to `mpi_bcast_'
collect2: error: ld returned 1 exit status
make[5]: *** [delwaq2] Error 1
make[5]: Leaving directory `/home/thomas/Desktop/SVN/delft3d/20130808_tidal_turbines/src/engines_gpl/waq/packages/delwaq2/src'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/thomas/Desktop/SVN/delft3d/20130808_tidal_turbines/src/engines_gpl/waq/packages/delwaq2'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/thomas/Desktop/SVN/delft3d/20130808_tidal_turbines/src/engines_gpl/waq/packages'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/thomas/Desktop/SVN/delft3d/20130808_tidal_turbines/src/engines_gpl/waq'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/thomas/Desktop/SVN/delft3d/20130808_tidal_turbines/src/engines_gpl'
make: *** [install-recursive] Error 1

Cheers,


-T-
Qinghua Ye, modified 2 Years ago.

RE: Compiling 20130808_tidal_turbines with gfortran (Answer)

Jedi Council Member Posts: 612 Join Date: 3/2/11 Recent Posts
Hi Thomas,

I don't know if it is still a problem.

It seems like the problems are from MPI for delwaq2. Thus it should not harm the flow kernal at all. Possibly because the MPI function was not ready when the branch is made. But later the MPI function was fixed in the trunk and the branch is not up to date.

Hope this is a little bit helpful,

Qinghua