Presentation is loading. Please wait.

Presentation is loading. Please wait.

BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / 2014-04 Folie-Nr. 1 Peter Schade, OpenMI Goes Linux.

Similar presentations


Presentation on theme: "BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / 2014-04 Folie-Nr. 1 Peter Schade, OpenMI Goes Linux."— Presentation transcript:

1 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr. 1 Peter Schade, OpenMI Goes Linux OpenMI 2.0 Talk at the BAW in Hamburg 8 th of September 2009

2 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr. 2 Overview OpenMI goes Linux 1. Status Quo of BAW Hardware, OpenMI versions and Mono 2. Portation of the OpenMI from Windows to Linux by Mono 3. Perspectives

3 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Status Quo of BAW hardware, OpenMI versions and Mono

4 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Status Quo BAW Model Hardware Majority of models at BAW runs on Linux systems OpenMI-Linux test system

5 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr OpenMI 1.4 C# and Java Version FeatureC# for MS.NETJavaC# for Mono PlatformsWindowsLinux,Solaris, Mac OS X,Windows ? GUI+-? Statusprofessional ? Examples of OpenMI compliant models Delft3D, InfoWorks, ISIS, Mike11, Mike SHE, RiSH, RMM, Sobek, SWIS, Waqua, GEI, ZOOMQ3D,... JGrass, Capri, SSIM, Apes, MetaSwap ? personal code history ??? ??

6 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr What is Mono? It contains the compiler gmcs the IDE MonoDevelop the Common Language Runtime (CLR, comparable with JavaRE)

7 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr What is Mono? It contains the compiler gmcs the IDE MonoDevelop the Common Language Runtime (compar. With JRE)

8 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr What is Mono? part of the Linux distributions of Fedora SUSE Ubuntu … It contains the compiler gmcs the IDE MonoDevelop the Common Language Runtime (compar. With JRE)

9 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Portation of the OpenMI from Windows to Linux by Mono

10 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Portation of OpenMI Environment 1 OpenMI Standard What has been ported to Mono C#? See Portation Guidelines on the OpenMI Wiki: C# models of the Examples area SDK, the toolkit Configuration Editor, the GUI Annotations easy portation, some MS dlls could even be interpreted on Mono Common Language Runtime some problems with namespaces, ressource files *.resx, graphic formats; apart from filters all has been ported

11 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Portation of OpenMI Environment 2 Courtesy Rob Knapen from Alterra The dlls were compiled and successfully tested under SUSE SLED 11. Second test of the same dlls on the Mono CLR of Ubuntu 9.04: Download of OpenMI environment from SourceForge

12 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Portation of a LinkableComponent... consisting of a Fortran Engine and a C# Wrapper See Guidelines on the OpenMI Wiki

13 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Portation of a Fortran Engine … Intel compiler bug with dlls caused minor changes in the code updated code could be compiled on Windows as well as on Linux Linux and Windows compiler were both Intel compilers the generated shared library (dll) is planned to be re-used as a reader of BAW files for visualisation software Davit … to Linux

14 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Portation of a C# Wrapper Most of the ported code runs on Windows as well. But a severe Mono bug with accessing Fortran strings -> workaround: Microsoft C# Wrapper and Mono C# Wrapper should differ in that point. The C# Wrapper does not work with parallel Fortran code for HPC; Mono compiler does not support parallel computing. MPI.NET is a commercial product which should enable parallel code for Mono. IDE MonoDevelop not as powerful and well documented as MS Visual Studio Recommendation: Develop in MS Visual Studio.NET and port the results. … to Mono

15 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr. 15 OpenMI Link Reader Component GEIWrapper Simple C# River Model 2. Test case: Reader and Model Initial Data Sources, Sinks Free Surface e.g. Waterlevel Initial Data Open Boundary C# Model the ported OpenMI has a research status

16 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Screenshot: Reader and Model

17 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Perspectives

18 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Perspectives for Mono sustainability: future of Mono as an open source projec Microsoft make C# patent promise to unblock Mono ongoing development of Mono support of parallel Fortran? Mono dlls are interpreted on several platforms with a Mono Common Language Runtime

19 BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / Folie-Nr Perspectives for Linux OpenMI OpenMI environment runs stable at least on SUSE Linux Component: guidelines for portation on OpenMI-Wiki Fortran engine GEI: small changes new possibilities to integrate GEI and GEIWrapper Portation of C# Wrapper: few changes


Download ppt "BUNDESANSTALT FÜR WASSERBAU Karlsruhe Hamburg Ilmenau BAW - DH / 2014-04 Folie-Nr. 1 Peter Schade, OpenMI Goes Linux."

Similar presentations


Ads by Google