Skip to content

Instantly share code, notes, and snippets.

@martijngastkemper
Last active August 29, 2015 14:14
Show Gist options
  • Save martijngastkemper/45f5c1724a63f650fe1c to your computer and use it in GitHub Desktop.
Save martijngastkemper/45f5c1724a63f650fe1c to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# This script is an example for running Delft3D-FLOW
# Adapt and use it for your own purpose
#
# adri.mourits@deltares.nl
# 27 Dec 2010
#
#
# This script starts a single-domain Delft3D-FLOW computation on Linux
#
#
# Set the config file here
#
argfile=config.xml
#
# Set the directory containing delftflow.exe here
#
export ARCH=lnx
export D3D_HOME=delft3d/bin
exedir=$D3D_HOME/$ARCH/flow2d3d/bin
#
# No adaptions needed below
#
# Set some (environment) parameters
export LD_LIBRARY_PATH=$exedir:$LD_LIBRARY_PATH
# Run
$exedir/d_hydro.exe $argfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment