2010-10-04 12:13:26 +00:00
|
|
|
#----------------------------------*-sh-*--------------------------------------
|
|
|
|
# ========= |
|
2013-12-11 16:09:41 +00:00
|
|
|
# \\ / F ield | foam-extend: Open Source CFD
|
2010-10-04 12:13:26 +00:00
|
|
|
# \\ / O peration |
|
2013-12-11 16:09:41 +00:00
|
|
|
# \\ / A nd | For copyright notice see file Copyright
|
2010-10-04 12:13:26 +00:00
|
|
|
# \\/ M anipulation |
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# License
|
2013-12-11 16:09:41 +00:00
|
|
|
# This file is part of foam-extend.
|
2010-10-04 12:13:26 +00:00
|
|
|
#
|
2013-12-11 16:09:41 +00:00
|
|
|
# foam-extend is free software: you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by the
|
|
|
|
# Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
# option) any later version.
|
2010-10-04 12:13:26 +00:00
|
|
|
#
|
2013-12-11 16:09:41 +00:00
|
|
|
# foam-extend is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# General Public License for more details.
|
2010-10-04 12:13:26 +00:00
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2013-12-11 16:09:41 +00:00
|
|
|
# along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
|
2010-10-04 12:13:26 +00:00
|
|
|
#
|
|
|
|
# File
|
|
|
|
# etc/prefs.csh
|
|
|
|
#
|
|
|
|
# Description
|
2015-04-23 12:51:07 +00:00
|
|
|
# Preset variables for the FOAM configuration - C-Shell shell syntax.
|
2010-10-04 12:13:26 +00:00
|
|
|
#
|
2015-04-23 12:51:07 +00:00
|
|
|
# The prefs.csh file will be sourced by the FOAM etc/cshrc when it is
|
2013-12-11 16:09:41 +00:00
|
|
|
# found
|
2010-10-04 12:13:26 +00:00
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
## Specify system compiler
|
|
|
|
## ~~~~~~~~~~~~~~~~~~~~~~~
|
2015-04-23 12:51:07 +00:00
|
|
|
#set compilerInstall=System
|
|
|
|
#set compilerInstall=FOAM
|
2010-10-04 12:13:26 +00:00
|
|
|
|
2010-12-09 02:28:32 +00:00
|
|
|
# Specify system openmpi
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
#
|
|
|
|
# Normally, you don't need to set more than these 3 env. variables
|
2013-07-07 16:59:07 +00:00
|
|
|
# The other openmpi related variables will be initialized using
|
2010-12-09 02:28:32 +00:00
|
|
|
# the command mpicc --showme:
|
|
|
|
#
|
2010-10-04 12:13:26 +00:00
|
|
|
#setenv WM_MPLIB SYSTEMOPENMPI
|
2010-12-09 02:28:32 +00:00
|
|
|
#setenv OPENMPI_DIR path_to_system_installed_openmpi
|
|
|
|
#setenv OPENMPI_BIN_DIR $OPENMPI_DIR/bin
|
|
|
|
#
|
|
|
|
#setenv OPENMPI_LIB_DIR "`$OPENMPI_BIN_DIR/mpicc --showme:libdirs`"
|
|
|
|
#setenv OPENMPI_INCLUDE_DIR "`$OPENMPI_BIN_DIR/mpicc --showme:incdirs`"
|
|
|
|
#setenv OPENMPI_COMPILE_FLAGS "`$OPENMPI_BIN_DIR/mpicc --showme:compile`"
|
|
|
|
#setenv OPENMPI_LINK_FLAGS "`$OPENMPI_BIN_DIR/mpicc --showme:link`"
|
|
|
|
|
|
|
|
# Specify system installed ThirdParty packages/libraries
|
|
|
|
# NB: The packages installed under $WM_THIRD_PARTY_DIR
|
2013-07-07 16:59:07 +00:00
|
|
|
# will always override these values.
|
2010-12-09 02:28:32 +00:00
|
|
|
# So build your ThirdParty directory accordingly.
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2013-10-11 13:12:56 +00:00
|
|
|
# System installed CUDA
|
|
|
|
#setenv CUDA_SYSTEM 1
|
|
|
|
#setenv CUDA_DIR path_to_system_installed_cuda
|
|
|
|
#setenv CUDA_BIN_DIR $CUDA_DIR/bin
|
|
|
|
#setenv CUDA_LIB_DIR $CUDA_DIR/lib
|
|
|
|
#setenv CUDA_INCLUDE_DIR $CUDA_DIR/include
|
|
|
|
#setenv CUDA_ARCH sm_20
|
|
|
|
|
2010-12-09 02:28:32 +00:00
|
|
|
# System installed Mesquite
|
|
|
|
#setenv MESQUITE_SYSTEM 1
|
|
|
|
#setenv MESQUITE_DIR path_to_system_installed_mesquite
|
|
|
|
#setenv MESQUITE_BIN_DIR $MESQUITE_DIR/bin
|
|
|
|
#setenv MESQUITE_LIB_DIR $MESQUITE_DIR/lib
|
|
|
|
#setenv MESQUITE_INCLUDE_DIR $MESQUITE_DIR/include
|
|
|
|
|
|
|
|
# System installed Metis
|
|
|
|
#setenv METIS_SYSTEM 1
|
|
|
|
#setenv METIS_DIR path_to_system_installed_metis
|
|
|
|
#setenv METIS_BIN_DIR $METIS_DIR/bin
|
|
|
|
#setenv METIS_LIB_DIR $METIS_DIR/lib
|
|
|
|
#setenv METIS_INCLUDE_DIR $METIS_DIR/include
|
|
|
|
|
|
|
|
# System installed ParMetis
|
|
|
|
#setenv PARMETIS_SYSTEM 1
|
|
|
|
#setenv PARMETIS_DIR path_to_system_installed_parmetis
|
|
|
|
#setenv PARMETIS_BIN_DIR $PARMETIS_DIR/bin
|
|
|
|
#setenv PARMETIS_LIB_DIR $PARMETIS_DIR/lib
|
|
|
|
#setenv PARMETIS_INCLUDE_DIR $PARMETIS_DIR/include
|
|
|
|
|
|
|
|
# System installed ParMGridgen
|
|
|
|
#setenv PARMGRIDGEN_SYSTEM 1
|
|
|
|
#setenv PARMGRIDGEN_DIR path_to_system_installed_parmgridgen
|
|
|
|
#setenv PARMGRIDGEN_BIN_DIR $PARMGRIDGEN_DIR/bin
|
|
|
|
#setenv PARMGRIDGEN_LIB_DIR $PARMGRIDGEN_DIR/lib
|
|
|
|
#setenv PARMGRIDGEN_INCLUDE_DIR $PARMGRIDGEN_DIR/include
|
|
|
|
|
2010-12-20 03:22:59 +00:00
|
|
|
# System installed Libccmio
|
|
|
|
#setenv LIBCCMIO_SYSTEM 1
|
|
|
|
#setenv LIBCCMIO_DIR path_to_system_installed_libccmio
|
|
|
|
#setenv LIBCCMIO_BIN_DIR $LIBCCMIO_DIR/bin
|
|
|
|
#setenv LIBCCMIO_LIB_DIR $LIBCCMIO_DIR/lib
|
|
|
|
#setenv LIBCCMIO_INCLUDE_DIR $LIBCCMIO_DIR/include
|
|
|
|
|
2010-12-09 02:28:32 +00:00
|
|
|
# System installed Scotch
|
|
|
|
#setenv SCOTCH_SYSTEM 1
|
|
|
|
#setenv SCOTCH_DIR path_to_system_installed_scotch
|
|
|
|
#setenv SCOTCH_BIN_DIR $SCOTCH_DIR/bin
|
|
|
|
#setenv SCOTCH_LIB_DIR $SCOTCH_DIR/lib
|
|
|
|
#setenv SCOTCH_INCLUDE_DIR $SCOTCH_DIR/include
|
|
|
|
|
|
|
|
# System installed CMake
|
|
|
|
#setenv CMAKE_SYSTEM 1
|
|
|
|
#setenv CMAKE_DIR path_to_system_installed_cmake
|
|
|
|
#setenv CMAKE_BIN_DIR $CMAKE_DIR/bin
|
|
|
|
|
|
|
|
# System installed Python
|
|
|
|
#setenv PYTHON_SYSTEM 1
|
|
|
|
#setenv PYTHON_DIR path_to_system_installed_python
|
|
|
|
#setenv PYTHON_BIN_DIR $PYTHON_DIR/bin
|
|
|
|
|
2013-07-07 16:59:07 +00:00
|
|
|
# System installed PyFoam
|
|
|
|
#setenv PYFOAM_SYSTEM 1
|
|
|
|
#setenv PYFOAM_DIR path_to_system_installed_python
|
|
|
|
#setenv PYFOAM_BIN_DIR $PYFOAM_DIR/bin
|
|
|
|
|
|
|
|
# System installed hwloc
|
|
|
|
#setenv HWLOC_SYSTEM 1
|
|
|
|
#setenv HWLOC_DIR path_to_system_installed_hwloc
|
|
|
|
#setenv HWLOC_BIN_DIR $HWLOC_DIR/bin
|
|
|
|
|
2010-12-09 02:28:32 +00:00
|
|
|
# System installed Qt
|
|
|
|
# This is the only package we assume is system installed by default.
|
|
|
|
# So we don't use a variable called QT_SYSTEM, but instead a variable
|
|
|
|
# called QT_THIRD_PARTY in order to override to the ThirdParty QT
|
|
|
|
# package.
|
2010-12-16 01:26:41 +00:00
|
|
|
#
|
|
|
|
# If you choose to use the system installed version of QT, keep
|
|
|
|
# the variable QT_THIRD_PARTY commented, and uncomment the initialization
|
|
|
|
# of the variable QT_DIR and QT_BIN_DIR. Make sure both variables are
|
|
|
|
# properly initialized.
|
|
|
|
#
|
|
|
|
# If you choose instead to use the ThirdParty version of QT, only uncomment
|
2013-07-07 16:59:07 +00:00
|
|
|
# the variable QT_THIRD_PARTY and set it to 1. Keep the initialization
|
2010-12-16 01:26:41 +00:00
|
|
|
# of the variables QT_DIR nd QT_BIN_DIR commented. The QT ThirdParty scripts
|
2013-07-07 16:59:07 +00:00
|
|
|
# will take care of setting the variables QT_DIR and QT_BIN_DIR to the
|
2010-12-16 01:26:41 +00:00
|
|
|
# proper values.
|
|
|
|
#
|
2010-12-09 02:28:32 +00:00
|
|
|
#setenv QT_THIRD_PARTY 1
|
|
|
|
#setenv QT_DIR path_to_system_installed_qt
|
|
|
|
#setenv QT_BIN_DIR $QT_DIR/bin
|
|
|
|
|
|
|
|
# System installed ParaView
|
|
|
|
#setenv PARAVIEW_SYSTEM 1
|
|
|
|
#setenv PARAVIEW_DIR path_to_system_installed_paraview
|
|
|
|
#setenv PARAVIEW_BIN_DIR $PARAVIEW_DIR/bin
|
|
|
|
|
2010-10-04 12:13:26 +00:00
|
|
|
|
|
|
|
# Specify ParaView version
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~
|
2010-12-09 02:28:32 +00:00
|
|
|
#setenv ParaView_VERSION git # eg, cvs/git version
|
|
|
|
#setenv ParaView_MAJOR 3.7
|
2010-10-04 12:13:26 +00:00
|
|
|
|
2013-07-03 17:34:16 +00:00
|
|
|
|
2015-04-23 12:51:07 +00:00
|
|
|
# System identifier for the FOAM CDash test harness on foam-extend
|
2011-05-23 23:00:44 +00:00
|
|
|
#
|
|
|
|
# By default, your system FQN/hostname will be used as the system identifier
|
2015-04-23 12:51:07 +00:00
|
|
|
# when publishing your test harness results on the FOAM CDash server
|
|
|
|
# on foam-extend.
|
2011-05-23 23:00:44 +00:00
|
|
|
# You can override your identifier using this environment variable
|
|
|
|
#setenv CDASH_SUBMIT_LOCAL_HOST_ID choose_your_CDash_system_identifer
|
|
|
|
|
2010-10-04 12:13:26 +00:00
|
|
|
# ----------------------------------------------------------------- end-of-file
|