bug message reminder

When adressing a model crash or bug, please remember to include an entire model setup in your post that reproduces the crash or exposes the bug. Also add the XBlog.txt file. This is necessary information for people that are trying to help you. Including your model setup can be achieved by adding the zipped run directory (excluding output) as an attachment to the post.

Forum

RE: Setting up XBeach-Linux- parallel

RB
Roham Bakhtyar, modified 3 Years ago.

Setting up XBeach-Linux- parallel

Capillary Posts: 3 Join Date: 5/3/16 Recent Posts
I would like to model storm impacts on beaches and dunes (both hydrodynamics and morphodynamics). It will be appreciated if you could help me on the topic of setting up XBeach for the Linux system and also in parallel framework.
Arnold van Rooijen, modified 3 Years ago.

RE: Setting up XBeach-Linux- parallel

Swell Posts: 239 Join Date: 11/7/11 Recent Posts
Hi Roham,

You can access the source code via https://svn.oss.deltares.nl/repos/xbeach/trunk/ using your oss-login. For compiling the software, that depends strongly on the system you are intending to use it on since it varies a bit among different Linux distributions and (high performance) computer systems. Perhaps it would be useful for you to watch the webinar "How to compile Delft3D on Linux" (https://oss.deltares.nl/web/delft3d/webinars). Although it is focused on Delft3D, the steps are very similar for XBeach.

If you want to use a computer cluster or HPC, best is to ask your IT people for advice, they would probably be able to help you further.

Hope this helps

Cheers,
Arnold
RB
Roham Bakhtyar, modified 3 Years ago.

RE: Setting up XBeach-Linux- parallel

Capillary Posts: 3 Join Date: 5/3/16 Recent Posts
Hi Arnold,
I guess the best option of Xbeach for us is “pre-compiled executables” that includes “MPI + netCDF” on Linux.
1- If I choose to download pre-compiled executables, then I do not need to compile it, right?
2- Should I download from the following page?
http://content.oss.deltares.nl/xbeach/testbed/bin/
(xbeach_4934_x64_mpi_netcdf.zip) ?
and just copy and paste it on my Linux cluster?
Thanks, Roham
Arnold van Rooijen, modified 3 Years ago.

RE: Setting up XBeach-Linux- parallel

Swell Posts: 239 Join Date: 11/7/11 Recent Posts
Hi Roham,

Unfortunately we can't put pre-compiled Linux versions of XBeach on the website because every system is slightly different. For WIndows this is different, so all executables on the website are WIndows executables.

Best is to get the source code and get in touch with your local IT support, they can probably help you compile it on your system.

Cheers,
Arnold
HE
Hisham Elsafti, modified 3 Years ago.

RE: Setting up XBeach-Linux- parallel

Capillary Posts: 10 Join Date: 2/8/16 Recent Posts
Hello,

These steps worked for me:

Compile under Linux

To download the source code and compile it for parallel run on Linux, consider the following steps:

1. Install the following (Ubuntu/Debian)


$ sudo apt-get install subversion automake autoconf gfortran libnetcdf-dev libtool python-pip libopenmpi1.5-dev



2. Install the mako Python package


$ sudo pip install mako



3. Download the code


$ svn --username YOURNAMEonThisWebSite co https://svn.oss.deltares.nl/repos/xbeach/trunk



Then give password!

4. Issue the configure script and configure the Makefile


$ libtoolize --force
$ aclocal
$ autoheader
$ automake --force-missing --add-missing
$ autoconf
$ ./configure --with-mpi



5. Compile


$ make



6. Install


$ sudo make install



7. Download the Matlab files from the OpenEarth project


$ svn co https://svn.oss.deltares.nl/repos/openearthtools




Best regards
Arnold van Rooijen, modified 3 Years ago.

RE: Setting up XBeach-Linux- parallel

Swell Posts: 239 Join Date: 11/7/11 Recent Posts
Thanks for this, Hisham. I copied your instructions to a new thread so it is easier for people to find (see http://oss.deltares.nl/web/xbeach/forum/-/message_boards/view_message/1003831).

Cheers,
Arnold
HE
Hisham Elsafti, modified 3 Years ago.

RE: Setting up XBeach-Linux- parallel

Capillary Posts: 10 Join Date: 2/8/16 Recent Posts
Sure thing!! :-)
QN
Quynh Nguyen, modified 2 Years ago.

RE: Setting up XBeach-Linux- parallel

Capillary Posts: 6 Join Date: 7/19/17 Recent Posts
Hi Hisham!
Can you help me run XBeach models on linux (debian)? And steps by steps to run models on linux.
I'm student and I am preparing for graduation thesis.
please help me!
Sorry I'm quite bad English
TA
Thomas Arakaki, modified 1 Month ago.

RE: Setting up XBeach-Linux- parallel

Capillary Posts: 1 Join Date: 11/8/19 Recent Posts
Using the mathematical model of XBeach, lithodynamic processes in the coastal zone were studied.
Very useful service program.