Merge branch 'HrvojeJasak' of ssh://git.code.sf.net/u/hjasak/foam-extend-3.1 into...
[foam-extend-3.2.git] / etc / prefs.sh.mingw
blob67f1966727cce8507a125ca18cc05c4d4686438c
1 #----------------------------------*-sh-*--------------------------------------
2 # =========                 |
3 # \\      /  F ield         | foam-extend: Open Source CFD
4 #  \\    /   O peration     | Version:     3.2
5 #   \\  /    A nd           | Web:         http://www.foam-extend.org
6 #    \\/     M anipulation  | For copyright notice see file Copyright
7 #------------------------------------------------------------------------------
8 # License
9 #     This file is part of foam-extend.
11 #     foam-extend is free software: you can redistribute it and/or modify it
12 #     under the terms of the GNU General Public License as published by the
13 #     Free Software Foundation, either version 3 of the License, or (at your
14 #     option) any later version.
16 #     foam-extend is distributed in the hope that it will be useful, but
17 #     WITHOUT ANY WARRANTY; without even the implied warranty of
18 #     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 #     General Public License for more details.
21 #     You should have received a copy of the GNU General Public License
22 #     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 # File
25 #     etc/prefs.sh
27 # Description
28 #     Preset variables for the FOAM configuration - POSIX shell syntax.
30 #     The prefs.sh file will be sourced by the FOAM etc/bashrc when it is
31 #     found
33 #------------------------------------------------------------------------------
35 # Specify system compiler
36 # ~~~~~~~~~~~~~~~~~~~~~~~
37 #compilerInstall=System
38 #compilerInstall=FOAM
40 # Specify system openmpi
41 # ~~~~~~~~~~~~~~~~~~~~~~
43 # Normally, you don't need to set more than these 3 env. variables
44 # The other openmpi related variables will be initialized using
45 # the command mpicc --showme:
47 #export WM_MPLIB=SYSTEMOPENMPI
48 export OPENMPI_DIR=$MPI_ROOTDIR
49 export OPENMPI_BIN_DIR=$OPENMPI_DIR/bin
51 #export OPENMPI_LIB_DIR="`$OPENMPI_BIN_DIR/mpicc --showme:libdirs`"
52 #export OPENMPI_INCLUDE_DIR="`$OPENMPI_BIN_DIR/mpicc --showme:incdirs`"
53 #export OPENMPI_COMPILE_FLAGS="`$OPENMPI_BIN_DIR/mpicc --showme:compile`"
54 #export OPENMPI_LINK_FLAGS="`$OPENMPI_BIN_DIR/mpicc --showme:link`"
56 # Specify system installed ThirdParty packages/libraries
57 # NB: The packages installed under $WM_THIRD_PARTY_DIR
58 #     will always override these values.
59 #     So build your ThirdParty directory accordingly.
60 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 # System installed CUDA
63 #export CUDA_SYSTEM=1
64 #export CUDA_DIR=path_to_system_installed_cuda
65 #export CUDA_BIN_DIR=$CUDA_DIR/bin
66 #export CUDA_LIB_DIR=$CUDA_DIR/lib
67 #export CUDA_INCLUDE_DIR=$CUDA_DIR/include
68 #export CUDA_ARCH=sm_20
70 # System installed Mesquite
71 #export MESQUITE_SYSTEM=1
72 export MESQUITE_DIR=$WM_THIRD_PARTY_DIR/packages/mesquite-2.1.2
73 export MESQUITE_BIN_DIR=$MESQUITE_DIR/bin
74 export MESQUITE_LIB_DIR=$MESQUITE_DIR/lib
75 export MESQUITE_INCLUDE_DIR=$MESQUITE_DIR/include
77 # System installed Metis
78 #export METIS_SYSTEM=1
79 export METIS_DIR=$WM_THIRD_PARTY_DIR/packages/metis-5.1.0
80 export METIS_BIN_DIR=$METIS_DIR/bin
81 export METIS_LIB_DIR=$METIS_DIR/lib
82 export METIS_INCLUDE_DIR=$METIS_DIR/include
84 # System installed ParMetis
85 #export PARMETIS_SYSTEM=1
86 export PARMETIS_DIR=$WM_THIRD_PARTY_DIR/packages/parmetis-4.0.3
87 export PARMETIS_BIN_DIR=$PARMETIS_DIR/bin
88 export PARMETIS_LIB_DIR=$PARMETIS_DIR/lib
89 export PARMETIS_INCLUDE_DIR=$PARMETIS_DIR/include
91 # System installed ParMGridgen
92 #export PARMGRIDGEN_SYSTEM=1
93 export PARMGRIDGEN_DIR=$WM_THIRD_PARTY_DIR/packages/ParMGridGen-1.0
94 export PARMGRIDGEN_BIN_DIR=$PARMGRIDGEN_DIR/bin
95 export PARMGRIDGEN_LIB_DIR=$PARMGRIDGEN_DIR/lib
96 export PARMGRIDGEN_INCLUDE_DIR=$PARMGRIDGEN_DIR/include
98 # System installed Libccmio
99 #export LIBCCMIO_SYSTEM=1
100 #export LIBCCMIO_DIR=path_to_system_installed_libccmio
101 #export LIBCCMIO_BIN_DIR=$LIBCCMIO_DIR/bin
102 #export LIBCCMIO_LIB_DIR=$LIBCCMIO_DIR/lib
103 #export LIBCCMIO_INCLUDE_DIR=$LIBCCMIO_DIR/include
105 # System installed Scotch
106 #export SCOTCH_SYSTEM=1
107 export SCOTCH_DIR=$WM_THIRD_PARTY_DIR/packages/scotch_6.0.0
108 export SCOTCH_BIN_DIR=$SCOTCH_DIR/bin
109 export SCOTCH_LIB_DIR=$SCOTCH_DIR/lib
110 export SCOTCH_INCLUDE_DIR=$SCOTCH_DIR/include
112 # System installed CMake
113 #export CMAKE_SYSTEM=1
114 #export CMAKE_DIR=path_to_system_installed_cmake
115 #export CMAKE_BIN_DIR=$CMAKE_DIR/bin
117 # System installed Python
118 #export PYTHON_SYSTEM=1
119 #export PYTHON_DIR=path_to_system_installed_python
120 #export PYTHON_BIN_DIR=$PYTHON_DIR/bin
122 # System installed PyFoam
123 #export PYFOAM_SYSTEM=1
124 #export PYFOAM_DIR=path_to_system_installed_python
125 #export PYFOAM_BIN_DIR=$PYFOAM_DIR/bin
127 # System installed hwloc
128 #export HWLOC_SYSTEM=1
129 #export HWLOC_DIR=path_to_system_installed_hwloc
130 #export HWLOC_BIN_DIR=$HWLOC_DIR/bin
132 # System installed Qt
133 # This is the only package we assume is system installed by default.
134 # So we don't use a variable called QT_SYSTEM, but instead a variable
135 # called QT_THIRD_PARTY in order to override to the ThirdParty QT
136 # package.
138 # If you choose to use the system installed version of QT, keep
139 # the variable QT_THIRD_PARTY commented, and uncomment the initialization
140 # of the variable QT_DIR and QT_BIN_DIR. Make sure both variables are
141 # properly initialized.
143 # If you choose instead to use the ThirdParty version of QT, only uncomment
144 # the variable QT_THIRD_PARTY and set it to 1. Keep the initialization
145 # of the variables QT_DIR nd QT_BIN_DIR commented. The QT ThirdParty scripts
146 # will take care of setting the variables QT_DIR and QT_BIN_DIR to the
147 # proper values.
149 #export QT_THIRD_PARTY=1
150 #export QT_DIR=path_to_system_installed_qt
151 #export QT_BIN_DIR=$QT_DIR/bin
153 # System installed ParaView
154 export PARAVIEW_SYSTEM=1
155 export PARAVIEW_DIR=/c/Programs/ParaView-4.3.1
156 export PARAVIEW_BIN_DIR=$PARAVIEW_DIR/bin
158 # System installed bison
159 #export BISON_SYSTEM=1
161 # System installed flex
162 #export FLEX_SYSTEM=1
164 # System installed m4
165 #export M4_SYSTEM=1
167 # Specify ParaView version
168 # ~~~~~~~~~~~~~~~~~~~~~~~~
169 #export ParaView_VERSION=git        # eg, cvs/git version
170 #export ParaView_MAJOR=3.7
173 # System identifier for the FOAM CDash test harness on foam-extend
175 # By default, your system FQN/hostname will be used as the system identifier
176 # when publishing your test harness results on the FOAM CDash server
177 # on foam-extend.
178 # You can override your identifier using this environment variable
179 #export CDASH_SUBMIT_LOCAL_HOST_ID=choose_your_CDash_system_identifer
181 # Buildname suffix for the FOAM CDash test harness on foam-extend 
182 # By default, the git branch name and git revision number will be
183 # appended to the CDash build name.
184 # Otherwise, for users not using git, or wanting to provide additionnal
185 # information, simply initialize the CDASH_SCM_INFO with the proper information
186 #export CDASH_SCM_INFO=your_SCM_information
188 # Mac OS X MacPorts root directory.
189 # The default value is '/opt/local/etc/macports'.
190 # In order to disable the usage of MacPorts on Mac OSX, simply initialize this
191 # variable to a non-existing directory, or to a dummy value.
192 #export MACOSX_MACPORTS_ROOT="_not_using_"
194 # ThirdParty packages: build control variables
195 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 # By enabling any of these variables, you will active the compilation and
197 # installation of the corresponding ThirdParty package
199 # For AllMake.stage1
200 #export WM_THIRD_PARTY_USE_GCC_492=1
201 #export WM_THIRD_PARTY_USE_GCC_484=1
202 #export WM_THIRD_PARTY_USE_GCC_463=1
203 #export WM_THIRD_PARTY_USE_GCC_451=1
204 #export WM_THIRD_PARTY_USE_GCC_445=1
205 #export WM_THIRD_PARTY_USE_PYTHON_27=1
206 #export WM_THIRD_PARTY_USE_M4_1416=1
207 #export WM_THIRD_PARTY_USE_BISON_27=1
208 #export WM_THIRD_PARTY_USE_FLEX_2535=1
209 #export WM_THIRD_PARTY_USE_CMAKE_322=1
212 # For AllMake.stage2
213 #export WM_THIRD_PARTY_USE_OPENMPI_184=1
214 #export WM_THIRD_PARTY_USE_OPENMPI_184_ConfigureAdditionalArgs='--enable-mpi-cxx --with-openib=/usr --with-openib-libdir=/usr/lib64'
215 #export WM_THIRD_PARTY_USE_OPENMPI_165=1
216 #export WM_THIRD_PARTY_USE_OPENMPI_165_ConfigureAdditionalArgs='--enable-mpi-cxx --with-openib=/usr --with-openib-libdir=/usr/lib64'
217 #export WM_THIRD_PARTY_USE_OPENMPI_15=1
218 #export WM_THIRD_PARTY_USE_OPENMPI_143=1
219 #export WM_THIRD_PARTY_USE_OPENMPI_141=1
222 # For AllMake.stage3
223 #export WM_THIRD_PARTY_USE_METIS_510=1
224 #export WM_THIRD_PARTY_USE_PARMGRIDGEN_10=1
225 #export WM_THIRD_PARTY_USE_LIBCCMIO_261=1
226 #export WM_THIRD_PARTY_USE_MESQUITE_212=1
227 #export WM_THIRD_PARTY_USE_SCOTCH_604=1
228 ##export WM_THIRD_PARTY_USE_SCOTCH_600=1
229 #export WM_THIRD_PARTY_USE_PARMETIS_403=1
230 ##export WM_THIRD_PARTY_USE_ZOLTAN_36=1
231 #export WM_THIRD_PARTY_USE_PYFOAM_064=1
232 #export WM_THIRD_PARTY_USE_HWLOC_1101=1
233 #export WM_THIRD_PARTY_USE_HWLOC_172=1
236 # For AllMake.stage4
237 #export WM_THIRD_PARTY_USE_QT_486=1
238 #export WM_THIRD_PARTY_USE_PARAVIEW_431=1
239 #export WM_THIRD_PARTY_USE_PARAVIEW_410=1
242 # Add in preset user preferences: will override site preferences
243 #if [ -e $WM_PROJECT_USER_DIR/etc/prefs.sh ]
244 #then
245 #    _foamSource $WM_PROJECT_USER_DIR/etc/prefs.sh
247 # ----------------------------------------------------------------- end-of-file