Difference between revisions of "Installation/Windows/Outdated/Cross Compiling OpenFOAM 1.7 in Linux For Windows with MinGW"

From OpenFOAMWiki
(Created page with 'Stub... = History = ~~~~ - Page created... content will be inserted when available...')
 
Line 1: Line 1:
Stub...
+
'''Under construction...'''
 +
 
 +
The parent page of this page is [[Tip Cross Compiling OpenFOAM in Linux For Windows with MinGW]] - please visit it for more information.
 +
 
 +
= Introduction =
 +
This is an exhaustive step by step guide on how to '''<u>fully</u>''' cross-compile OpenFOAM 1.7.0 in Linux for Windows, for both 32 and 64 bits architectures (from and to), using the patches available [[:Media:PatchesNBatches17.tar.gz|here]]. '''NOTE''': for cross-compiling in Cygwin for Windows, see the section [[Tip_Using_Cygwin_for_cross-compiling_OpenFOAM|Using Cygwin for cross-compiling OpenFOAM]].
 +
 
 +
These patches are a continuation of the ones for OpenFOAM 1.6.0 (see [[Tip Cross Compiling OpenFOAM 1.6 in Linux For Windows with MinGW|Cross Compiling OpenFOAM 1.6 in Linux For Windows with MinGW]]). These are now based on [http://www.symscape.com Symscape's] "v11" patch for OpenFOAM 1.6.x available [http://www.symscape.com/openfoam-1-6-x-on-windows-64-mpi here]. For a brief description on the differences between the patches on this page and the ones on Symscape's page, see [[Tip_Cross_Compiling_OpenFOAM_in_Linux_For_Windows_with_MinGW#Introduction|the Introduction chapter page on the parent page]].
 +
 
 +
With this guide and available patches, you should be able to cross-compile the '''whole and complete''' OpenFOAM libraries and applications, using MPICH2 instead of Open MPI for parallel computing. Currently you can cross-compile using [http://sourceforge.net/projects/mingw-w64/ mingw-w64] for both 32 and 64 bit versions. These enable you to build OpenFOAM 1.7.0 for Windows 32 and 64 bit versions, from Linux 32 and 64bit architectures. See the chapter [[#Notes on what doesn't work and why|Notes on what doesn't work and why]], for information on things that don't work properly.
 +
NOTE: The old build scripts from the 1.6 version are still available on these patches, although not tested yet, and should also allow you to build with [http://www.mingw.org mingw32]. For more information about them, see [[Tip Cross Compiling OpenFOAM 1.6 in Linux For Windows with MinGW#http://openfoamwiki.net/index.php/Tip_Cross_Compiling_OpenFOAM_1.6_in_Linux_For_Windows_with_MinGW#Build_the_cross_compiler|the 1.6 patch version page, chapter Building the cross-compiler]].
 +
 
 +
Versions these patches apply to:
 +
{{version1.7}}
 +
 
 +
Other versions and common information to all MinGW cross-compiled versions is available in the page [[Tip Cross Compiling OpenFOAM in Linux For Windows with MinGW]].
 +
 
 +
Support for this page is available at OpenFOAM's forum [http://www.cfd-online.com/Forums/openfoam-installation-windows/72813-cross-compiling-openfoam-1-6-linux-windows-32-64bits-mingw-w64.html here].
 +
 
  
 
= History =
 
= History =
[[User:Wyldckat|Wyldckat]] 15:48, 22 July 2010 (UTC) - Page created... content will be inserted when available...
+
[[User:Wyldckat|Wyldckat]] 15:48, 22 July 2010 (UTC) - Page created... content will be inserted periodically over the next hours...

Revision as of 17:16, 22 July 2010

Under construction...

The parent page of this page is Tip Cross Compiling OpenFOAM in Linux For Windows with MinGW - please visit it for more information.

1 Introduction

This is an exhaustive step by step guide on how to fully cross-compile OpenFOAM 1.7.0 in Linux for Windows, for both 32 and 64 bits architectures (from and to), using the patches available here. NOTE: for cross-compiling in Cygwin for Windows, see the section Using Cygwin for cross-compiling OpenFOAM.

These patches are a continuation of the ones for OpenFOAM 1.6.0 (see Cross Compiling OpenFOAM 1.6 in Linux For Windows with MinGW). These are now based on Symscape's "v11" patch for OpenFOAM 1.6.x available here. For a brief description on the differences between the patches on this page and the ones on Symscape's page, see the Introduction chapter page on the parent page.

With this guide and available patches, you should be able to cross-compile the whole and complete OpenFOAM libraries and applications, using MPICH2 instead of Open MPI for parallel computing. Currently you can cross-compile using mingw-w64 for both 32 and 64 bit versions. These enable you to build OpenFOAM 1.7.0 for Windows 32 and 64 bit versions, from Linux 32 and 64bit architectures. See the chapter Notes on what doesn't work and why, for information on things that don't work properly. NOTE: The old build scripts from the 1.6 version are still available on these patches, although not tested yet, and should also allow you to build with mingw32. For more information about them, see the 1.6 patch version page, chapter Building the cross-compiler.

Versions these patches apply to:

OF version 17.png

Other versions and common information to all MinGW cross-compiled versions is available in the page Tip Cross Compiling OpenFOAM in Linux For Windows with MinGW.

Support for this page is available at OpenFOAM's forum here.


2 History

Wyldckat 15:48, 22 July 2010 (UTC) - Page created... content will be inserted periodically over the next hours...