Forum

Compilation on Ubuntu 18.10

Clemens Klante, modified 6 Years ago.

Compilation on Ubuntu 18.10

Youngling Posts: 5 Join Date: 12/19/18 Recent Posts

When compiling under Ubuntu 18.10 I am getting this issue when running ./configure

checking for NETCDF... no
configure: error: Package requirements (netcdf) were not met:

No package 'netcdf' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

I could not find a package which is netcdf or any other related package. What package is needed to install Delft3D?

thumbnail
Adri Mourits, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts

Hi Clemens,

You can download NetCDF from Unidata.

Use exactly the same C++ and Fortran compiler to build NetCDF and Delft3D. Please check in case of using a precompiled distribution. See also our prerequisites.

Regards,

Adri

Clemens Klante, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Youngling Posts: 5 Join Date: 12/19/18 Recent Posts

Hi Adri,

 

thanks for your answer. First I tried to install Delft3D following this tutorial which lead me to the problem regarding NetCDF. Now I tried to install it using the build_ubuntu.16.04LT.readme file in the /src/ folder and get another error.

make: *** [Makefile:547: install-recursive] Error 1

Which I can not really understand.

It seemed quite strange to me to install the libraries under /home/user/Downloads/libraries/ and after a restart my system does not want to reboot again. Need to fix this first.

Is there maybe a detailed installation tutorial for Delft3D? Would like to use one for my next try, when my system is fixed again.

Thanks in advance

- Clemens

thumbnail
Adri Mourits, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts

Hi Clemens,

Ubuntu is not our standard platform. But there is additional information available: Folder "https://svn.oss.deltares.nl/repos/delft3d/trunk/src" contains two text files with the name build_ubuntu*. They might be a bit outdated, but they still will be helpful. If you notice possible updates for these files, please post them here, then I will commit them.

Thanks.

Regards,

Adri

 

Clemens Klante, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Youngling Posts: 5 Join Date: 12/19/18 Recent Posts

Hi again,

I will do so if I am able to. Just for me to know and to compare to, which distribution in the standard platform you support the most?

Regards,

Clemens

thumbnail
Adri Mourits, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts

Hi Clemens,

CentOS. CentOS versions are basicly clones of Stable RedHat versions.

Regards,

Adri

Clemens Klante, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Youngling Posts: 5 Join Date: 12/19/18 Recent Posts

Hi Adri,

thanks for the information. CentOS and Ubuntu are a bit different, but that should not be the problem. Could fix my computer and will start all over again.

A question regarding the SVN repository. If I see it correctly there is just the /trunk version available for download. Is this the stable version?

Regards,

Clemens

thumbnail
Adri Mourits, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts

Hi Clemens,

Stable versions are in https://svn.oss.deltares.nl/repos/delft3d/tags/, see als download source code. The best way to start is by downloading the latest stable version, currently for Delft3D 4 (structured grid): https://svn.oss.deltares.nl/repos/delft3d/tags/delft3d4/62441/

and for Delft3D FM (Flexible mesh): https://svn.oss.deltares.nl/repos/delft3d/tags/delft3dfm/62800/

Regards,

Adri

Dmitry Kushnir, modified 6 Years ago.

RE: Compilation on Ubuntu 18.10

Youngling Posts: 20 Join Date: 11/9/12 Recent Posts

Hi Clemens,

I had no problems compiling Delft3D version 7545 (https://svn.oss.deltares.nl/repos/delft3d/tags/delft3d4/7545) on Ubuntu 16.10 in the past. Since that revision many things have changed though, e.g. a D-FLOW-FM kernel was added (but no GUI for this model yet available), a new model launcher dimr was developed etc. Nevertheless, I suggest you to start from the tagged version 7545. Read this post (have a look at Installing_Delft3D.txt), the compilation procedure is explained step by step there. Also browse through the build_ubuntu-files in the src-folder as Adri suggested. I expect compiling Delft3D on Ubuntu 18.10 is pretty much similar to the compiling on Ubuntu 16.10.

Hope this will be a little help.

 

Regards,

Dmitry