1 #----------------------------------*-sh-*--------------------------------------
3 # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 # \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd.
7 #------------------------------------------------------------------------------
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
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/>.
28 # Preset variables for the OpenFOAM configuration - C-Shell shell syntax.
30 # The prefs.csh file will be sourced by the OpenFOAM etc/cshrc when it is
31 # found by foamEtcFile.
34 # 'foamEtcFile -help' or 'foamEtcFile -list' for information about the
37 #------------------------------------------------------------------------------
39 ## Specify system compiler
40 ## ~~~~~~~~~~~~~~~~~~~~~~~
41 #set compilerInstall=system
43 # Specify system openmpi
44 # ~~~~~~~~~~~~~~~~~~~~~~
46 # Normally, you don't need to set more than these 3 env. variables
47 # The other openmpi related variables will be initialized using
48 # the command mpicc --showme:
50 #setenv WM_MPLIB SYSTEMOPENMPI
51 #setenv OPENMPI_DIR path_to_system_installed_openmpi
52 #setenv OPENMPI_BIN_DIR $OPENMPI_DIR/bin
54 #setenv OPENMPI_LIB_DIR "`$OPENMPI_BIN_DIR/mpicc --showme:libdirs`"
55 #setenv OPENMPI_INCLUDE_DIR "`$OPENMPI_BIN_DIR/mpicc --showme:incdirs`"
56 #setenv OPENMPI_COMPILE_FLAGS "`$OPENMPI_BIN_DIR/mpicc --showme:compile`"
57 #setenv OPENMPI_LINK_FLAGS "`$OPENMPI_BIN_DIR/mpicc --showme:link`"
59 # Specify system installed ThirdParty packages/libraries
60 # NB: The packages installed under $WM_THIRD_PARTY_DIR
61 # will always override these values.
62 # So build your ThirdParty directory accordingly.
63 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 # System installed Mesquite
66 #setenv MESQUITE_SYSTEM 1
67 #setenv MESQUITE_DIR path_to_system_installed_mesquite
68 #setenv MESQUITE_BIN_DIR $MESQUITE_DIR/bin
69 #setenv MESQUITE_LIB_DIR $MESQUITE_DIR/lib
70 #setenv MESQUITE_INCLUDE_DIR $MESQUITE_DIR/include
72 # System installed Metis
73 #setenv METIS_SYSTEM 1
74 #setenv METIS_DIR path_to_system_installed_metis
75 #setenv METIS_BIN_DIR $METIS_DIR/bin
76 #setenv METIS_LIB_DIR $METIS_DIR/lib
77 #setenv METIS_INCLUDE_DIR $METIS_DIR/include
79 # System installed ParMetis
80 #setenv PARMETIS_SYSTEM 1
81 #setenv PARMETIS_DIR path_to_system_installed_parmetis
82 #setenv PARMETIS_BIN_DIR $PARMETIS_DIR/bin
83 #setenv PARMETIS_LIB_DIR $PARMETIS_DIR/lib
84 #setenv PARMETIS_INCLUDE_DIR $PARMETIS_DIR/include
86 # System installed ParMGridgen
87 #setenv PARMGRIDGEN_SYSTEM 1
88 #setenv PARMGRIDGEN_DIR path_to_system_installed_parmgridgen
89 #setenv PARMGRIDGEN_BIN_DIR $PARMGRIDGEN_DIR/bin
90 #setenv PARMGRIDGEN_LIB_DIR $PARMGRIDGEN_DIR/lib
91 #setenv PARMGRIDGEN_INCLUDE_DIR $PARMGRIDGEN_DIR/include
93 # System installed Scotch
94 #setenv SCOTCH_SYSTEM 1
95 #setenv SCOTCH_DIR path_to_system_installed_scotch
96 #setenv SCOTCH_BIN_DIR $SCOTCH_DIR/bin
97 #setenv SCOTCH_LIB_DIR $SCOTCH_DIR/lib
98 #setenv SCOTCH_INCLUDE_DIR $SCOTCH_DIR/include
100 # System installed CMake
101 #setenv CMAKE_SYSTEM 1
102 #setenv CMAKE_DIR path_to_system_installed_cmake
103 #setenv CMAKE_BIN_DIR $CMAKE_DIR/bin
105 # System installed Python
106 #setenv PYTHON_SYSTEM 1
107 #setenv PYTHON_DIR path_to_system_installed_python
108 #setenv PYTHON_BIN_DIR $PYTHON_DIR/bin
110 # System installed Qt
111 # This is the only package we assume is system installed by default.
112 # So we don't use a variable called QT_SYSTEM, but instead a variable
113 # called QT_THIRD_PARTY in order to override to the ThirdParty QT
116 # If you choose to use the system installed version of QT, keep
117 # the variable QT_THIRD_PARTY commented, and uncomment the initialization
118 # of the variable QT_DIR and QT_BIN_DIR. Make sure both variables are
119 # properly initialized.
121 # If you choose instead to use the ThirdParty version of QT, only uncomment
122 # the variable QT_THIRD_PARTY and set it to 1. Keep the initialization
123 # of the variables QT_DIR nd QT_BIN_DIR commented. The QT ThirdParty scripts
124 # will take care of setting the variables QT_DIR and QT_BIN_DIR to the
127 #setenv QT_THIRD_PARTY 1
128 #setenv QT_DIR path_to_system_installed_qt
129 #setenv QT_BIN_DIR $QT_DIR/bin
131 # System installed ParaView
132 #setenv PARAVIEW_SYSTEM 1
133 #setenv PARAVIEW_DIR path_to_system_installed_paraview
134 #setenv PARAVIEW_BIN_DIR $PARAVIEW_DIR/bin
137 # Specify ParaView version
138 # ~~~~~~~~~~~~~~~~~~~~~~~~
139 #setenv ParaView_VERSION git # eg, cvs/git version
140 #setenv ParaView_MAJOR 3.7
142 # ----------------------------------------------------------------- end-of-file