CONFIG: harmonize adios1, adios2 config files. Add to setup.

This commit is contained in:
Mark Olesen
2019-07-31 13:21:52 +02:00
committed by Andrew Heather
parent 59b867b7af
commit 1b4b127af5
8 changed files with 49 additions and 47 deletions

39
etc/config.csh/adios2 Normal file
View 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
#------------------------------------------------------------------------------