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 Libccmio
94 #setenv LIBCCMIO_SYSTEM 1
95 #setenv LIBCCMIO_DIR path_to_system_installed_libccmio
96 #setenv LIBCCMIO_BIN_DIR $LIBCCMIO_DIR/bin
97 #setenv LIBCCMIO_LIB_DIR $LIBCCMIO_DIR/lib
98 #setenv LIBCCMIO_INCLUDE_DIR $LIBCCMIO_DIR/include
100 # System installed Scotch
101 #setenv SCOTCH_SYSTEM 1
102 #setenv SCOTCH_DIR path_to_system_installed_scotch
103 #setenv SCOTCH_BIN_DIR $SCOTCH_DIR/bin
104 #setenv SCOTCH_LIB_DIR $SCOTCH_DIR/lib
105 #setenv SCOTCH_INCLUDE_DIR $SCOTCH_DIR/include
107 # System installed CMake
108 #setenv CMAKE_SYSTEM 1
109 #setenv CMAKE_DIR path_to_system_installed_cmake
110 #setenv CMAKE_BIN_DIR $CMAKE_DIR/bin
112 # System installed Python
113 #setenv PYTHON_SYSTEM 1
114 #setenv PYTHON_DIR path_to_system_installed_python
115 #setenv PYTHON_BIN_DIR $PYTHON_DIR/bin
117 # System installed Qt
118 # This is the only package we assume is system installed by default.
119 # So we don't use a variable called QT_SYSTEM, but instead a variable
120 # called QT_THIRD_PARTY in order to override to the ThirdParty QT
123 # If you choose to use the system installed version of QT, keep
124 # the variable QT_THIRD_PARTY commented, and uncomment the initialization
125 # of the variable QT_DIR and QT_BIN_DIR. Make sure both variables are
126 # properly initialized.
128 # If you choose instead to use the ThirdParty version of QT, only uncomment
129 # the variable QT_THIRD_PARTY and set it to 1. Keep the initialization
130 # of the variables QT_DIR nd QT_BIN_DIR commented. The QT ThirdParty scripts
131 # will take care of setting the variables QT_DIR and QT_BIN_DIR to the
134 #setenv QT_THIRD_PARTY 1
135 #setenv QT_DIR path_to_system_installed_qt
136 #setenv QT_BIN_DIR $QT_DIR/bin
138 # System installed ParaView
139 #setenv PARAVIEW_SYSTEM 1
140 #setenv PARAVIEW_DIR path_to_system_installed_paraview
141 #setenv PARAVIEW_BIN_DIR $PARAVIEW_DIR/bin
144 # Specify ParaView version
145 # ~~~~~~~~~~~~~~~~~~~~~~~~
146 #setenv ParaView_VERSION git # eg, cvs/git version
147 #setenv ParaView_MAJOR 3.7
149 # ----------------------------------------------------------------- end-of-file