Changed installation directory for smoothMesh utility
[foam-extend-3.0.git] / etc / prefs.sh-EXAMPLE
blobcf377cc21f709f26b36978c40e6de7327f84ecb1
1 #----------------------------------*-sh-*--------------------------------------
2 # =========                 |
3 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4 #  \\    /   O peration     |
5 #   \\  /    A nd           | Copyright (C) 2013 Hrvoje Jasak
6 #    \\/     M anipulation  |
7 #------------------------------------------------------------------------------
8 # License
9 #     This file is part of OpenFOAM.
11 #     OpenFOAM is free software: you can redistribute it and/or modify it
12 #     under the terms of the GNU General Public License as published by
13 #     the Free Software Foundation, either version 3 of the License, or
14 #     (at your option) any later version.
16 #     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 #     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 #     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19 #     for more details.
21 #     You should have received a copy of the GNU General Public License
22 #     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
24 # File
25 #     etc/prefs.sh
27 # Description
28 #     Preset variables for the OpenFOAM configuration - POSIX shell syntax.
30 #     The prefs.sh file will be sourced by the OpenFOAM etc/bashrc when it is
31 #     found by foamEtcFile.
33 # See Also
34 #     'foamEtcFile -help' or 'foamEtcFile -list' for information about the
35 #     paths searched
37 #------------------------------------------------------------------------------
39 export FOAM_VERBOSE=1
41 # Specify system compiler
42 # ~~~~~~~~~~~~~~~~~~~~~~~
43 compilerInstall=System
45 # Specify system openmpi
46 # ~~~~~~~~~~~~~~~~~~~~~~
48 # Normally, you don't need to set more than these 3 env. variables
49 # The other openmpi related variables will be initialized using
50 # the command mpicc --showme:
52 #export WM_MPLIB=SYSTEMOPENMPI
53 #export OPENMPI_DIR=path_to_system_installed_openmpi
54 #export OPENMPI_BIN_DIR=$OPENMPI_DIR/bin
56 #export OPENMPI_LIB_DIR="`$OPENMPI_BIN_DIR/mpicc --showme:libdirs`"
57 #export OPENMPI_INCLUDE_DIR="`$OPENMPI_BIN_DIR/mpicc --showme:incdirs`"
58 #export OPENMPI_COMPILE_FLAGS="`$OPENMPI_BIN_DIR/mpicc --showme:compile`"
59 #export OPENMPI_LINK_FLAGS="`$OPENMPI_BIN_DIR/mpicc --showme:link`"
61 # Specify system installed ThirdParty packages/libraries
62 # NB: The packages installed under $WM_THIRD_PARTY_DIR
63 #     will always override these values.
64 #     So build your ThirdParty directory accordingly.
65 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 # System installed CUDA
68 #export CUDA_SYSTEM=1
69 #export CUDA_DIR=path_to_system_installed_cuda
70 #export CUDA_BIN_DIR=$CUDA_DIR/bin
71 #export CUDA_LIB_DIR=$CUDA_DIR/lib
72 #export CUDA_INCLUDE_DIR=$CUDA_DIR/include
73 #export CUDA_ARCH=sm_20
75 # System installed Mesquite
76 #export MESQUITE_SYSTEM=1
77 #export MESQUITE_DIR=path_to_system_installed_mesquite
78 #export MESQUITE_BIN_DIR=$MESQUITE_DIR/bin
79 #export MESQUITE_LIB_DIR=$MESQUITE_DIR/lib
80 #export MESQUITE_INCLUDE_DIR=$MESQUITE_DIR/include
82 # System installed Metis
83 #export METIS_SYSTEM=1
84 #export METIS_DIR=path_to_system_installed_metis
85 #export METIS_BIN_DIR=$METIS_DIR/bin
86 #export METIS_LIB_DIR=$METIS_DIR/lib
87 #export METIS_INCLUDE_DIR=$METIS_DIR/include
89 # System installed ParMetis
90 #export PARMETIS_SYSTEM=1
91 #export PARMETIS_DIR=path_to_system_installed_parmetis
92 #export PARMETIS_BIN_DIR=$PARMETIS_DIR/bin
93 #export PARMETIS_LIB_DIR=$PARMETIS_DIR/lib
94 #export PARMETIS_INCLUDE_DIR=$PARMETIS_DIR/include
96 # System installed ParMGridgen
97 #export PARMGRIDGEN_SYSTEM=1
98 #export PARMGRIDGEN_DIR=path_to_system_installed_parmgridgen
99 #export PARMGRIDGEN_BIN_DIR=$PARMGRIDGEN_DIR/bin
100 #export PARMGRIDGEN_LIB_DIR=$PARMGRIDGEN_DIR/lib
101 #export PARMGRIDGEN_INCLUDE_DIR=$PARMGRIDGEN_DIR/include
103 # System installed Libccmio
104 #export LIBCCMIO_SYSTEM=1
105 #export LIBCCMIO_DIR=path_to_system_installed_libccmio
106 #export LIBCCMIO_BIN_DIR=$LIBCCMIO_DIR/bin
107 #export LIBCCMIO_LIB_DIR=$LIBCCMIO_DIR/lib
108 #export LIBCCMIO_INCLUDE_DIR=$LIBCCMIO_DIR/include
110 # System installed Scotch
111 #export SCOTCH_SYSTEM=1
112 #export SCOTCH_DIR=path_to_system_installed_scotch
113 #export SCOTCH_BIN_DIR=$SCOTCH_DIR/bin
114 #export SCOTCH_LIB_DIR=$SCOTCH_DIR/lib
115 #export SCOTCH_INCLUDE_DIR=$SCOTCH_DIR/include
117 # System installed CMake
118 #export CMAKE_SYSTEM=1
119 #export CMAKE_DIR=path_to_system_installed_cmake
120 #export CMAKE_BIN_DIR=$CMAKE_DIR/bin
122 # System installed Python
123 #export PYTHON_SYSTEM=1
124 #export PYTHON_DIR=path_to_system_installed_python
125 #export PYTHON_BIN_DIR=$PYTHON_DIR/bin
127 # System installed PyFoam
128 #export PYFOAM_SYSTEM=1
129 #export PYFOAM_DIR=path_to_system_installed_python
130 #export PYFOAM_BIN_DIR=$PYFOAM_DIR/bin
132 # System installed hwloc
133 #export HWLOC_SYSTEM=1
134 #export HWLOC_DIR=path_to_system_installed_hwloc
135 #export HWLOC_BIN_DIR=$HWLOC_DIR/bin
137 # System installed Qt
138 # This is the only package we assume is system installed by default.
139 # So we don't use a variable called QT_SYSTEM, but instead a variable
140 # called QT_THIRD_PARTY in order to override to the ThirdParty QT
141 # package.
143 # If you choose to use the system installed version of QT, keep
144 # the variable QT_THIRD_PARTY commented, and uncomment the initialization
145 # of the variable QT_DIR and QT_BIN_DIR. Make sure both variables are
146 # properly initialized.
148 # If you choose instead to use the ThirdParty version of QT, only uncomment
149 # the variable QT_THIRD_PARTY and set it to 1. Keep the initialization
150 # of the variables QT_DIR nd QT_BIN_DIR commented. The QT ThirdParty scripts
151 # will take care of setting the variables QT_DIR and QT_BIN_DIR to the
152 # proper values.
154 #export QT_THIRD_PARTY=1
155 #export QT_DIR=path_to_system_installed_qt
156 #export QT_BIN_DIR=$QT_DIR/bin
158 # System installed ParaView
159 #export PARAVIEW_SYSTEM=1
160 #export PARAVIEW_DIR=path_to_system_installed_paraview
161 #export PARAVIEW_BIN_DIR=$PARAVIEW_DIR/bin
163 # System installed bison
164 #export BISON_SYSTEM=1
166 # System installed flex
167 #export FLEX_SYSTEM=1
169 # System installed m4
170 #export M4_SYSTEM=1
172 # Specify ParaView version
173 # ~~~~~~~~~~~~~~~~~~~~~~~~
174 #export ParaView_VERSION=git        # eg, cvs/git version
175 #export ParaView_MAJOR=3.7
178 # System identifier for the OpenFOAM CDash test harness on openfoam-extend
180 # By default, your system FQN/hostname will be used as the system identifier
181 # when publishing your test harness results on the OpenFOAM CDash server
182 # on openfoam-extend.
183 # You can override your identifier using this environment variable
184 #export CDASH_SUBMIT_LOCAL_HOST_ID=choose_your_CDash_system_identifer
186 # ----------------------------------------------------------------- end-of-file