OpenMI goes Linux

secrettownpanamanianMobile - Wireless

Dec 10, 2013 (4 years and 22 days ago)

117 views

Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 1
OpenMI goesLinux
OATC Meeting,
April 2008 in Delft,
Peter Schade (
peter.schade@baw.de
)
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 2
NumericalModels at BAW-DH
UnTRIM : 2D and 3D finite difference method for unstructured orthogonal grids
SediMorph: morphodynamicmodel which simulates
the physical processes in the soil
Delft3D : integratedmodellingsystemDelft3D
MIKE-11 : 1D (cross-sectionallyaveraged) finite differencemodel
TELEMAC-2D : 2D (depthaveraged) finite elementmodel
TELEMAC-3D : 3D (depthaveraged) finite elementmodel
SWAN : third-generation spectral wave model (Delft University of Technology)
K-Model: a spectral wave model for unstructured orthogonal grids
TRIM-2D : two-dimensional(depthaveraged) finite differencemodel
TRIM-3D : 3D finite differencemodelusingthenon-hydrostaticpressure
on Windows PCs
themajorityof modelsrunson Unix / Linux systems
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 3
Workflowat BAW-DH
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 4
Model Hardware
Computer
CPU
OS
Comment
5 PCs
Dual Core
Windows
Reservedfor
Delft3D
SGI Altix3700
Intel Itanium
64bit Linux
(SLES 9 SP3)
Sharedmemory
SGI AltixXE 1300
66 * 2 Intel Xeon
QuadCore
64 bitSuse Linux
(SLES 10)
Cluster
Linux Workstation
XeonDual Core
32 / 64 Suse Linux
(SLED10)
Test systemfor
OpenMI
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 5
Motivation forLinux/ Mono
Linux is a precondition for access to more numerical models.
Especially at BAW: models on Linux systems run with
a higher performance.
Mono enables the user to run .NET on Linux, MacOSand even
Microsoft Windows systems.
Mono seems to be a mature project with an ongoing development.
Linux and Mono are open source.
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 6
* Workstation with SLED 10 and 64 bitsupport
Mono 1.0
Mono 2.0
NUnitConsole1.0
NUnitConsole2.0
(NUnitGUI ismissing)
(theIDE MonoDevelopismissing)
InstalledTools on Linux WS*
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 7

selection of a Mono Compiler and a NUnitversion

whichOpenMI versionissuitableforMono?
OpenMI goesLinux –TodoList 1

compilationof GUI-lessOpenMI-DLLs
compilationof GEIWrapper (WLDelft Wrapper?)
compilationof OpenMI-DLLswith GUIs
test of theC#-partwith NUnit

generationof Fortransharedlibraries, e.g. gei.xe.sl
test of thegei.xe.sl

test of a WLDelft Wrapper –GEIWrapper composition
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 8
Ifthetestsaresuccessful, theMono specificcodewill haveto be
integrated
into the OpenMI main line.
OpenMI goesLinux –TodoList 2
“There are several approaches to porting code, depending on your
goals:
The unsupported code can simply be removed or commented out if it
is not needed.
Compiler conditional directives (#if) can be used to create separate
executables for .Net and Mono.
The runtime (.Net or Mono) can be detected and use different code.
The code can be rewritten to use supported methods in Mono.”
from http://www.mono-project.com/Guide:_Porting_Winforms_Applications
Federal WaterwaysEngineering and Research Institute (BAW) Karlsruhe HamburgIlmenau
BAW -DH / 2008-04 K3 Folie-Nr. 9
“OpenMI goes Linux”is feasible
projecthas startedyesterday
BAW needsanotherLC in order
to runcompletecompositions
hopefullysmallstepforthedeveloper…
Resumee