Compilation with Ubuntu - Forum - Delft3D
Forum
- Home
- 3. Archive
- General
- Compilation on Linux
- Compilation with Ubuntu
Compilation with Ubuntu
Compilation with Ubuntu
Youngling Posts: 5 Join Date: 4/22/15 Recent PostsI tried in several ways to compile delft3d code in windows but was unsucessful. I'm newbie to this kind of approach. I'm unable to work out with it.
Hence, I have installed Ubuntu 16 and downloaded the 6906 tag.
Followed all the instructions given in build_ubuntu.16.04LT.readme file (Thanks for this elaborative help)
But, I'm again not successful in getting bin directory...
My build is finally failed again....

But this time dont want to give up.
I beg everyone to help me in this regard.. Pls show me a right way !!
best regards
Arun
(Attached the log files)
Attachments:
RE: Compilation with Ubuntu
Padawan Posts: 97 Join Date: 1/3/11 Recent PostsCompiling on Windows is much easier than compiling on Linux.
In case you do want to continue on Linux: Please have a look at the following two files in https://svn.oss.deltares.nl/repos/delft3d/tags/6906/src/ :
build_ubuntu.16.04LT.readme
build_ubuntu1604.sh
Regards,
Adri
RE: Compilation with Ubuntu
Youngling Posts: 5 Join Date: 4/22/15 Recent PostsThanks for the reply. Infact, I tried with the same file as you suggested. I couldn't get executables.
Please find the attached logs.
best regards
Arun
RE: Compilation with Ubuntu
Padawan Posts: 97 Join Date: 1/3/11 Recent PostsAs your make.log file states: mpif90 does not exist.
Are you using an mpich version compiled with exactly the same compiler as you use for compiling Delft3D? Most probably you have to download the mpich source code and compile it yourself. That should at least produce mpif90.
Please check the FAQ and the prerequisites.
Are you sure you don't want to compile on Windows?
Regards,
Adri
RE: Compilation with Ubuntu
Youngling Posts: 5 Join Date: 4/22/15 Recent PostsTo be frank I have no licensed softwares with me to compile. Although Delft3D is opensource, the requirement of additional licensed softwares like Visual studio and Intel fortran makes the model indirectly a commercial software dependent. In our regular duties, we have no usage of such softwares, hence our institute never agrees to buy them..
As you compile all the codes at delft3d, why don't you give the compiled binaries along with the source code?? I can't understand ! Compiling the source code will never enhance our thinking to apply the model for any coastal applications. I believe it is purely a job of a programming specialist..

That's why I don't want to use windows for compiling Delft3D.
I am trying to compile the software in Ubuntu, but my inexperience in dealing with linux based softwares lagging me ..
Anyway, will try until I get through it.!
regards
Arun
RE: Compilation with Ubuntu
Youngling Posts: 5 Join Date: 12/19/18 Recent PostsHi Arun,
Since your last post is almost a year old I would like to know if you have been able to compile Delf3D under Ubuntu. I am using Ubuntu 18.10 and try to install the software as well.
My last try ended up with a broken Linux system, since the installation was moving around some binary files used for Ubuntu.
Some time ago I installed TELEMAC without any problems on Ubuntu and it seems that the prerequisites are almost the same. Instead of using Intels compiler you can use open source versions ans gnu compiler - most of them come with Ubuntu or are easy to install via "apt-get install".
I have some experience compiling software on Ubuntu, but it seems, that Delft3D needs quite a lot of libraries, which does not come standard with Ubuntu, but this should not be a problem. I am quite convinced that it is possible to get the system running on Ubuntu.
Would you be willing to share your experience so far and work together with me finding a solution. Maybe we could also write a small manual for future usage?
Best regards,
Clemens