Error compiling Red Hat 64bits - make[5]: *** [libtrisim.la] Error 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
Error compiling Red Hat 64bits - make[5]: *** [libtrisim.la] Error 1
LS
LUIS HENRIQUE SILVA, modified 8 Years ago.
Error compiling Red Hat 64bits - make[5]: *** [libtrisim.la] Error 1
Youngling Posts: 12 Join Date: 9/30/11 Recent Posts 00
Hi,
I'm trying to compile Delft3D in Red Hat EL 6.0 64bit, however to no avail.
I'm having the following problem:
ld: ../../../../../utils_lgpl/meteo/packages/meteo/src/libmeteo.a(meteo_data.o): relocation R_X86_64_32 against `meteo_data_mp_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
make[5]: *** [libtrisim.la] Error 1
make[5]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d/packages/manager/src'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d/packages/manager'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d/packages'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl'
make: *** [install-recursive] Error 1
Could anyone help me.
thank you
Luis Marton
I'm trying to compile Delft3D in Red Hat EL 6.0 64bit, however to no avail.
I'm having the following problem:
ld: ../../../../../utils_lgpl/meteo/packages/meteo/src/libmeteo.a(meteo_data.o): relocation R_X86_64_32 against `meteo_data_mp_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
make[5]: *** [libtrisim.la] Error 1
make[5]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d/packages/manager/src'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d/packages/manager'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d/packages'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl/flow2d3d'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/luis/delft3d/delft3trunk/src/engines_gpl'
make: *** [install-recursive] Error 1
Could anyone help me.
thank you
Luis Marton
JL
João Lencart e Silva, modified 8 Years ago.
RE: Error compiling Red Hat 64bits - make[5]: *** [libtrisim.la] Error 1
Padawan Posts: 71 Join Date: 3/30/11 Recent Posts 00
Hi Henrique,
It looks like you should add the -fPIC option to you compile script.
In version 5.00.00.1234 the build.sh script already has this in all flags.
What version/compiler are you using?
The "could not read symbols" error is sometimes connected with trying to compile 32bit on a 64bit setup. Are you passing the -64bit flag to build.sh?
João.
It looks like you should add the -fPIC option to you compile script.
In version 5.00.00.1234 the build.sh script already has this in all flags.
What version/compiler are you using?
The "could not read symbols" error is sometimes connected with trying to compile 32bit on a 64bit setup. Are you passing the -64bit flag to build.sh?
João.
LS
LUIS HENRIQUE SILVA, modified 8 Years ago.
RE: Error compiling Red Hat 64bits - make[5]: *** [libtrisim.la] Error 1
Youngling Posts: 12 Join Date: 9/30/11 Recent Posts 00
Hi João,
I have used a version Delft3D "trunk" latest.
The compiler:
- Ifort 11.1
A machine is 64bit.
Regards
Luís
I have used a version Delft3D "trunk" latest.
The compiler:
- Ifort 11.1
A machine is 64bit.
Regards
Luís
João Lencart e Silva:
Hi Henrique,
It looks like you should add the -fPIC option to you compile script.
In version 5.00.00.1234 the build.sh script already has this in all flags.
What version/compiler are you using?
The "could not read symbols" error is sometimes connected with trying to compile 32bit on a 64bit setup. Are you passing the -64bit flag to build.sh?
João.
It looks like you should add the -fPIC option to you compile script.
In version 5.00.00.1234 the build.sh script already has this in all flags.
What version/compiler are you using?
The "could not read symbols" error is sometimes connected with trying to compile 32bit on a 64bit setup. Are you passing the -64bit flag to build.sh?
João.