mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
CONFIG: harmonize adios1, adios2 config files. Add to setup.
This commit is contained in:
committed by
Andrew Heather
parent
59b867b7af
commit
1b4b127af5
39
etc/config.csh/adios2
Normal file
39
etc/config.csh/adios2
Normal file
@ -0,0 +1,39 @@
|
||||
#----------------------------------*-sh-*--------------------------------------
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2017-2018 OpenCFD Ltd.
|
||||
# \\/ M anipulation |
|
||||
#------------------------------------------------------------------------------
|
||||
# License
|
||||
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# File
|
||||
# etc/config.csh/adios2
|
||||
# - sourced by OpenFOAM-*/etc/cshrc
|
||||
#
|
||||
# Description
|
||||
# Setup for ADIOS2 include/libraries (usually ThirdParty installation).
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
# USER EDITABLE PART: Changes made here may be lost with the next upgrade
|
||||
|
||||
set adios2_version=ADIOS2-2.4.0
|
||||
setenv ADIOS2_ARCH_PATH $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$adios2_version
|
||||
|
||||
# END OF (NORMAL) USER EDITABLE PART
|
||||
#------------------------------------------------------------------------------
|
||||
if ($?FOAM_VERBOSE && $?prompt) then
|
||||
echo "Using adios ($adios2_version) -> $ADIOS2_ARCH_PATH"
|
||||
endif
|
||||
|
||||
# - only add if the directory really exists
|
||||
_foamAddLibAuto $ADIOS2_ARCH_PATH
|
||||
if ($status == 0) then
|
||||
_foamAddPath $ADIOS2_ARCH_PATH/bin
|
||||
endif
|
||||
|
||||
unset adios2_version
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user