mark 06b4a31573 ENH: provide makeTecio for newest tecplot library
- installs headers and static library into

  ThirdParty/platforms/$WM_ARCH$WM_COMPILER/tecio
2016-11-11 09:56:31 +01:00
2014-12-31 18:24:25 +00:00
2016-11-04 14:41:06 +01:00
2016-11-04 14:41:06 +01:00

OpenFOAM Third-Party packages

#

Description

Scripts for building third-party packages.

Build Order:

  • makeGcc (recommended if the system gcc is < 4.7)
  • Allwmake (Builds OpenMPI, Scotch etc.)
  • makeCmake (if the system cmake version is < 2.8.8)
  • makeParaView

Optional Build Components:

  • makeLLVM (Replaces makeGcc in the above description
  • to use clang as compiler)
  • makeADIOS (Only required for ADIOS support)
  • makeCCMIO (Only required for conversion of STAR-CCM+ meshes)
  • Allclean (Only required to save disk space)

Notes

Building ADIOS

  • Currently requires GNU autoconf tools (eg, autoconf, autoheader, automake)

for its configuration.

  • Optionally uses zlib, bzip2 development headers (eg, zlib-devel, libbz2-devel).

Building Scotch

  • The zlib library and zlib development headers are required.

Notes

Building ParaView-4.3.1/4.4.0/5.0.0/5.0.1

The ParaView-4.3.1/4.4.0/5.0.0 source-pack provided by KitWare will not build and install correctly without a minor correction: lines 653-656 (650-653 in ParaView-5.0.0, 659-662 in ParaView-5.0.1) must be removed or commented from file ThirdParty-???/ParaView-[45].?.?/Qt/Components/CMakeLists.txt after unpacking and renaming the ParaView-[45].?.? directory. This is because the file ui_pqExportStateWizard.h referred to in

if(PARAVIEW_INSTALL_DEVELOPMENT_FILES)
  install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ui_pqExportStateWizard.h"
          DESTINATION "${VTK_INSTALL_INCLUDE_DIR}")
endif()

does not exist and cannot be installed causing the build and installation to fail.

Additionally for ParaView-4.4.0 there is a bug in the STL reader. (see http://www.openfoam.org/mantisbt/view.php?id=1887).

For ParaView-4.4.0 and ParaView-5.0.1, the necessary patches are supplied with the ThirdParty repository (see the etc/patches directory) and are applied when building paraview.

Building ParaView-5.0.1 with gcc-6.1.0

Add support for gcc-6.?.?

The following cmake files

  • ParaView-5.0.1/VTK/CMake/vtkCompilerExtras.cmake
  • ParaView-5.0.1/VTK/CMake/GenerateExportHeader.cmake

specifically limit the gcc versions supported. To add support gcc-6.?.? replace the '[345]' with '[3456]'.

This patch is also supplied with the ThirdParty repository and applied when building paraview.

SciberQuestToolKit

The SciberQuestToolKit plugin fails to compile with gcc-6.1.0 and causes the compilation of ParaView to halt. The easiest solution is to delete the ParaView-5.0.1/Plugins/SciberQuestToolKit directory.

Building ParaView-4.1.0

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 change to the vtkXOpenGLRenderWindow.cxx file in ParaView: Uncomment line 30

#define GLX_GLXEXT_LEGACY

Description
[Build](/Development/openfoam/-/wikis/building) scripts for Third-Party software used by openfoam
Readme 713 KiB
Languages
Shell 85.6%
Roff 12.5%
Makefile 1.9%