mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
CONFIG: update versions
ENH: add support of additional configure options to some make scripts - remove hard-coded --verbs from makeOPENMPI in favour of letting the user provide it via the command-line for makeOPENMPI. eg, makeOPENMPI openmpi-1.10.6 -- --with-verbs=DIRECTORY ...
This commit is contained in:
18
Allclean
18
Allclean
@ -7,26 +7,14 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# Allclean
|
# Allclean
|
||||||
#
|
#
|
||||||
# Description
|
# Description
|
||||||
# Clean script for ThirdParty applications and libraries
|
# Clean script for ThirdParty applications/libraries
|
||||||
#
|
#
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# NO USER-CONFIGURABLE SETTINGS WITHIN THIS FILE
|
# NO USER-CONFIGURABLE SETTINGS WITHIN THIS FILE
|
||||||
|
|||||||
18
Allwmake
18
Allwmake
@ -7,26 +7,14 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# Allwmake
|
# Allwmake
|
||||||
#
|
#
|
||||||
# Description
|
# Description
|
||||||
# Build script for ThirdParty
|
# Build script for ThirdParty applications/libraries
|
||||||
#
|
#
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# NO USER-CONFIGURABLE SETTINGS WITHIN THIS FILE
|
# NO USER-CONFIGURABLE SETTINGS WITHIN THIS FILE
|
||||||
|
|||||||
40
BUILD.md
40
BUILD.md
@ -198,13 +198,13 @@ and save some disk space.
|
|||||||
sources that are bundled with ParaView.
|
sources that are bundled with ParaView.
|
||||||
For example, by using a symbolic link:
|
For example, by using a symbolic link:
|
||||||
|
|
||||||
ln -s ParaView-v5.4.0/VTK VTK-8.1.0
|
ln -s ParaView-v5.4.1/VTK VTK-8.1.0
|
||||||
|
|
||||||
The appropriate VTK version number can be found from the contents of
|
The appropriate VTK version number can be found from the contents of
|
||||||
the `vtkVersion.cmake` file.
|
the `vtkVersion.cmake` file.
|
||||||
For example,
|
For example,
|
||||||
|
|
||||||
$ cat ParaView-v5.4.0/VTK/CMake/vtkVersion.cmake
|
$ cat ParaView-v5.4.1/VTK/CMake/vtkVersion.cmake
|
||||||
|
|
||||||
# VTK version number components.
|
# VTK version number components.
|
||||||
set(VTK_MAJOR_VERSION 8)
|
set(VTK_MAJOR_VERSION 8)
|
||||||
@ -217,7 +217,7 @@ and save some disk space.
|
|||||||
required.
|
required.
|
||||||
See additional notes below about [making Qt](#makeQt) if necessary.
|
See additional notes below about [making Qt](#makeQt) if necessary.
|
||||||
|
|
||||||
#### 5.4.0
|
#### 5.4.x
|
||||||
- Compiles without patching.
|
- Compiles without patching.
|
||||||
No known issues with the native OpenFOAM reader.
|
No known issues with the native OpenFOAM reader.
|
||||||
|
|
||||||
@ -318,8 +318,9 @@ GNU *configure* can only be used prior to clang version 3.9.
|
|||||||
|
|
||||||
| Name | Location
|
| Name | Location
|
||||||
|-----------------------|------------------------
|
|-----------------------|------------------------
|
||||||
| [clang][page clang] | [download][link clang]
|
| [clang][page clang] | [download][link clang] or [newer][newer clang]
|
||||||
| [llvm][page llvm] | [download][link llvm]
|
| [llvm][page llvm] | [download][link llvm] or [newer][newer llvm]
|
||||||
|
| [openmp][page omp] | [download][link omp] or [newer][newer omp]
|
||||||
|
|
||||||
|
|
||||||
### General <a name="general-packages"></a>
|
### General <a name="general-packages"></a>
|
||||||
@ -352,7 +353,7 @@ GNU *configure* can only be used prior to clang version 3.9.
|
|||||||
|-----------------------|------------------------
|
|-----------------------|------------------------
|
||||||
| [MESA][page mesa] | [download][link mesa] or [older 13][older13 mesa], [older 11][older11 mesa]
|
| [MESA][page mesa] | [download][link mesa] or [older 13][older13 mesa], [older 11][older11 mesa]
|
||||||
| [ParaView][page ParaView] | [download][link ParaView]
|
| [ParaView][page ParaView] | [download][link ParaView]
|
||||||
| [Qt][page Qt] | [repo][repo Qt] or [download][link Qt]. The newer [Qt5][newer Qt5] only works with ParaView-5.3.0 and later.
|
| [Qt][page Qt] | Either the [older QT4][link Qt4] or the [newer QT5][link Qt5], which only works with ParaView-5.3.0 and later.
|
||||||
|
|
||||||
|
|
||||||
### CMake Minimum Requirements <a name="min-cmake"></a>
|
### CMake Minimum Requirements <a name="min-cmake"></a>
|
||||||
@ -362,13 +363,14 @@ The minimum CMake requirements for building various components.
|
|||||||
2.8 llvm-3.4.2
|
2.8 llvm-3.4.2
|
||||||
2.8.8 ParaView-5.0.1
|
2.8.8 ParaView-5.0.1
|
||||||
2.8.11 CGAL-4.9
|
2.8.11 CGAL-4.9
|
||||||
|
2.8.11 CGAL-4.11
|
||||||
2.8.12.2 llvm-3.7.0
|
2.8.12.2 llvm-3.7.0
|
||||||
2.8.12.2 llvm-3.8.0
|
2.8.12.2 llvm-3.8.0
|
||||||
2.8.4 cmake-3.6.0
|
2.8.4 cmake-3.6.0
|
||||||
3.3 ParaView-5.1.2
|
3.3 ParaView-5.1.2
|
||||||
3.3 ParaView-5.2.0
|
3.3 ParaView-5.2.0
|
||||||
3.3 ParaView-5.3.0
|
3.3 ParaView-5.3.0
|
||||||
3.3 ParaView-5.4.0
|
3.3 ParaView-5.4.1
|
||||||
3.4.3 llvm-3.9.1
|
3.4.3 llvm-3.9.1
|
||||||
3.4.3 llvm-4.0.0
|
3.4.3 llvm-4.0.0
|
||||||
3.5 ParaView-5.1.0
|
3.5 ParaView-5.1.0
|
||||||
@ -397,21 +399,24 @@ The minimum gcc/g++ requirements for building various components.
|
|||||||
|
|
||||||
|
|
||||||
<!-- clang-related -->
|
<!-- clang-related -->
|
||||||
[page clang]: http://llvm.org/
|
|
||||||
[page llvm]: http://llvm.org/
|
[page llvm]: http://llvm.org/
|
||||||
|
[page clang]: http://clang.llvm.org/
|
||||||
|
[page omp]: http://openmp.llvm.org/
|
||||||
|
|
||||||
[link clang]: http://llvm.org/releases/3.7.1/cfe-3.7.1.src.tar.xz
|
[link clang]: http://llvm.org/releases/3.7.1/cfe-3.7.1.src.tar.xz
|
||||||
[link llvm]: http://llvm.org/releases/3.7.1/llvm-3.7.1.src.tar.xz
|
[link llvm]: http://llvm.org/releases/3.7.1/llvm-3.7.1.src.tar.xz
|
||||||
|
[link omp]: http://llvm.org/releases/3.7.1/openmp-3.7.1.src.tar.xz
|
||||||
|
|
||||||
[newer clang]: http://llvm.org/releases/4.0.0/cfe-4.0.0.src.tar.xz
|
[newer clang]: http://llvm.org/releases/4.0.1/cfe-4.0.1.src.tar.xz
|
||||||
[newer llvm]: http://llvm.org/releases/4.0.0/llvm-4.0.0.src.tar.xz
|
[newer llvm]: http://llvm.org/releases/4.0.1/llvm-4.0.1.src.tar.xz
|
||||||
|
[newer omp]: http://llvm.org/releases/4.0.1/openmp-4.0.1.src.tar.xz
|
||||||
|
|
||||||
|
|
||||||
<!-- parallel -->
|
<!-- parallel -->
|
||||||
[page adios]: https://www.olcf.ornl.gov/center-projects/adios/
|
[page adios]: https://www.olcf.ornl.gov/center-projects/adios/
|
||||||
[repo adios]: https://github.com/ornladios/ADIOS
|
[repo adios]: https://github.com/ornladios/ADIOS
|
||||||
[link adios]: https://github.com/ornladios/ADIOS/archive/v1.11.1.tar.gz
|
[link adios]: https://github.com/ornladios/ADIOS/archive/v1.13.0.tar.gz
|
||||||
[altlink adios]: http://users.nccs.gov/%7Epnorbert/adios-1.11.1.tar.gz
|
[altlink adios]: http://users.nccs.gov/%7Epnorbert/adios-1.13.0.tar.gz
|
||||||
[page zfp]: http://computation.llnl.gov/projects/floating-point-compression/zfp-versions
|
[page zfp]: http://computation.llnl.gov/projects/floating-point-compression/zfp-versions
|
||||||
|
|
||||||
[page scotch]: https://www.labri.fr/perso/pelegrin/scotch/
|
[page scotch]: https://www.labri.fr/perso/pelegrin/scotch/
|
||||||
@ -439,7 +444,7 @@ The minimum gcc/g++ requirements for building various components.
|
|||||||
[link CGAL]: https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.9.1/CGAL-4.9.1.tar.xz
|
[link CGAL]: https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.9.1/CGAL-4.9.1.tar.xz
|
||||||
|
|
||||||
[page FFTW]: http://www.fftw.org/
|
[page FFTW]: http://www.fftw.org/
|
||||||
[link FFTW]: http://www.fftw.org/fftw-3.3.6-pl1.tar.gz
|
[link FFTW]: http://www.fftw.org/fftw-3.3.7.tar.gz
|
||||||
|
|
||||||
[page cgns]: http://cgns.github.io/
|
[page cgns]: http://cgns.github.io/
|
||||||
[link ccmio]: http://portal.nersc.gov/project/visit/third_party/libccmio-2.6.1.tar.gz (check usage conditions)
|
[link ccmio]: http://portal.nersc.gov/project/visit/third_party/libccmio-2.6.1.tar.gz (check usage conditions)
|
||||||
@ -455,7 +460,7 @@ The minimum gcc/g++ requirements for building various components.
|
|||||||
<!-- Visualization -->
|
<!-- Visualization -->
|
||||||
|
|
||||||
[page ParaView]: http://www.paraview.org/
|
[page ParaView]: http://www.paraview.org/
|
||||||
[link ParaView]: http://www.paraview.org/files/v5.4/ParaView-v5.4.0.tar.gz
|
[link ParaView]: http://www.paraview.org/files/v5.4/ParaView-v5.4.1.tar.gz
|
||||||
|
|
||||||
[page mesa]: http://mesa3d.org/
|
[page mesa]: http://mesa3d.org/
|
||||||
[link mesa]: ftp://ftp.freedesktop.org/pub/mesa/mesa-17.1.1.tar.xz
|
[link mesa]: ftp://ftp.freedesktop.org/pub/mesa/mesa-17.1.1.tar.xz
|
||||||
@ -464,8 +469,8 @@ The minimum gcc/g++ requirements for building various components.
|
|||||||
|
|
||||||
[page Qt]: https://www.qt.io/download-open-source/
|
[page Qt]: https://www.qt.io/download-open-source/
|
||||||
[repo Qt]: http://code.qt.io/cgit/qt-creator/qt-creator.git
|
[repo Qt]: http://code.qt.io/cgit/qt-creator/qt-creator.git
|
||||||
[link Qt]: http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
|
[link Qt4]: http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
|
||||||
[newer Qt5]: http://download.qt.io/official_releases/qt/5.9/5.9.0/single/qt-everywhere-opensource-src-5.9.0.tar.xz
|
[link Qt5]: http://download.qt.io/official_releases/qt/5.9/5.9.3/single/qt-everywhere-opensource-src-5.9.3.tar.xz
|
||||||
|
|
||||||
<!-- OpenFOAM -->
|
<!-- OpenFOAM -->
|
||||||
|
|
||||||
@ -481,8 +486,9 @@ The minimum gcc/g++ requirements for building various components.
|
|||||||
- [Download](http://www.openfoam.com/download) and
|
- [Download](http://www.openfoam.com/download) and
|
||||||
[installation instructions](http://www.openfoam.com/code/build-guide.php)
|
[installation instructions](http://www.openfoam.com/code/build-guide.php)
|
||||||
- [Documentation](http://www.openfoam.com/documentation)
|
- [Documentation](http://www.openfoam.com/documentation)
|
||||||
- [Reporting bugs/issues](http://www.openfoam.com/code/bug-reporting.php) (including bugs/suggestions/feature requests) in OpenFOAM+
|
- [Reporting bugs/issues](http://www.openfoam.com/code/bug-reporting.php) (including bugs/suggestions/feature requests) in OpenFOAM
|
||||||
- [Contacting OpenCFD](http://www.openfoam.com/contact)
|
- [Contacting OpenCFD](http://www.openfoam.com/contact)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Copyright 2016-2017 OpenCFD Ltd
|
Copyright 2016-2017 OpenCFD Ltd
|
||||||
|
|||||||
20
README.md
20
README.md
@ -3,7 +3,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | |
|
| \\ / O peration | |
|
||||||
| \\ / A nd | Copyright (C) 2016 OpenCFD Ltd. |
|
| \\ / A nd | Copyright (C) 2016-2017 OpenCFD Ltd. |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
|--------------------------------------------------------------------------|
|
|--------------------------------------------------------------------------|
|
||||||
-->
|
-->
|
||||||
@ -65,19 +65,25 @@ ThirdParty components prior to building OpenFOAM itself.
|
|||||||
|
|
||||||
### Build Details
|
### Build Details
|
||||||
|
|
||||||
More details can be found the ThirdParty ./BUILD.md information.
|
More details can be found the ThirdParty BUILD.md information.
|
||||||
|
|
||||||
|
<!-- OpenFOAM -->
|
||||||
|
|
||||||
|
[link AddOns]: https://develop.openfoam.com/Community/OpenFOAM-addOns
|
||||||
|
[link community-projects]: http://www.openfoam.com/community/projects.php
|
||||||
|
|
||||||
|
|
||||||
<!-- Standard Footer -->
|
<!-- Standard Footer -->
|
||||||
## Additional OpenFOAM Links
|
## Additional OpenFOAM Links
|
||||||
|
|
||||||
- [Download](http://www.openfoam.com/releases) and
|
- [Community AddOns][link AddOns] repository
|
||||||
[installation instructions](http://www.openfoam.com/download/installation.php)
|
- [Collaborative and Community-based Developments][link community-projects]
|
||||||
|
- [Download](http://www.openfoam.com/download) and
|
||||||
|
[installation instructions](http://www.openfoam.com/code/build-guide.php)
|
||||||
- [Documentation](http://www.openfoam.com/documentation)
|
- [Documentation](http://www.openfoam.com/documentation)
|
||||||
- [Reporting bugs/issues (including bugs/suggestions/feature requests) in OpenFOAM+](http://www.openfoam.com/code/bug-reporting.php)
|
- [Reporting bugs/issues](http://www.openfoam.com/code/bug-reporting.php) (including bugs/suggestions/feature requests) in OpenFOAM
|
||||||
- [Collaborative and Community-based Developments](http://www.openfoam.com/services/community-projects.php)
|
|
||||||
- [Contacting OpenCFD](http://www.openfoam.com/contact)
|
- [Contacting OpenCFD](http://www.openfoam.com/contact)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Copyright 2016 OpenCFD Ltd
|
Copyright 2016-2017 OpenCFD Ltd
|
||||||
|
|||||||
60
SOURCES.txt
Normal file
60
SOURCES.txt
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
Quick summary of third-party versions for recent OpenFOAM versions.
|
||||||
|
|
||||||
|
OpenFOAM-1712
|
||||||
|
---------------
|
||||||
|
CGAL-4.9.1
|
||||||
|
ParaView-5.4.1 *minor*
|
||||||
|
boost_1_64_0
|
||||||
|
fftw-3.3.7 *minor*
|
||||||
|
openmpi-1.10.4
|
||||||
|
scotch_6.0.3
|
||||||
|
|
||||||
|
|
||||||
|
OpenFOAM-1706
|
||||||
|
---------------
|
||||||
|
CGAL-4.9.1 *minor*
|
||||||
|
ParaView-5.4.0 *update*
|
||||||
|
boost_1_64_0 *update*
|
||||||
|
fftw-3.3.6-pl1 *minor*
|
||||||
|
openmpi-1.10.4
|
||||||
|
scotch_6.0.3
|
||||||
|
|
||||||
|
|
||||||
|
OpenFOAM-1612
|
||||||
|
---------------
|
||||||
|
CGAL-4.9 *update*
|
||||||
|
ParaView-5.0.1 *update*
|
||||||
|
boost_1_62_0 *update*
|
||||||
|
fftw-3.3.5 *minor*
|
||||||
|
openmpi-1.10.4 *minor*
|
||||||
|
scotch_6.0.3
|
||||||
|
|
||||||
|
|
||||||
|
OpenFOAM-1606
|
||||||
|
---------------
|
||||||
|
CGAL-4.8 *update*
|
||||||
|
ParaView-5.0.1 *update*
|
||||||
|
boost_1_61_0 *new*
|
||||||
|
fftw-3.3.4 *new*
|
||||||
|
openmpi-1.10.2 *minor*
|
||||||
|
scotch_6.0.3
|
||||||
|
|
||||||
|
|
||||||
|
OpenFOAM-v3.0+
|
||||||
|
---------------
|
||||||
|
CGAL-4.7 *update*
|
||||||
|
ParaView-4.4.0 *update*
|
||||||
|
openmpi-1.10.0 *update*
|
||||||
|
scotch_6.0.3
|
||||||
|
|
||||||
|
|
||||||
|
OpenFOAM-v2.4+
|
||||||
|
---------------
|
||||||
|
CGAL-4.6
|
||||||
|
ParaView-4.1.0
|
||||||
|
cmake-2.8.12.1
|
||||||
|
openmpi-1.8.5
|
||||||
|
scotch_6.0.3
|
||||||
|
|
||||||
|
|
||||||
|
---------------
|
||||||
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
EXE_INC = \
|
EXE_INC = \
|
||||||
${c++LESSWARN} \
|
${c++LESSWARN} \
|
||||||
|
${COMP_OPENMP} \
|
||||||
-DNDEBUG -DMODE_NODESEP \
|
-DNDEBUG -DMODE_NODESEP \
|
||||||
-I$(KAHIP_LIB_SRC) \
|
-I$(KAHIP_LIB_SRC) \
|
||||||
-I$(KAHIP_LIB_SRC)/partition \
|
-I$(KAHIP_LIB_SRC)/partition \
|
||||||
|
|||||||
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# etc/pkgconfigAdjust
|
# etc/pkgconfigAdjust
|
||||||
|
|||||||
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# etc/pkgconfigPrefix
|
# etc/pkgconfigPrefix
|
||||||
|
|||||||
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# etc/relocateQt
|
# etc/relocateQt
|
||||||
|
|||||||
@ -6,20 +6,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# File
|
# File
|
||||||
# etc/tools/ParaViewFunctions
|
# etc/tools/ParaViewFunctions
|
||||||
|
|||||||
@ -6,20 +6,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# File
|
# File
|
||||||
# etc/tools/QtFunction
|
# etc/tools/QtFunction
|
||||||
|
|||||||
@ -6,20 +6,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# File
|
# File
|
||||||
# etc/tools/ThirdPartyFunctions
|
# etc/tools/ThirdPartyFunctions
|
||||||
|
|||||||
@ -6,20 +6,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# File
|
# File
|
||||||
# etc/tools/vtkFunctions
|
# etc/tools/vtkFunctions
|
||||||
|
|||||||
41
makeADIOS
41
makeADIOS
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeADIOS
|
# makeADIOS
|
||||||
@ -51,7 +39,7 @@ usage() {
|
|||||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||||
cat<<USAGE
|
cat<<USAGE
|
||||||
|
|
||||||
usage: ${0##*/} [OPTION] [adios-VERSION]
|
usage: ${0##*/} [OPTION] [adios-VERSION] [-- configure-options]
|
||||||
options:
|
options:
|
||||||
-cmake PATH With cmake from the path given
|
-cmake PATH With cmake from the path given
|
||||||
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
||||||
@ -75,6 +63,7 @@ while [ "$#" -gt 0 ]
|
|||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
'') ;; # Ignore empty
|
'') ;; # Ignore empty
|
||||||
|
--) break;; # Extra configure options (leave on $@ for later detection)
|
||||||
-h | -help) usage ;;
|
-h | -help) usage ;;
|
||||||
-gcc) useGcc ;;
|
-gcc) useGcc ;;
|
||||||
|
|
||||||
@ -86,6 +75,7 @@ do
|
|||||||
ADIOS-[1-9]* | adios-[1-9]* | ADIOS-git* | adios-git*)
|
ADIOS-[1-9]* | adios-[1-9]* | ADIOS-git* | adios-git*)
|
||||||
adiosPACKAGE="${1%%/}"
|
adiosPACKAGE="${1%%/}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
die "unknown option/argument: '$1'"
|
die "unknown option/argument: '$1'"
|
||||||
;;
|
;;
|
||||||
@ -95,7 +85,7 @@ done
|
|||||||
|
|
||||||
[ -n "$adiosPACKAGE" ] || die "The adios-VERSION was not specified"
|
[ -n "$adiosPACKAGE" ] || die "The adios-VERSION was not specified"
|
||||||
|
|
||||||
# nothing to build
|
# Nothing to build
|
||||||
if _foamIsNone "$adiosPACKAGE"
|
if _foamIsNone "$adiosPACKAGE"
|
||||||
then
|
then
|
||||||
echo "Using adios-none (skip ThirdParty build of ADIOS)"
|
echo "Using adios-none (skip ThirdParty build of ADIOS)"
|
||||||
@ -246,7 +236,7 @@ then
|
|||||||
echo "Starting build: $adiosPACKAGE (using configure)"
|
echo "Starting build: $adiosPACKAGE (using configure)"
|
||||||
echo
|
echo
|
||||||
(
|
(
|
||||||
# configuration options:
|
# Configuration options:
|
||||||
unset configOpt
|
unset configOpt
|
||||||
|
|
||||||
# Add InfiniBand support
|
# Add InfiniBand support
|
||||||
@ -257,22 +247,29 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Transport layers
|
# Transport layers
|
||||||
if [ -f "/usr/include/bzlib.h" ]
|
if [ -f /usr/include/bzlib.h ]
|
||||||
then
|
then
|
||||||
configOpt="$configOpt --with-bzip2"
|
configOpt="$configOpt --with-bzip2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/usr/include/zlib.h" ]
|
if [ -f /usr/include/zlib.h ]
|
||||||
then
|
then
|
||||||
configOpt="$configOpt --with-zlib"
|
configOpt="$configOpt --with-zlib"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Other types of support
|
# Other types of support
|
||||||
## $configOpt="$configOpt --with-hdf5=..."
|
## configOpt="$configOpt --with-hdf5=..."
|
||||||
## $configOpt="$configOpt --with-lustre=..."
|
## configOpt="$configOpt --with-lustre=..."
|
||||||
## configOpt="$configOpt --enable-research-transports"
|
## configOpt="$configOpt --enable-research-transports"
|
||||||
|
|
||||||
# end of configuration options
|
# Additional configure options
|
||||||
|
if [ "$1" = "--" ]
|
||||||
|
then
|
||||||
|
shift
|
||||||
|
configOpt="$configOpt $@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# End of configuration options
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
buildDIR=$buildBASE/$adiosPACKAGE
|
buildDIR=$buildBASE/$adiosPACKAGE
|
||||||
|
|
||||||
|
|||||||
16
makeCCMIO
16
makeCCMIO
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeCCMIO
|
# makeCCMIO
|
||||||
|
|||||||
16
makeCGAL
16
makeCGAL
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeCGAL
|
# makeCGAL
|
||||||
|
|||||||
16
makeCmake
16
makeCmake
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeCmake
|
# makeCmake
|
||||||
|
|||||||
16
makeFFTW
16
makeFFTW
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeFFTW
|
# makeFFTW
|
||||||
|
|||||||
16
makeGcc
16
makeGcc
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeGcc
|
# makeGcc
|
||||||
|
|||||||
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeGperftools
|
# makeGperftools
|
||||||
|
|||||||
16
makeKAHIP
16
makeKAHIP
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeKAHIP
|
# makeKAHIP
|
||||||
|
|||||||
28
makeLLVM
28
makeLLVM
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeLLVM
|
# makeLLVM
|
||||||
@ -35,12 +23,16 @@
|
|||||||
# For example, when building from tar files (version 4.0.0)
|
# For example, when building from tar files (version 4.0.0)
|
||||||
#
|
#
|
||||||
# 1) Unpack LLVM:
|
# 1) Unpack LLVM:
|
||||||
# tar -xJf llvm-4.0.0.src.tar.xz
|
# tar -xJf llvm-4.0.1.src.tar.xz
|
||||||
# mv llvm-4.0.0.src llvm-4.0.0
|
# mv llvm-4.0.1.src llvm-4.0.1
|
||||||
#
|
#
|
||||||
# 2) Unpack Clang (also know as cfe):
|
# 2) Unpack Clang (also know as cfe):
|
||||||
# tar -xJf cfe-4.0.0.src.tar.xz
|
# tar -xJf cfe-4.0.1.src.tar.xz
|
||||||
# mv cfe-4.0.0.src llvm-4.0.0/tools/clang
|
# mv cfe-4.0.1.src llvm-4.0.1/tools/clang
|
||||||
|
#
|
||||||
|
# 3) Unpack openmp (optional):
|
||||||
|
# tar -xJf openmp-4.0.1.src.tar.xz
|
||||||
|
# mv openmp-4.0.1.src llvm-4.0.1/tools/openmp
|
||||||
#
|
#
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# NO USER-CONFIGURABLE SETTINGS WITHIN THIS FILE
|
# NO USER-CONFIGURABLE SETTINGS WITHIN THIS FILE
|
||||||
|
|||||||
16
makeMETIS
16
makeMETIS
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeMETIS
|
# makeMETIS
|
||||||
|
|||||||
18
makeMGridGen
18
makeMGridGen
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeMGridGen
|
# makeMGridGen
|
||||||
@ -91,7 +79,7 @@ done
|
|||||||
|
|
||||||
[ -n "$mgridgenPACKAGE" ] || die "The mgridgen-VERSION was not specified"
|
[ -n "$mgridgenPACKAGE" ] || die "The mgridgen-VERSION was not specified"
|
||||||
|
|
||||||
# nothing to build
|
# Nothing to build
|
||||||
if _foamIsNone "$mgridgenPACKAGE"
|
if _foamIsNone "$mgridgenPACKAGE"
|
||||||
then
|
then
|
||||||
echo "Using mgridgen-none (skip ThirdParty build of MGridGen)"
|
echo "Using mgridgen-none (skip ThirdParty build of MGridGen)"
|
||||||
|
|||||||
32
makeMPICH
32
makeMPICH
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeMPICH
|
# makeMPICH
|
||||||
@ -77,7 +65,7 @@ usage() {
|
|||||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||||
cat<<USAGE
|
cat<<USAGE
|
||||||
|
|
||||||
usage: ${0##*/} [OPTION] [mpich-VERSION]
|
usage: ${0##*/} [OPTION] [mpich-VERSION] [-- configure-options]
|
||||||
options:
|
options:
|
||||||
-gcc force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
-gcc force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
||||||
-help
|
-help
|
||||||
@ -98,12 +86,14 @@ while [ "$#" -gt 0 ]
|
|||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
'') ;; # Ignore empty
|
'') ;; # Ignore empty
|
||||||
|
--) break;; # Extra configure options (leave on $@ for later detection)
|
||||||
-h | -help) usage ;;
|
-h | -help) usage ;;
|
||||||
-gcc) useGcc ;;
|
-gcc) useGcc ;;
|
||||||
|
|
||||||
mpich*)
|
mpich*)
|
||||||
mpiPACKAGE="${1%%/}"
|
mpiPACKAGE="${1%%/}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
die "unknown option/argument: '$1'"
|
die "unknown option/argument: '$1'"
|
||||||
;;
|
;;
|
||||||
@ -145,9 +135,17 @@ else
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
(
|
(
|
||||||
# configuration options:
|
# Configuration options:
|
||||||
unset configOpt
|
unset configOpt
|
||||||
# end of configuration options
|
|
||||||
|
# Additional configure options
|
||||||
|
if [ "$1" = "--" ]
|
||||||
|
then
|
||||||
|
shift
|
||||||
|
configOpt="$configOpt $@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# End of configuration options
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
|
|
||||||
cd $MPI_SOURCE_DIR || exit 1
|
cd $MPI_SOURCE_DIR || exit 1
|
||||||
|
|||||||
37
makeMesa
37
makeMesa
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeMesa
|
# makeMesa
|
||||||
@ -59,7 +47,7 @@ usage() {
|
|||||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||||
cat<<USAGE
|
cat<<USAGE
|
||||||
|
|
||||||
usage: ${0##*/} [OPTION] mesa-VERSION
|
usage: ${0##*/} [OPTION] mesa-VERSION [-- configure-options]
|
||||||
options:
|
options:
|
||||||
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
||||||
-help
|
-help
|
||||||
@ -90,6 +78,7 @@ while [ "$#" -gt 0 ]
|
|||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
'') ;; # Ignore empty
|
'') ;; # Ignore empty
|
||||||
|
--) break;; # Extra configure options (leave on $@ for later detection)
|
||||||
-h | -help) usage ;;
|
-h | -help) usage ;;
|
||||||
-gcc)
|
-gcc)
|
||||||
useGcc
|
useGcc
|
||||||
@ -98,6 +87,7 @@ do
|
|||||||
mesa-*)
|
mesa-*)
|
||||||
mesaPACKAGE="${1%%/}"
|
mesaPACKAGE="${1%%/}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
die "unknown option/argument: '$1'"
|
die "unknown option/argument: '$1'"
|
||||||
;;
|
;;
|
||||||
@ -127,7 +117,7 @@ then
|
|||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
|
|
||||||
# root installation directory
|
# Root installation directory
|
||||||
thirdPartyClang=${thirdPartyClang%/bin/clang}
|
thirdPartyClang=${thirdPartyClang%/bin/clang}
|
||||||
|
|
||||||
[ -d "$thirdPartyClang" ] || {
|
[ -d "$thirdPartyClang" ] || {
|
||||||
@ -160,7 +150,7 @@ adjustMESA()
|
|||||||
}
|
}
|
||||||
|
|
||||||
(
|
(
|
||||||
# configuration options:
|
# Configuration options:
|
||||||
unset configOpt
|
unset configOpt
|
||||||
|
|
||||||
if [ -d "$thirdPartyClang" ]
|
if [ -d "$thirdPartyClang" ]
|
||||||
@ -168,14 +158,21 @@ adjustMESA()
|
|||||||
configOpt="$configOpt --with-llvm-prefix=$thirdPartyClang"
|
configOpt="$configOpt --with-llvm-prefix=$thirdPartyClang"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# end of configuration options
|
# Additional configure options
|
||||||
|
if [ "$1" = "--" ]
|
||||||
|
then
|
||||||
|
shift
|
||||||
|
configOpt="$configOpt $@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# End of configuration options
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
buildDIR=$buildBASE/$mesaPACKAGE
|
buildDIR=$buildBASE/$mesaPACKAGE
|
||||||
|
|
||||||
cd $MESA_SOURCE_DIR || exit 1
|
cd $MESA_SOURCE_DIR || exit 1
|
||||||
export GIT_DIR=$PWD/.git # Mask seeing our own git-repo
|
export GIT_DIR=$PWD/.git # Mask seeing our own git-repo
|
||||||
|
|
||||||
# remove any existing build
|
# Remove any existing build
|
||||||
rm -rf $MESA_ARCH_PATH
|
rm -rf $MESA_ARCH_PATH
|
||||||
rm -rf $buildDIR
|
rm -rf $buildDIR
|
||||||
mkdir -p $buildDIR
|
mkdir -p $buildDIR
|
||||||
@ -191,7 +188,7 @@ adjustMESA()
|
|||||||
fi
|
fi
|
||||||
echo "----"
|
echo "----"
|
||||||
|
|
||||||
# possibly for older mesa versions (see paraview wiki)
|
# Possibly for older mesa versions (see paraview wiki)
|
||||||
# CXXFLAGS="-O2 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
|
# CXXFLAGS="-O2 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
|
||||||
# CFLAGS="-O2 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
|
# CFLAGS="-O2 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
|
||||||
|
|
||||||
|
|||||||
57
makeOPENMPI
57
makeOPENMPI
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeOPENMPI
|
# makeOPENMPI
|
||||||
@ -77,10 +65,12 @@ usage() {
|
|||||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||||
cat<<USAGE
|
cat<<USAGE
|
||||||
|
|
||||||
usage: ${0##*/} [OPTION] [openmpi-VERSION]
|
usage: ${0##*/} [OPTION] [openmpi-VERSION] [-- configure-options]
|
||||||
options:
|
options:
|
||||||
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
||||||
-memcheck Configure with --enable-memcheck (requires valgrind.h)
|
-memcheck Configure with --enable-memcheck (requires valgrind.h)
|
||||||
|
-threaded Configure with --enable-mpi-thread-multiple
|
||||||
|
-no-threaded Configure with --disable-mpi-thread-multiple
|
||||||
-help
|
-help
|
||||||
|
|
||||||
* build openmpi with
|
* build openmpi with
|
||||||
@ -94,20 +84,24 @@ USAGE
|
|||||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
unset optMemchecker
|
unset optMemchecker optThreaded
|
||||||
|
|
||||||
# Parse options
|
# Parse options
|
||||||
while [ "$#" -gt 0 ]
|
while [ "$#" -gt 0 ]
|
||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
'') ;; # Ignore empty
|
'') ;; # Ignore empty
|
||||||
|
--) break;; # Extra configure options (leave on $@ for later detection)
|
||||||
-h | -help) usage ;;
|
-h | -help) usage ;;
|
||||||
-gcc) useGcc ;;
|
-gcc) useGcc ;;
|
||||||
-memcheck*) optMemchecker=true ;;
|
-memcheck*) optMemchecker=true ;;
|
||||||
|
-thread*) optThreaded=enable ;;
|
||||||
|
-no-thread*) optThreaded=disable ;;
|
||||||
|
|
||||||
openmpi-[0-9]* | openmpi_[0-9]* | openmpi-system )
|
openmpi-[0-9]* | openmpi_[0-9]* | openmpi-system )
|
||||||
mpiPACKAGE="${1%%/}"
|
mpiPACKAGE="${1%%/}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
die "unknown option/argument: '$1'"
|
die "unknown option/argument: '$1'"
|
||||||
;;
|
;;
|
||||||
@ -149,27 +143,29 @@ else
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
(
|
(
|
||||||
# configuration options:
|
# Configuration options:
|
||||||
# Start with GridEngine support - builds without external libraries
|
# Start with GridEngine support - builds without external libraries
|
||||||
configOpt="--with-sge"
|
configOpt="--with-sge"
|
||||||
|
|
||||||
# Add InfiniBand support
|
if [ -n "$optMemchecker" ]
|
||||||
ibDir=/usr/local/ofed
|
|
||||||
for libdir in lib$WM_COMPILER_LIB_ARCH lib
|
|
||||||
do
|
|
||||||
if [ -d "$ibDir/$libdir" ]
|
|
||||||
then
|
|
||||||
configOpt="$configOpt --with-verbs=$ibDir --with-verbs-lib=$ibDir/$libdir"
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ "$optMemchecker" = true ]
|
|
||||||
then
|
then
|
||||||
configOpt="$configOpt --enable-memchecker --with-valgrind"
|
configOpt="$configOpt --enable-memchecker --with-valgrind"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# end of configuration options
|
# --enable-mpi-thread-multiple / --disable-mpi-thread-multiple
|
||||||
|
if [ -n "$optThreaded" ]
|
||||||
|
then
|
||||||
|
configOpt="$configOpt --${optThreaded}-mpi-thread-multiple"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Additional configure options
|
||||||
|
if [ "$1" = "--" ]
|
||||||
|
then
|
||||||
|
shift
|
||||||
|
configOpt="$configOpt $@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# End of configuration options
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
|
|
||||||
buildDIR=$buildBASE/$mpiPACKAGE
|
buildDIR=$buildBASE/$mpiPACKAGE
|
||||||
@ -190,7 +186,6 @@ else
|
|||||||
--disable-orterun-prefix-by-default \
|
--disable-orterun-prefix-by-default \
|
||||||
--enable-shared --disable-static \
|
--enable-shared --disable-static \
|
||||||
--enable-mpi-fortran=none \
|
--enable-mpi-fortran=none \
|
||||||
--enable-mpi-thread-multiple \
|
|
||||||
$configOpt \
|
$configOpt \
|
||||||
&& set +x \
|
&& set +x \
|
||||||
&& make -j $WM_NCOMPPROCS \
|
&& make -j $WM_NCOMPPROCS \
|
||||||
|
|||||||
14
makeOPENMPI.example
Executable file
14
makeOPENMPI.example
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# An example for building OPENMPI with particular settings
|
||||||
|
|
||||||
|
openmpi=openmpi-1.10.6
|
||||||
|
|
||||||
|
# InfiniBand support
|
||||||
|
verbs="--with-verbs=/usr/local/ofed --with-verbs-lib=/usr/local/ofed/lib64"
|
||||||
|
# unset verbs
|
||||||
|
|
||||||
|
./makeOPENMPI $openmpi -- \
|
||||||
|
$verbs \
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
18
makeParaView
18
makeParaView
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeParaView
|
# makeParaView
|
||||||
@ -299,7 +287,7 @@ done
|
|||||||
|
|
||||||
[ -n "$ParaView_VERSION" ] || die "The paraview-VERSION was not specified"
|
[ -n "$ParaView_VERSION" ] || die "The paraview-VERSION was not specified"
|
||||||
|
|
||||||
# nothing to build
|
# Nothing to build
|
||||||
if _foamIsNone "$ParaView_VERSION"
|
if _foamIsNone "$ParaView_VERSION"
|
||||||
then
|
then
|
||||||
echo "Using paraview-none (skip ThirdParty build of ParaView)"
|
echo "Using paraview-none (skip ThirdParty build of ParaView)"
|
||||||
|
|||||||
31
makeQt
31
makeQt
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeQt
|
# makeQt
|
||||||
@ -45,7 +33,7 @@ usage() {
|
|||||||
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
|
||||||
cat<<USAGE
|
cat<<USAGE
|
||||||
|
|
||||||
usage: ${0##*/} [OPTION] [qt-VERSION]
|
usage: ${0##*/} [OPTION] [qt-VERSION] [-- configure-options]
|
||||||
options:
|
options:
|
||||||
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
-gcc Force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
|
||||||
-help
|
-help
|
||||||
@ -67,6 +55,7 @@ while [ "$#" -gt 0 ]
|
|||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
'') ;; # Ignore empty
|
'') ;; # Ignore empty
|
||||||
|
--) break;; # Extra configure options (leave on $@ for later detection)
|
||||||
-h | -help) usage ;;
|
-h | -help) usage ;;
|
||||||
-gcc) useGcc ;;
|
-gcc) useGcc ;;
|
||||||
|
|
||||||
@ -75,6 +64,7 @@ do
|
|||||||
qtVERSION="${1%%/}";
|
qtVERSION="${1%%/}";
|
||||||
qtVERSION="${qtVERSION##*-}"
|
qtVERSION="${qtVERSION##*-}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
die "unknown option/argument: '$1'"
|
die "unknown option/argument: '$1'"
|
||||||
;;
|
;;
|
||||||
@ -83,7 +73,7 @@ do
|
|||||||
done
|
done
|
||||||
qtPACKAGE=$qtTYPE-$qtVERSION
|
qtPACKAGE=$qtTYPE-$qtVERSION
|
||||||
|
|
||||||
# nothing to build
|
# Nothing to build
|
||||||
if _foamIsNone "$qtPACKAGE"
|
if _foamIsNone "$qtPACKAGE"
|
||||||
then
|
then
|
||||||
echo "Using qt-none (skip ThirdParty build of QT)"
|
echo "Using qt-none (skip ThirdParty build of QT)"
|
||||||
@ -134,7 +124,14 @@ else
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# end of configuration options
|
# Additional configure options
|
||||||
|
if [ "$1" = "--" ]
|
||||||
|
then
|
||||||
|
shift
|
||||||
|
configOpt="$configOpt $@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# End of configuration options
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
buildDIR=$buildBASE/$qtPACKAGE
|
buildDIR=$buildBASE/$qtPACKAGE
|
||||||
|
|
||||||
|
|||||||
16
makeTecio
16
makeTecio
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeTecio
|
# makeTecio
|
||||||
|
|||||||
16
makeVTK
16
makeVTK
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# makeVTK
|
# makeVTK
|
||||||
|
|||||||
16
minCmake
16
minCmake
@ -7,20 +7,8 @@
|
|||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
# This file is part of OpenFOAM.
|
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||||
#
|
# <http://www.gnu.org/licenses/>.
|
||||||
# OpenFOAM is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# Script
|
# Script
|
||||||
# minCmake
|
# minCmake
|
||||||
|
|||||||
48
sources.txt
48
sources.txt
@ -1,48 +0,0 @@
|
|||||||
Third-Party Sources
|
|
||||||
===================
|
|
||||||
|
|
||||||
OpenFOAM-1706
|
|
||||||
---------------
|
|
||||||
CGAL-4.9.1
|
|
||||||
ParaView-5.4.0
|
|
||||||
boost_1_64_0
|
|
||||||
fftw-3.3.6-pl1
|
|
||||||
openmpi-1.10.4
|
|
||||||
scotch_6.0.3
|
|
||||||
|
|
||||||
|
|
||||||
OpenFOAM-1612
|
|
||||||
---------------
|
|
||||||
CGAL-4.9
|
|
||||||
ParaView-5.0.1
|
|
||||||
boost_1_62_0
|
|
||||||
fftw-3.3.5
|
|
||||||
openmpi-1.10.4
|
|
||||||
scotch_6.0.3
|
|
||||||
|
|
||||||
|
|
||||||
OpenFOAM-1606
|
|
||||||
---------------
|
|
||||||
CGAL-4.8
|
|
||||||
ParaView-5.0.1
|
|
||||||
boost_1_61_0
|
|
||||||
fftw-3.3.4
|
|
||||||
openmpi-1.10.2
|
|
||||||
scotch_6.0.3
|
|
||||||
|
|
||||||
|
|
||||||
OpenFOAM v3.0+
|
|
||||||
---------------
|
|
||||||
CGAL-4.7
|
|
||||||
ParaView-4.4.0
|
|
||||||
openmpi-1.10.0
|
|
||||||
scotch_6.0.3
|
|
||||||
|
|
||||||
|
|
||||||
OpenFOAM+ 2.4
|
|
||||||
---------------
|
|
||||||
CGAL-4.6
|
|
||||||
ParaView-4.1.0
|
|
||||||
cmake-2.8.12.1
|
|
||||||
openmpi-1.8.5
|
|
||||||
scotch_6.0.3
|
|
||||||
Reference in New Issue
Block a user