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

make error

VY
veli yumruktepe, modified 8 Years ago.

make error

Padawan Posts: 42 Join Date: 2/7/12 Recent Posts
Hi all,

When I try to compile delft3d tag1983 I get this error. I also tried to remove the dolci and delftonline lines from delftonline Makefile but it did not work. I am on a 64bit machine and used gcc4.7
I also tried to do it with intel10 but got the same error. Either I could not invoke the intel compilers or there is something else.

libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/../lib64/crti.o /hpcfs/imsmetu/common/gcc-4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/crtbeginS.o .libs/arrayshape.o .libs/barrier.o .libs/client.o .libs/clock.o .libs/connection.o .libs/dataelement.o .libs/delftonline_version.o .libs/dictionary.o .libs/directory.o .libs/exception.o .libs/function.o .libs/linkedlist.o .libs/log.o .libs/print.o .libs/server.o .libs/sortedbag.o .libs/util.o /usr/lib64/libexpat.so -L/hpcfs/imsmetu/common/gcc-4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0 -L/hpcfs/imsmetu/common/gcc-4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/hpcfs/imsmetu/common/gcc-4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../.. /hpcfs/imsmetu/common/gcc-4.7.0/lib/../lib64/libstdc++.a -lm -lc -lgcc /hpcfs/imsmetu/common/gcc-4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/crtendS.o /usr/lib/../lib64/crtn.o -pthread -O2 -m64 -pthread -Wl,-soname -Wl,libDelftOnline.so.0 -o .libs/libDelftOnline.so.0.0.0
/usr/bin/ld: /hpcfs/imsmetu/common/gcc-4.7.0/lib/../lib64/libstdc++.a(class_type_info.o): relocation R_X86_64_32S against `_ZTVN10__cxxabiv117__class_type_infoE' can not be used when making a shared object; recompile with -fPIC
/hpcfs/imsmetu/common/gcc-4.7.0/lib/../lib64/libstdc++.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [libDelftOnline.la] Error 1
make[4]: Leaving directory `/hpcfs/imsmetu/DELFT3D/tag1983/src/utils_lgpl/delftonline/src/delftonline'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/hpcfs/imsmetu/DELFT3D/tag1983/src/utils_lgpl/delftonline/src/delftonline'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/hpcfs/imsmetu/DELFT3D/tag1983/src/utils_lgpl/delftonline'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/hpcfs/imsmetu/DELFT3D/tag1983/src/utils_lgpl'
make: *** [install-recursive] Error 1
Adri Mourits, modified 8 Years ago.

RE: make error

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Hi Veli,

The compiler wants a tool to be recompiled with the flag -fPIC. I'm doubting about what tool needs to be recompiled. Some users did get this message when using mpich and then it was clear that mpich had to be recompiled. But you get this error on another occasion (much too early). It looks like "libtool" or the C++ compiler itself needs to be recompiled.

Does this help?

Regards, Adri
FW
Florian W, modified 8 Years ago.

RE: make error

Youngling Posts: 1 Join Date: 1/31/13 Recent Posts
Hi,

I have a similar problem. I got the following error message:

...
/usr/lib/x86_64-linux-gnu/libexpat.so -lstdc++ -lgfortran -lquadmath -lm -lc -lgcc_s -fopenmp -fopenmp -Wl,-soname -Wl,libtrisim.so.0 -o .libs/libtrisim.so.0.0.0
/usr/bin/ld: ../../../../../utils_lgpl/meteo/packages/meteo/src/libmeteo.a(meteo_data.o): relocation R_X86_64_32 against `__meteo_data_MOD_meteomessage' can not be used when making a shared object; recompile with -fPIC
../../../../../utils_lgpl/meteo/packages/meteo/src/libmeteo.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[6]: *** [libtrisim.la] Error 1
make[6]: Leaving directory `/home/flo/Downloads/delft3d_repository/src/engines_gpl/flow2d3d/packages/manager/src'
make[5]: *** [all-recursive] Error 1

...

I recompiled like recommended in the webinar: $ FCFLAGS=-fPIC ./configure
$make

However the same error message appeared again.

I checked the Makefile and FCFLAGS was correctly set on -fPIC

FCFLAGS = -fPIC -fopenmp -ffree-line-length-none -cpp
FCFLAGS_f90 =


I don't know if it is alright, that there is no option for FCFLAGS_f90?

Thanks for any help
Flo
Adri Mourits, modified 8 Years ago.

RE: make error

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Hi Florian,

FCFLAGS_f90 is not used. FCFLAGS is for f90 and FFlags is for f77. So that looks fine.

It seems that meteomessage.f90 was already build WITHOUT the -fPIC flag and now meteo_data.f90 is being build WITH the -fPIC flag.

What happens if you start with an empty directory, download the source code (use a tagged version, the trunk is not very stable at this moment), then compile everything with the -fPIC flag? Please double check with the README file and optionally have a look at the build.sh script for examples.

Regards,

Adri
U
Steven Jachec, modified 8 Years ago.

RE: make error

I'm running into the same issue.

Can you suggested a tagged version?

Steven
Adri Mourits, modified 8 Years ago.

RE: make error

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Yes, the latest.

Adri