TestWyldckat

From OpenFOAMWiki
Revision as of 15:32, 10 November 2009 by Wyldckat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Introduction

This is a step by step guide on how to cross-compile OpenFOAM in Linux for Windows, for both 32 and 64 bits architectures (to and from), using the patches available File:PatchesNBatches.tar.gz.

These patches were based on Symscape's "v3" patch for OpenFOAM available [1]. They differ substantially from that patch, as well as the more recent one available [2]. The build scripts for [3] were also based on the build-script available on the 1.5.x link.

With this guide and available patches, you should be able to cross-compile the whole OpenFOAM library and applications, using MPICH2 instead of Open MPI for parallel computing. You can cross-compile using [4] and/or [5]. These enable you to build OpenFOAM 1.6 for Windows 32 and 64 bit versions, from Linux 32 and 64bit architectures.

2 Get OpenFOAM packages