Files
ThirdParty-6/README.org
2015-05-18 22:26:18 +01:00

61 lines
2.6 KiB
Org Mode

# -*- mode: org; -*-
#
#+TITLE: OpenFOAM-dev Third-Party packages
#+AUTHOR: The OpenFOAM Foundation
#+DATE: 18th May 2015
#+LINK: http://www.openfoam.org
#+OPTIONS: author:nil ^:{}
# Copyright (c) 2014 OpenFOAM Foundation.
* Description
Scripts for building third-party packages.
* Order of execution:
+ makeGcc (recommended if the system gcc is < 4.7)
+ Allwmake (Builds OpenMPI, Scotch etc.)
+ makeCmake (if the system cmake version is < 2.8.8)
+ makeParaView4
*** Optional
+ AllwmakeLibccmio (Only required for conversion of STAR-CCM+ meshes)
+ Allclean (Only required to save disk space)
* Versions and locations to download the third party packages
*** Gcc C++ Compiler
The minimum version of gcc required is 4.5.0
+ gcc http://gcc.gnu.org/releases.html
+ gmp http://gmplib.org/
ftp://ftp.gnu.org/gnu/gmp/gmp-5.1.2.tar.bz2
+ mpfr http://www.mpfr.org/
ftp://ftp.gnu.org/gnu/mpfr/mpfr-3.1.2.tar.bz2
+ mpc http://www.multiprecision.org/
http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz
*** Parallel Processing
+ OpenMPI: http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.5.tar.bz2
+ Scotch/PtScotch: https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz
*** ParaView
+ cmake http://www.cmake.org/files/v3.2/cmake-3.2.1.tar.gz
+ paraview http://www.paraview.org/files/v4.3/ParaView-v4.3.1-source.tar.gz
*** CGAL
+ CGAL https://gforge.inria.fr/frs/download.php/file/34703/CGAL-4.6.tar.bz2
+ boost http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download
*** Miscellaneous
+ libccmio http://portal.nersc.gov/svn/visit/trunk/third_party/libccmio-2.6.1.tar.gz
* Notes
*** Buiding ParaView
The ParaView-4.3.1 source-pack provided by KitWare will not build and
install correctly without a minor correction: lines 653-656 must be removed
or commented from file
/ThirdParty-dev/ParaView-4.3.1/Qt/Components/CMakeLists.txt/ after unpacking
and renaming the ParaView-4.3.1 directory. This is because the file
ui_pqExportStateWizard.h referred to in the lines 653-656:
#+begin_src C
if(PARAVIEW_INSTALL_DEVELOPMENT_FILES)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ui_pqExportStateWizard.h"
DESTINATION "${VTK_INSTALL_INCLUDE_DIR}")
endif()
#+end_src
does not exist and cannot be installed causing the build and installation to
fail.
# --------------------------------------------------------------------------