Merge remote-tracking branch 'origin/proposal/famTutorialReorganization' into nextRelease
[foam-extend-3.0.git] / ThirdParty / AllClean.stage3
blob4aff389aa71f36076d64013f8954e071d9432e79
1 #!/bin/bash
2 #------------------------------------------------------------------------------
3 # ========= |
4 # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 # \\ / O peration |
6 # \\ / A nd | Copyright held by original author
7 # \\/ M anipulation |
8 #------------------------------------------------------------------------------
9 # License
10 # This file is part of OpenFOAM.
12 # OpenFOAM is free software: you can redistribute it and/or modify it
13 # under the terms of the GNU General Public License as published by
14 # the Free Software Foundation, either version 3 of the License, or
15 # (at your option) any later version.
17 # OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
18 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 # for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 # Script
26 # AllClean.stage1
28 # Description
29 # Cleaning script for ThirdParty packages: Stage3
31 # Author:
32 # Martin Beaudoin, Hydro-Quebec, (2013)
34 #------------------------------------------------------------------------------
35 # run from third-party directory only
36 cd ${0%/*} || exit 1
38 wmakeCheckPwd "$WM_THIRD_PARTY_DIR" || {
39 echo "Error: Current directory is not \$WM_THIRD_PARTY_DIR"
40 echo " The environment variables are inconsistent with the installation."
41 echo " Check the OpenFOAM entries in your dot-files and source them."
42 exit 1
44 . tools/makeThirdPartyFunctionsForRPM
45 #------------------------------------------------------------------------------
47 echo ========================================
48 echo Starting ThirdParty AllClean: Stage3
49 echo ========================================
50 echo
52 # metis
53 uninstallPackage metis-5.0pre2
55 # ParMGridGen
56 uninstallPackage ParMGridGen-1.0
58 # Libccmio
59 uninstallPackage libccmio-2.6.1
61 # Mesquite
62 uninstallPackage mesquite-2.1.2
64 # Scotch/PtScotch
65 uninstallPackage scotch-5.1.10b
67 # ParMertis
68 uninstallPackage ParMetis-3.1.1
70 # Zoltan
71 # uninstallPackage zoltan-3.6
73 # PyFoam
74 uninstallPackage PyFoam-0.6.1
76 # hwloc
77 uninstallPackage hwloc-1.7.1
79 echo
80 echo ========================================
81 echo Done ThirdParty AllClean: Stage3
82 echo ========================================
83 echo
85 # ----------------------------------------------------------------- end-of-file