README: updated

This commit is contained in:
Henry Weller
2015-11-07 21:44:16 +00:00
parent 2ccce19f01
commit 8f0ee0c31e
2 changed files with 41 additions and 20 deletions

View File

@ -3,8 +3,8 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<title>OpenFOAM-dev Third-Party packages</title> <title>OpenFOAM-3.0.x Third-Party packages</title>
<!-- 2015-10-23 Fri 17:30 --> <!-- 2015-11-03 Tue 17:54 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" /> <meta name="generator" content="Org-mode" />
<style type="text/css"> <style type="text/css">
@ -136,7 +136,7 @@ for the JavaScript code in this tag.
</head> </head>
<body> <body>
<div id="content"> <div id="content">
<h1 class="title">OpenFOAM-dev Third-Party packages</h1> <h1 class="title">OpenFOAM-3.0.x Third-Party packages</h1>
<div id="table-of-contents"> <div id="table-of-contents">
<h2>Table of Contents</h2> <h2>Table of Contents</h2>
<div id="text-table-of-contents"> <div id="text-table-of-contents">
@ -158,7 +158,7 @@ for the JavaScript code in this tag.
</li> </li>
<li><a href="#sec-4">4. Notes</a> <li><a href="#sec-4">4. Notes</a>
<ul> <ul>
<li><a href="#sec-4-1">4.1. Building ParaView-4.3.1</a></li> <li><a href="#sec-4-1">4.1. Building ParaView-4.3.1/4.4.0</a></li>
<li><a href="#sec-4-2">4.2. Building ParaView-4.1.0</a></li> <li><a href="#sec-4-2">4.2. Building ParaView-4.1.0</a></li>
</ul> </ul>
</li> </li>
@ -228,7 +228,7 @@ The minimum version of gcc required is 4.5.0
<h3 id="sec-3-2"><span class="section-number-3">3.2</span> Parallel Processing</h3> <h3 id="sec-3-2"><span class="section-number-3">3.2</span> Parallel Processing</h3>
<div class="outline-text-3" id="text-3-2"> <div class="outline-text-3" id="text-3-2">
<ul class="org-ul"> <ul class="org-ul">
<li>OpenMPI: <a href="http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.5.tar.bz2">http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.5.tar.bz2</a> <li>OpenMPI: <a href="http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.bz2">http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.bz2</a>
</li> </li>
<li>Scotch/PtScotch: <a href="https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz">https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz</a> <li>Scotch/PtScotch: <a href="https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz">https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz</a>
</li> </li>
@ -241,7 +241,7 @@ The minimum version of gcc required is 4.5.0
<ul class="org-ul"> <ul class="org-ul">
<li>cmake <a href="http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz">http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz</a> <li>cmake <a href="http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz">http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz</a>
</li> </li>
<li>paraview <a href="http://www.paraview.org/files/v4.3/ParaView-v4.3.1-source.tar.gz">http://www.paraview.org/files/v4.3/ParaView-v4.3.1-source.tar.gz</a> <li>ParaView <a href="http://www.paraview.org/files/v4.4/ParaView-v4.4.0-source.tar.gz">http://www.paraview.org/files/v4.4/ParaView-v4.4.0-source.tar.gz</a>
</li> </li>
</ul> </ul>
</div> </div>
@ -271,15 +271,15 @@ The minimum version of gcc required is 4.5.0
<h2 id="sec-4"><span class="section-number-2">4</span> Notes</h2> <h2 id="sec-4"><span class="section-number-2">4</span> Notes</h2>
<div class="outline-text-2" id="text-4"> <div class="outline-text-2" id="text-4">
</div><div id="outline-container-sec-4-1" class="outline-3"> </div><div id="outline-container-sec-4-1" class="outline-3">
<h3 id="sec-4-1"><span class="section-number-3">4.1</span> Building ParaView-4.3.1</h3> <h3 id="sec-4-1"><span class="section-number-3">4.1</span> Building ParaView-4.3.1/4.4.0</h3>
<div class="outline-text-3" id="text-4-1"> <div class="outline-text-3" id="text-4-1">
<p> <p>
The ParaView-4.3.1 source-pack provided by KitWare will not build and The ParaView-4.3.1/4.4.0 source-pack provided by KitWare will not build and
install correctly without a minor correction: lines 653-656 must be removed install correctly without a minor correction: lines 653-656 must be removed
or commented from file or commented from file
<i>ThirdParty-dev/ParaView-4.3.1/Qt/Components/CMakeLists.txt</i> after unpacking <i>ThirdParty-3.0.0/ParaView-4.?.?/Qt/Components/CMakeLists.txt</i> after
and renaming the ParaView-4.3.1 directory. This is because the file unpacking and renaming the ParaView-4.?.? directory. This is because the
ui_pqExportStateWizard.h referred to in the lines 653-656: file ui_pqExportStateWizard.h referred to in the lines 653-656:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
@ -293,8 +293,22 @@ endif()
does not exist and cannot be installed causing the build and installation to does not exist and cannot be installed causing the build and installation to
fail. fail.
</p> </p>
<p>
Additionally for ParaView-4.4.0 there is a bug in the STL reader which can
be patched by running the following command from within the ThirdParty-???
directory:
</p>
<ul class="org-ul">
<li>wget <a href="https://raw.githubusercontent.com/Kitware/VTK/40937e934308e5009e80769dc0c451ee4f157749/IO/Geometry/vtkSTLReader.cxx">https://raw.githubusercontent.com/Kitware/VTK/40937e934308e5009e80769dc0c451ee4f157749/IO/Geometry/vtkSTLReader.cxx</a> -O ParaView-4.4.0/VTK/IO/Geometry/vtkSTLReader.cxx
</li>
</ul>
<p>
See also <a href="http://www.openfoam.org/mantisbt/view.php?id=1887">http://www.openfoam.org/mantisbt/view.php?id=1887</a>
</p>
</div> </div>
</div> </div>
<div id="outline-container-sec-4-2" class="outline-3"> <div id="outline-container-sec-4-2" class="outline-3">
<h3 id="sec-4-2"><span class="section-number-3">4.2</span> Building ParaView-4.1.0</h3> <h3 id="sec-4-2"><span class="section-number-3">4.2</span> Building ParaView-4.1.0</h3>
<div class="outline-text-3" id="text-4-2"> <div class="outline-text-3" id="text-4-2">
@ -312,8 +326,8 @@ change to the vtkXOpenGLRenderWindow.cxx file in ParaView: Uncomment line 30
</div> </div>
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="date">Date: 23th October 2015</p> <p class="date">Date: 3rd November 2015</p>
<p class="date">Created: 2015-10-23 Fri 17:30</p> <p class="date">Created: 2015-11-03 Tue 17:54</p>
<p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 24.5 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p> <p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 24.5 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p> <p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div> </div>

View File

@ -1,11 +1,11 @@
# -*- mode: org; -*- # -*- mode: org; -*-
# #
#+TITLE: OpenFOAM-dev Third-Party packages #+TITLE: OpenFOAM-3.0.x Third-Party packages
#+AUTHOR: The OpenFOAM Foundation #+AUTHOR: The OpenFOAM Foundation
#+DATE: 23th October 2015 #+DATE: 3rd November 2015
#+LINK: http://www.openfoam.org #+LINK: http://www.openfoam.org
#+OPTIONS: author:nil ^:{} #+OPTIONS: author:nil ^:{}
# Copyright (c) 2014-2015 OpenFOAM Foundation. # Copyright (c) 2015 OpenFOAM Foundation.
* Description * Description
Scripts for building third-party packages. Scripts for building third-party packages.
@ -28,7 +28,7 @@
+ mpc http://www.multiprecision.org/ + mpc http://www.multiprecision.org/
http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz
*** Parallel Processing *** Parallel Processing
+ OpenMPI: http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.5.tar.bz2 + OpenMPI: http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.bz2
+ Scotch/PtScotch: https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz + Scotch/PtScotch: https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz
*** ParaView *** ParaView
+ cmake http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz + cmake http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz
@ -43,9 +43,9 @@
The ParaView-4.3.1/4.4.0 source-pack provided by KitWare will not build and The ParaView-4.3.1/4.4.0 source-pack provided by KitWare will not build and
install correctly without a minor correction: lines 653-656 must be removed install correctly without a minor correction: lines 653-656 must be removed
or commented from file or commented from file
/ThirdParty-dev/ParaView-4.?.?/Qt/Components/CMakeLists.txt/ after unpacking /ThirdParty-3.0.0/ParaView-4.?.?/Qt/Components/CMakeLists.txt/ after
and renaming the ParaView-4.?.? directory. This is because the file unpacking and renaming the ParaView-4.?.? directory. This is because the
ui_pqExportStateWizard.h referred to in the lines 653-656: file ui_pqExportStateWizard.h referred to in the lines 653-656:
#+begin_src C #+begin_src C
if(PARAVIEW_INSTALL_DEVELOPMENT_FILES) if(PARAVIEW_INSTALL_DEVELOPMENT_FILES)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ui_pqExportStateWizard.h" install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ui_pqExportStateWizard.h"
@ -54,6 +54,13 @@
#+end_src #+end_src
does not exist and cannot be installed causing the build and installation to does not exist and cannot be installed causing the build and installation to
fail. fail.
Additionally for ParaView-4.4.0 there is a bug in the STL reader which can
be patched by running the following command from within the ThirdParty-???
directory:
+ wget https://raw.githubusercontent.com/Kitware/VTK/40937e934308e5009e80769dc0c451ee4f157749/IO/Geometry/vtkSTLReader.cxx -O ParaView-4.4.0/VTK/IO/Geometry/vtkSTLReader.cxx
See also http://www.openfoam.org/mantisbt/view.php?id=1887
*** Building ParaView-4.1.0 *** Building ParaView-4.1.0
On Ubuntu 14.10 and higher, OpenSuSE 13.2 and probably other recent On Ubuntu 14.10 and higher, OpenSuSE 13.2 and probably other recent
GNU/Linux distributions there is an issue in the GL libraries requiring a GNU/Linux distributions there is an issue in the GL libraries requiring a