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

Any joy with Ubuntu 12.04?

SH
Shawn Harrison, modified 8 Years ago.

Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Hi,
Has anyone tried compiling D3D with the latest Ubuntu 12.04?
I'm curious if it has problems or works well.

Thanks,
Shawn
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
FYI,

Ubuntu 12.04 (64bit) supposedly works for D3D.

From a post by veli yumruktepe (thread: "compiling error trunk v1594", 6/20/12 9:35 AM), who was having problem with the 'make' procedure on previous Ubuntu installation -
He updated to Ubuntu 12.04 (64bit) and was able to successfully compile D3d-FLOW.

Any other reports? Specifically interested in Ubuntu 12.04 32bit.

Thanks,
Shawn
JL
João Lencart e Silva, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 71 Join Date: 3/30/11 Recent Posts
In Ubuntu 12.04 64bits D3D ( 5.00.00.1234) compiled with gnu fortran with minor changes to build.sh.

Here goes the difference between my working copy of build.sh and r1497:

svn diff build.sh
Index: build.sh
===================================================================
--- build.sh    (revision 1497)
+++ build.sh    (working copy)
@@ -137,7 +137,7 @@
     gnu)
         ifortInit=""
         addpath PATH /opt/gcc/bin
-        addpath LD_LIBRARY_PATH /opt/gcc/lib /opt/gcc/lib64
+        addpath LD_LIBRARY_PATH /usr/lib/ /usr/lib/mpich2/lib /opt/gcc/lib /opt/gcc/lib64
         echo "Using GNU compilers in `witch gfortran`"
         ;;

@@ -209,11 +209,11 @@
#---------------------
# mpich2
if [ "$compiler" = 'gnu' ]; then
-    addpath PATH /opt/mpich2-1.4.1-gcc-4.6.2/bin
-    export MPI_INCLUDE=/opt/mpich2-1.4.1-gcc-4.6.2/include
-    export MPILIBS_ADDITIONAL="-L/opt/mpich2-1.4.1-gcc-4.6.2/lib -lfmpich -lmpich -lmpl"
+    addpath PATH /usr/bin
+    export MPI_INCLUDE=/usr/include/mpich2/
+    export MPILIBS_ADDITIONAL="-L/usr/lib/mpich2/lib -lmpichf90 -lmpichf90 -lmpich -lopa -lmpl -lrt -lcr -lpthread"
     # export MPILIBS_ADDITIONAL=" "
-    export MPIFC=/opt/mpich2-1.4.1-gcc-4.6.2/bin/mpif90 
+    export MPIFC=/usr/bin/mpif90
else
     # Intel compilers
     addpath PATH /opt/mpich2/bin
@@ -221,7 +221,7 @@
     # export MPILIBS_ADDITIONAL="-L/opt/mpich2/lib -lfmpich"
     export MPILIBS_ADDITIONAL=" "
     if [ "$platform" = 'intel64' ]; then
-        export MPIFC=/opt/mpich2-1.0.8-intel64/bin/mpif90 
+        MPIFC=/usr/bin/mpif90
     fi
fi
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Thanks for that post João. That looks helpful.

Here's a question for all that might be silly.. but I'm new to Ubuntu and Delft3d so I will ask it:

My D3D install is working great on Ubuntu 11.10. Ubuntu wants me to update to the new Ubuntu 12.04.
Will updating cause my installed D3D to stop working?
Will I have to recompile D3D again under the new 12.04?
Does anyone have recommendations?
Should I stay with 11.10 since my D3D works great, or ..
should I update to the new hotness with hopes that my life will be better?


Thanks in advance for sharing your wisdom.
JL
João Lencart e Silva, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 71 Join Date: 3/30/11 Recent Posts
Hi Shawn,

Sorry for the late reply... There should be a "follow" button on messages in this forum....

I upgraded to 12.04 LTS but I can't recall if I had to re-build D3D. If I did it worked without any hiccups.

João.
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
I updated the Ubuntu to 12.04 from 11.10 and now my D3D GUI "Start" button won't work!

The binaries still run models from the command prompt.
The GUI /opt/ and /etc/ files are all still in the appropriate locations. *However, the update seems to have added a file called "bash_completion.sh" in the /etc/profile.d/ directory (weird!).

What should I do to get the GUI "start" button to work again?



Please help!
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Looking into this problem a bit deeper..

I can generate an error message when trying to open QUICKIN or RGFGRID.
The error says (e.g. for RGFGRID):
Could not load a DLL,
DLL name = /opt/delft3d/inttel/plugins/bin/librgfgrid.so
Please check the plugins directory and the path environment variable


Obviously the DLL name string is not a valid path..
The plugins directory is actually /opt/delft3d/intel/plugins/bin/ and the libgrfgrid.so and libquickin.so are there with a few other files.
The path variable is set correctly.

Is it possible that the update from Ubuntu 11.10 to 12.04 tweaked something in the /opt/delft3d/intel/menu/ files?
Thinking this might be the case, I replaced all the contents of /opt/delft3d/ with freshly unpacked ones.. The problem continued.. only this time the error message indicated that the path string had changed to /pt/ instead of /opt/ ! :
Could not load a DLL,
DLL name = /pt/delft3d/inttel/plugins/bin/librgfgrid.so
Please check the plugins directory and the path environment variable



What??

Any ideas how to fix my D3D Install?

Again -
The buttons that do not work are:1
The flow/wave "Start" button,
"Start DD",
Batch > "Prepare"
Batch > "Prepare DD"
RGFGrid,
QUICKIN
and maybe more..

The only buttons that trigger a error message are the RGFGRID and QUICKIN.
Otherwise, nothing happens.

Also, the model binaries all still work when called from terminal.
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
FYI, I started over with Ubuntu 11.10.

I am still half interested to try again with 12.04 from the ground up.. maybe one day.
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
HI Shawn,

I had the exact problem when I upgraded from OpenSuse 12.1 to OpenSuse 12.2
In addition to your problems remoteOLV has the same path problem.
A search in the directories of the /opt/delft3d did not reveal anything. No string is hardcoded. I wonder if there is any incompatiblity at the glibc or other system library

Did anyone from Deltares look into this issue?

Thanks
Bogdan
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
I think I know that the problem is.
I suspect that the
runcmd.tcl
or
tclkit
is the culprit. If I run $D3D_HOME/$ARCH/plugins/bin/mfe_app $D3D_HOME/$ARCH/plugins/bin/librgfgrid.so rgfgrid the RGFGRID works fine.
However if I start d3d_menu and use the buttons it screws the path as explained above.
In addition the command

tclsh runcmd.tcl $D3D_HOME/$ARCH/plugins/bin/mfe_app $D3D_HOME/$ARCH/plugins/bin/librgfgrid.so rgfgrid


works perfectly. I tried with tclkit the same thing and it also works. Therefore none of the suspected items is at fault by itself. I cnages some paths in d3d_menu.ux and I noticed that d3d_menu reads this file in a funny way. I think that d3d_menu has some problems on newer systems. Since the dependency list is huge it is difficult to guess. Anyway everything points to this executable
high:/opt/delft3d/intel/menu/bin # ldd ./d3d_menu
linux-gate.so.1 (0xffffe000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xf76f9000)
libqt-mt.so.3 => /opt/delft3d/intel/lib/libqt-mt.so.3 (0x04e57000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xf76e6000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf75ac000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xf75a2000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xf7588000)
libdl.so.2 => /lib/libdl.so.2 (0xf7583000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf7531000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7445000)
libm.so.6 => /lib/libm.so.6 (0xf7419000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf73fa000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf73df000)
libc.so.6 => /lib/libc.so.6 (0xf7239000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf7203000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf7179000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf716d000)
libmng.so.1 => /opt/delft3d/intel/lib/libmng.so.1 (0x00226000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xf7142000)
libz.so.1 => /lib/libz.so.1 (0xf712b000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf7122000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xf7117000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf7112000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf70ef000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0xf70e9000)
/lib/ld-linux.so.2 (0xf7756000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf70c0000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf70b9000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf70b5000)
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Hi,

I did more research, and I tried to change locales from UTF-8 to POSIX and others but no luck.
However, it is interesting that clicking on the faulty buttons, for example QUICKIN the message printing to the wrong path changes quite often, almost every time showing a different string path. I suspect that an initialization string somewhere that was working before by accident and that perhaps the new libc does not protect the fault anymore. Just throwing ideas, maybe one is good in the end.
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 3 Join Date: 9/20/11 Recent Posts
Hi Bogdan,

Thank you for your posts. It is reassuring to hear from others that this problem exists.
It is hard to have any idea how to solve the problem as the GUI is pre-compiled.

Is there any idea from Delft if/when the new version of the GUI will be released?
Any way to test a fix on this problem before fully updating the GUI?

Thanks,
Shawn
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Hi Shawn,

I believe that the problem is related to newer system libraries and maybe to some coding bugs which were hidden by default initialization in the older libraries. However, it is hard to tell if I cannot debug the code.
I wrote to support but I got no reply to my email. In general they are very slow to answer unless it is a paid incident or an easy fix for which they have an answer already. This is understandable.
I could help with debugging and probably is an easy fix as I identified the executable (d3d_menu) and where it happens ( reading the menu file *.ux)

There is a way around this but you need to go into /opt/delft3d/intel/menu/default/d3d_menu.ux and look at what menu item you want to start
for example for QUICKIN you will see:

command "$D3D_HOME/$ARCH/plugins/bin/mfe_app $D3D_HOME/$ARCH/plugins/bin/libquickin.so quickin"

you can start the application from the command line like this:
/opt/delft3d/intel/plugins/bin/mfe_app /opt/delft3d/intel/plugins/bin/libquickin.so quickin

or replace $D3D_HOME with where you installed the GUI files. In my case $D3D_HOME=/opt/delft3d/. The same goes for $ARCH=intel

You may need to run it as root, or change the ownership recursively on the $D3D_HOME to the user you are running under.

The same procedure can be used for all the other commands. Actually I am thinking to create a script which can launch all the menu items directly and get rid of the cumbersome d3d_menu.
I will see if I have some time to write the script in Python. It will solve all the problem we both are facing and it will work on any platform as well. It should be also future proof as it will read the d3d_menu.ux file which contains all the commands. I still hope that a fix will come so that I don't have to do it :-)

Bogdan
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 3 Join Date: 9/20/11 Recent Posts
Hi Bogdan,
Thanks for that info.
Again, my experience is in agreement with what you say here.

This Python stuff seems pretty powerful. If you need another user to test your menu substitute, I'm keen.

Thanks,
Shawn
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Hi Shawn,

Can you please change the flag from resolved to unresolved. Maybe because it is flagged as resolved it flies under the radar.

Bogdan
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Bogdan Hlevca:
Hi Shawn,

Can you please change the flag from resolved to unresolved. Maybe because it is flagged as resolved it flies under the radar.



I unchecked your answer as solved so that it shows now that it requires an answer.


Bogdan
U
Sérgio Larangeiro, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

I’m also using Ubuntu 12.04 and also faced the same problem. I tried to use fedora 17 but the same thing happened again. So I tried doing something to solve the problem. Taking in account previous posts, I opened the file:

/opt/delft3d/intel/menu/default/d3d_menu.ux

and inspecting it, I got the idea of putting more spaces (................) between the two sentences of the commands, maintaining both sentences in the same line:

command "$D3D_HOME/$ARCH/plugins/bin/mfe_app..............................$D3D_HOME/$ARCH/plugins/bin/librgfgrid.so rgfgrid"

command "$D3D_HOME/$ARCH/plugins/bin/mfe_app..............................$D3D_HOME/$ARCH/plugins/bin/libquickin.so quickin"

Then, I save the file and open the denft3d-menu and this time both RGFGRIG and QUICKIN options worked fine, lunching the application Delft3D-QUICKIN.

I don’t know if this is the definite solution of this problem, but it works for me, so I hope that this information could be helpful for everyone.

Best regards,
Sérgio
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Hi Sergio

That was brilliant. It works. I assume it has something to do with the way new libraries handle UTF8 text files. Probably the space is somehow ignored.
I noticed that is certain cases on extra space is enough and sometimes there are more needed. Perhaps is related to the length of the strings separated.
For example "ViewSel" requires more spaces than others. It works now as well.


There are actually more places where this spacing is needed.
And I found one more problem "gpp" is linked to libtcl8.4 and my system has libtcl8.5 there fore gpp does not work either. There is an easy fix making a soft link to the new one


sudo ln -sf /usr/lib/libtcl8.5.so /usr/lib/libtcl8.4.so

I tried GPP and it works. This was the last menu that did not respond.

Thanks for the find.

Bogdan
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Nice work Sergio!

It works on Ubuntu 12.04 too.

I went along just adding spaces in those really long commands.

A few things still don't work (or seem to do anything).. All things I don't typically use, but I'd thought I'd check to see if they work on your installation.

In the Flow/Tools Menu, nothing works.. same with links in the Wave/Tools Menu.
In Utils, ViewSel doesn't do anything either.

I tried that GPP fix that Bogdan suggested, because I too only have the libtcl8.5.so file. But I haven't been able to get GPP to do anything. To be honest with you, I've never used GPP and don't really know what it should do.. so I probably don't need it.

But, the spaces thing worked! And now the GUI performs mostly properly on Ubuntu 12.04!

Thanks guys,
Shawn
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Shawn,

You must put more spaces for the menus that don't work.
I went through the menu file several times until everything works including those you have mentioned that don't. Add more spaces and verify again.

For the GPP run /opt/delft3d/intel/gpp/bin/gpp and lert me know what you get

also do

ls -l /usr/lib/libtcl8.4.so

you should get something like:


lrwxrwxrwx 1 root root 21 Oct 19 15:49 /usr/lib/libtcl8.4.so -> /usr/lib/libtcl8.5.so


I suspect that you made the link in the lib64 directory but I may be wrong.

Anyway, keep in mind that all the menus work and should pop some window up even if it is very simple. If it does nothing go again to the menu file and add more spaces.
I got EVERYTHING working.

I guess that Deltares needs to do some work on their text parser in delft3d_menu application.

Good luck,
Bogdan
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
One more thing.: It appears that moving strings around affect the other menus.
I also noticed that sometimes some menus failed. For example if you click repeatedly on the button you can get one in a while the same known error.
However, if you add enough spaces you can make the menus work consistently.

You need to have a few iterations through the menu file until everything works without failing. You may still get some occasional misses, but generally looks good.

Bogdan
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Ok, I looked into it a bit further.. It seems like nothing that uses a .tcl wants to launch; neither from the GUI with any number of spaces in the command,
nor from the terminal .. except deltares_hydro.tcl will run from the terminal.
whenever i try to manually call the commands for a tcl file.. e.g.
e.g.
$D3D_HOME/$ARCH/menu/bin/d3dtmpl.tcl
/usr/bin/env: wish: No such file or directory

$D3D_HOME/$ARCH/menu/bin/runconsole.tcl
/usr/bin/env: wish: No such file or directory


I tried that soft link for the libtcl8.4.so dependency.. that didn't help the tcl files to run.
:~$  ls -l /usr/lib/libtcl*
lrwxrwxrwx 1 root root      21 Oct 20 13:13 /usr/lib/libtcl8.4.so -> /usr/lib/libtcl8.5.so
-rwxrwxrwx 1 root root 1149656 Dec 21  2011 /usr/lib/libtcl8.5.so.0

I also installed the tclsh 8.4 version, proper. Still no joy.. It gives the same error "

The GPP says:

:~$ /opt/delft3d/intel/gpp/bin/gpp
/opt/delft3d/intel/gpp/bin/gpp: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory


Also,
The Start button will allow me to set a runid but won't actually launch any runs.

preparing batch files doesn't work properly.. the windows open, but batch_hyd.sh isn't ever written.
I tried lots of spaces in there..
command "$D3D_HOME/$ARCH/menu/bin/tclkit $D3D_HOME/$ARCH/menu/bin/select_hyd.tcl -batch"



ANy ideas?
It seems like maybe I have a problem with tcl?

Cheers,
Shawn
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Ok let's try something else.

1) type at the command line "wish", a window should appear and at the command line a % prompt


bogdan@high:~> wish
%



2) do


$ cd /opt/delft3d/intel/gpp/bin/gpp
$ ldd ./gpp




you should get something like



bogdan@high:/opt/delft3d/intel/gpp/bin> ldd ./gpp
linux-gate.so.1 (0xffffe000)
libifport.so.5 => /opt/delft3d/intel/lib/libifport.so.5 (0xf76eb000)
libifcore.so.5 => /opt/delft3d/intel/lib/libifcore.so.5 (0xf7604000)
libimf.so => /opt/delft3d/intel/lib/libimf.so (0xf73e5000)
libsvml.so => /opt/delft3d/intel/lib/libsvml.so (0xf7311000)
libm.so.6 => /lib/libm.so.6 (0xf72e4000)
libirc.so => /opt/delft3d/intel/lib/libirc.so (0xf72a1000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7283000)
libdl.so.2 => /lib/libdl.so.2 (0xf727e000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7263000)
libXm.so.3 => /opt/delft3d/intel/lib/libXm.so.3 (0x00a8b000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xf7205000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf70cb000)
libtcl8.4.so => /usr/lib/libtcl8.4.so (0xf6fb8000)
libplplotd.so.9 => /opt/delft3d/intel/lib/libplplotd.so.9 (0xf6f7b000)
libxvtxmba570.so => /opt/delft3d/intel/lib/libxvtxmba570.so (0xf6e8a000)
libxvtxmhb570.so => /opt/delft3d/intel/lib/libxvtxmhb570.so (0xf6e6d000)
libxvtxmhi570.so => /opt/delft3d/intel/lib/libxvtxmhi570.so (0xf6e61000)
libexpat.so.0 => /opt/delft3d/intel/lib/libexpat.so.0 (0xf6e42000)
libc.so.6 => /lib/libc.so.6 (0xf6c9c000)
libintlc.so.5 => /opt/delft3d/intel/lib/libintlc.so.5 (0xf6c59000)
/lib/ld-linux.so.2 (0xf7758000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xf6c3e000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xf6c35000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xf6c1b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xf6c08000)
libXp.so.6 => /opt/delft3d/intel/lib/libXp.so.6 (0x00615000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf6be4000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf6b5a000)
libcsirocsa.so.0 => /opt/delft3d/intel/lib/libcsirocsa.so.0 (0xf6b54000)
libMrm.so.3 => /opt/delft3d/intel/lib/libMrm.so.3 (0x004e7000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0xf6b41000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xf6b15000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf6ac3000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0xf6abd000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf6ab9000)
libz.so.1 => /lib/libz.so.1 (0xf6aa2000)


see the highlighted line above about libtcl

Let's see what you get and we'll take it from there.

Bogdan
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Hi Bogdan,
Apologies for the late reply.. been swamped in the day job.

Anyway - First off, it turned out that I didn't even have the wish app.. So I did the old 'sudo apt-get install tk' manoeuvre.

Then wish worked fine..
Here is the result.. as you guessed 'libtcl8.4.so not found':

% ldd ./gpp
linux-gate.so.1 => (0xb777a000)
libifport.so.5 => /opt/delft3d/intel/lib/libifport.so.5 (0xb7758000)
libifcore.so.5 => /opt/delft3d/intel/lib/libifcore.so.5 (0xb7671000)
libimf.so => /opt/delft3d/intel/lib/libimf.so (0xb7451000)
libsvml.so => /opt/delft3d/intel/lib/libsvml.so (0xb737d000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb733d000)
libirc.so => /opt/delft3d/intel/lib/libirc.so (0xb72fa000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb72dc000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb72d6000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb72bb000)
libXm.so.3 => /opt/delft3d/intel/lib/libXm.so.3 (0x00a8b000)
libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb725f000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb712b000)
libtcl8.4.so => not found
libplplotd.so.9 => /opt/delft3d/intel/lib/libplplotd.so.9 (0xb70ed000)
libxvtxmba570.so => /opt/delft3d/intel/lib/libxvtxmba570.so (0xb6ffc000)
libxvtxmhb570.so => /opt/delft3d/intel/lib/libxvtxmhb570.so (0xb6fe0000)
libxvtxmhi570.so => /opt/delft3d/intel/lib/libxvtxmhi570.so (0xb6fd4000)
libexpat.so.0 => /opt/delft3d/intel/lib/libexpat.so.0 (0xb6fb4000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6e0a000)
libintlc.so.5 => /opt/delft3d/intel/lib/libintlc.so.5 (0xb6dc7000)
/lib/ld-linux.so.2 (0xb777b000)
libXmu.so.6 => /usr/lib/i386-linux-gnu/libXmu.so.6 (0xb6dae000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb6da5000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb6d8a000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb6d78000)
libXp.so.6 => /opt/delft3d/intel/lib/libXp.so.6 (0x00615000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6d57000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb6cbd000)
libcsirocsa.so.0 => /opt/delft3d/intel/lib/libcsirocsa.so.0 (0xb6cb6000)
libMrm.so.3 => /opt/delft3d/intel/lib/libMrm.so.3 (0x004e7000)
libXpm.so.4 => /usr/lib/i386-linux-gnu/libXpm.so.4 (0xb6ca4000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb6c7a000)
libjpeg.so.62 => /usr/lib/i386-linux-gnu/libjpeg.so.62 (0xb6c56000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb6c4f000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb6c4b000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6c44000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6c2e000)
%


However, as I mentioned before, i've got the libtcl8.4.so in the lib folder..
capt@midnite:~$ ls -l /usr/lib/libtcl*
lrwxrwxrwx 1 root root 21 Oct 20 13:13 /usr/lib/libtcl8.4.so -> /usr/lib/libtcl8.5.so
-rwxrwxrwx 1 root root 726308 Feb 25 2011 /usr/lib/libtcl8.4.so.0
-rwxrwxrwx 1 root root 1149656 Dec 21 2011 /usr/lib/libtcl8.5.so.0


How do I communicate this location to its dependees?

Thanks for your help,
Shawn
BH
Bogdan Hlevca, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04? (Answer)

Youngling Posts: 23 Join Date: 3/28/12 Recent Posts
Hi Shawn,

This is really simple

Your problem is that /usr/lib/libtcl8.4.so is not connected to /usr/lib/libtcl8.4.so.0

So you need to do:

Remove the existing link


sudo rm /usr/lib/libtcl8.4.so

Create the link back]

sudo ln -fs /usr/lib/libtcl8.4.so.0 /usr/lib/libtcl8.4.so


then check again the dependencies

ldd ./gpp


you should not see the
not found
anymore

Please let me know if it worked.


Bogdan
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04? (Answer)

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Hi Bogdan..
That worked well. Thanks for those magic "wish" manoeuvres
There's so much to learn with this linux stuff.

Now the GUI loads, every button does something, gpp works.

The only thing that is still not working properly (that I have found) is the actually launching models with the start button..
The pop-up window opens when start is pushed and asks for the input file, but then the model isn't launched after clicking ok..
It seems it is not correctly interpreting the command to run the model.

Thanks again,
Shawn
DN
Dan Nowacki, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04? (Answer)

Youngling Posts: 6 Join Date: 2/29/12 Recent Posts
Fantastic. I ran into this same problem on Ubuntu 12.04 LTS 64-bit. Adding the spaces fixed the issue. The error in my DLL path was "inttel" instead of "intel". Thanks.

I've put together some installation notes on a fresh Ubuntu 12.04 64-bit install, if anyone is interested.
SH
Shawn Harrison, modified 8 Years ago.

RE: Any joy with Ubuntu 12.04?

Padawan Posts: 70 Join Date: 6/25/12 Recent Posts
Thanks Dan, for the installation notes. This should be very helpful for others.

Shawn