mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
60 lines
2.1 KiB
Bash
60 lines
2.1 KiB
Bash
#----------------------------------*-sh-*--------------------------------------
|
|
# ========= |
|
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
# \\ / O peration |
|
|
# \\ / A nd | Copyright (C) 2017 OpenCFD Ltd.
|
|
# \\/ M anipulation |
|
|
#------------------------------------------------------------------------------
|
|
# This file is part of OpenFOAM, licensed under the GNU General Public License
|
|
# <http://www.gnu.org/licenses/>.
|
|
#
|
|
# File
|
|
# etc/config.sh/kahip
|
|
#
|
|
# Description
|
|
# Setup for kahip include/libraries.
|
|
# Sourced during wmake process only.
|
|
#
|
|
# Normally used to specify the kahip version and location for a
|
|
# ThirdParty installation.
|
|
#
|
|
# If using system-wide installations, use the following setting:
|
|
#
|
|
# KAHIP_VERSION=kahip-system
|
|
#
|
|
# If the system kahip is unusable (eg, too old) and you don't
|
|
# have or want a ThirdParty installation:
|
|
#
|
|
# KAHIP_VERSION=kahip-none
|
|
#
|
|
# If using a central installation, but not located under ThirdParty:
|
|
# - specify kahip-system
|
|
# - provide full path for KAHIP_ARCH_PATH
|
|
#
|
|
# Note
|
|
# A csh version is not needed, since the values here are only sourced
|
|
# during the wmake process.
|
|
#
|
|
# KaHIP can also be entirely disabled, by either renaming this file or
|
|
# by creating an empty one with the same name at a user or site location.
|
|
#
|
|
# KaHIP is 32-bit precision only.
|
|
# An Int64 OpenFOAM version can use it, but the mesh size is limited
|
|
# accordingly.
|
|
#
|
|
# If KaHIP was compiled with openmp, you may need additional
|
|
# compile or link flags in KAHIP_COMP_FLAGS KAHIP_LINK_FLAGS
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
# USER EDITABLE PART: Changes made here may be lost with the next upgrade
|
|
|
|
KAHIP_VERSION=kahip-2.00
|
|
export KAHIP_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$KAHIP_VERSION
|
|
|
|
# Adjust as required
|
|
# export KAHIP_COMP_FLAGS="-fopenmp"
|
|
export KAHIP_LINK_FLAGS="-lgomp"
|
|
|
|
# END OF (NORMAL) USER EDITABLE PART
|
|
#------------------------------------------------------------------------------
|