BlueM.Sim compilation: Difference between revisions

From BlueM
Jump to navigation Jump to search
(Compiler settings - deleting and parallelisation)
Line 19: Line 19:
The following build configurations for BlueM.Sim are defined in the project file:
The following build configurations for BlueM.Sim are defined in the project file:
* '''Debug''': Debug version, no optimizations
* '''Debug''': Debug version, no optimizations
* '''OpenMP''': Debug version with [[OpenMP]] processing (experimental)
* '''Release''': Full optimization, requires processor supporting Intel<sup>®</sup> Streaming SIMD Extensions 2 (Intel<sup>®</sup> SSE2). Auto parallelisation (with threshold 90) ON
* '''Release''': Full optimization, requires processor supporting Intel<sup>®</sup> Streaming SIMD Extensions 2 (Intel<sup>®</sup> SSE2)
* '''Release_AllProcessors''': Full optimization, for generic IA-32 architectures (older processors) (Bug 442). Auto parallelisation OFF
* '''Release_openMP''': As Release, but with [[OpenMP]] processing (experimental)
* '''Release_AllProcessors''': Full optimization, for generic IA-32 architectures (older processors) (Bug 442)


==Compilation in Eclipse==
==Compilation in Eclipse==

Revision as of 14:01, 21 September 2011

BlueM_icon.png BlueM.Sim | Downloads | Application | Theory | Development

Compilation

BlueM.Sim is written in FORTRAN. Additional components such as BlueM.DLLAdapter and Wave are written in C# and VB.NET.

Requirements for compiling BlueM.Sim:

Compiler settings

Use Bytes as RECL

Compiler-Einstellungen (Flags), die zur erfolgreichen Kompilierung erforderlich sind.

  • /assume:byterecl
Damit Intel Fortran bei unformatierten Dateien (wie den Zeitreihen im BIN-Format) die Record-Länge als bytes und nicht als 4-byte Einheiten (longwords) interpretiert, muss folgender Flag gesetzt werden: "Use Bytes as RECL unit for unformatted files: Yes" (siehe Bild)

Build configurations

The following build configurations for BlueM.Sim are defined in the project file:

  • Debug: Debug version, no optimizations
  • Release: Full optimization, requires processor supporting Intel® Streaming SIMD Extensions 2 (Intel® SSE2). Auto parallelisation (with threshold 90) ON
  • Release_AllProcessors: Full optimization, for generic IA-32 architectures (older processors) (Bug 442). Auto parallelisation OFF

Compilation in Eclipse

Eclipse screenshot

Bisher ist es noch nicht gelungen, BlueM.Sim erfolgreich in Eclipse zu kompilieren. Hier eine vorläufige (inkomplette) Anleitung:

Installation:

Eclipse Einstellungen:

  • Project Properties: Binary Parser: PE Windows Parser (für Syntaxfehlererkennung)
  • Debug As...: C/C++ Local Application: Debugger: Cygwin gdb Debugger und Pfad zu gdb.exe angeben

Es ist (theoretisch) auch möglich, den Intel Fortran Compiler/Debugger in Eclipse einzubinden.