diff --git a/bin/foamCleanPath b/bin/foamCleanPath index 1a812b0d1b..6049fa8bfe 100755 --- a/bin/foamCleanPath +++ b/bin/foamCleanPath @@ -7,26 +7,14 @@ # \\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd. #------------------------------------------------------------------------------- # License -# This file is part of OpenFOAM. -# -# OpenFOAM 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. -# -# OpenFOAM 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. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM. If not, see . +# This file is part of OpenFOAM, licensed under GNU General Public License +# . # # Script # foamCleanPath # # Description -# Usage: foamCleanPath [-strip] path [wildcard] .. [wildcard] +# Usage: foamCleanPath [OPTION] path [wildcard] .. [wildcard] # # Prints its argument (which should be a ':' separated path) # without the following: @@ -46,6 +34,7 @@ Usage: ${0##*/} [OPTION] path [wildcard1] .. [wildcardN] options: -debug print debug information to stderr -strip remove inaccessible directories + -verbose report some progress (input, output, ...) -help print the usage Prints its argument (which should be a ':' separated list) cleansed from @@ -64,7 +53,7 @@ USAGE # Parse options -unset optDebug optStrip +unset optDebug optStrip optVerbose while [ "$#" -gt 0 ] do case "$1" in @@ -77,6 +66,9 @@ do -strip) optStrip=true ;; + -verbose) + optVerbose=true + ;; *) break ;; @@ -117,13 +109,17 @@ oldIFS="$IFS" # Preserve initial IFS IFS=': ' # Split on colon, whitespace set -- $* +if [ -n "$optVerbose" ] +then + echo "clean: $dirList" 1>&2 + echo "with: $@" 1>&2 +fi + printDebug "input>$dirList<" # Strip out wildcards via sed. Path and wildcard cannot contain '?'. -while [ "$#" -ge 1 ] +for wildcard do - wildcard="$1" - shift if [ -n "$wildcard" ] then printDebug "remove>$wildcard<" @@ -157,6 +153,12 @@ do done printDebug "output>$dirList<" + +if [ -n "$optVerbose" ] +then + echo "output: $dirList" 1>&2 +fi + echo "$dirList" #------------------------------------------------------------------------------ diff --git a/etc/config.csh/ADIOS b/etc/config.csh/ADIOS index 7b33f430a9..7ef241af60 100644 --- a/etc/config.csh/ADIOS +++ b/etc/config.csh/ADIOS @@ -13,31 +13,27 @@ # etc/config.csh/ADIOS # # Description -# Setup file for ADIOS include/libraries. +# Setup for ADIOS include/libraries (usually ThirdParty installation). # Sourced from OpenFOAM-/etc/cshrc # -# If using system-wide installations, use the following settings: +# To disable its use: adios_version=adios-none +# For system-wide installations: adios_version=adios-system # -# adios_version=adios-system -# -# If the system adios is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# -# adios_version=adios-none -# -# If using a central installation, but not located under ThirdParty: -# - specify adios-system -# - provide full paths for ADIOS_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use adios-system +# 2. and provide full path for ADIOS_ARCH_PATH # # Note -# When building OpenFOAM, any changes made here MUST be made in the -# equivalent config.sh version too, since that is the one which will -# be used during the build process. See further notes there. +# Changes made here MUST be made in the equivalent config.sh version too, +# since that is the one used in the build process. +# See further notes there. # +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade -set adios_version=ADIOS-1.12.0 +set adios_version=ADIOS-1.13.0 setenv ADIOS_ARCH_PATH $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$adios_version # END OF (NORMAL) USER EDITABLE PART diff --git a/etc/config.csh/ADIOS2 b/etc/config.csh/ADIOS2 new file mode 100644 index 0000000000..a78d06a752 --- /dev/null +++ b/etc/config.csh/ADIOS2 @@ -0,0 +1,43 @@ +#----------------------------------*-sh-*-------------------------------------- +# ========= | +# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox +# \\ / O peration | +# \\ / A nd | Copyright (C) 2017 OpenCFD Ltd. +# \\/ M anipulation | +#------------------------------------------------------------------------------ +# License +# This file is part of OpenFOAM, licensed under GNU General Public License +# . +# +# File +# etc/config.csh/ADIOS2 +# +# Description +# Setup for ADIOS2 include/libraries (usually ThirdParty installation). +# Sourced from OpenFOAM-/etc/cshrc +# +#------------------------------------------------------------------------------ +# USER EDITABLE PART: Changes made here may be lost with the next upgrade + +set adios2_version=ADIOS2-git +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 + +# If *_ARCH_PATH does not end with '-system' or '-none', +# it is located within ThirdParty, or a central installation +# outside of ThirdParty and should be added to the path. + +set ending="${ADIOS2_ARCH_PATH:t}" +if ( "$ending" != "adios-none" && "$ending" != "adios-system" ) then + # PATH was already cleaned by etc/cshrc caller + _foamAddPath $ADIOS2_ARCH_PATH/bin +endif + +unset adios_version ending + +#------------------------------------------------------------------------------ diff --git a/etc/config.csh/CGAL b/etc/config.csh/CGAL index b45adadb51..d4190c3a97 100644 --- a/etc/config.csh/CGAL +++ b/etc/config.csh/CGAL @@ -3,7 +3,7 @@ # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation -# \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. +# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, licensed under GNU General Public License @@ -16,26 +16,24 @@ # Setup file for CGAL (& boost) include/libraries. # Sourced from OpenFOAM-/etc/cshrc # -# If using system-wide installations, use the following settings: -# -# boost_version=boost-system -# cgal_version=cgal-system -# -# If the system boost/cgal is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# +# To disable its use: # boost_version=boost-none # cgal_version=cgal-none # -# If using a central installation, but not located under ThirdParty: -# - specify boost-system / cgal-system -# - provide full paths for BOOST_ARCH_PATH / CGAL_ARCH_PATH +# For system-wide installations: +# boost_version=boost-system +# cgal_version=cgal-system +# +# For central installations not located under ThirdParty: +# 1. use boost-system / cgal-system +# 2. and provide full paths for BOOST_ARCH_PATH / CGAL_ARCH_PATH # # Note -# When building OpenFOAM, any changes made here MUST be made in the -# equivalent config.sh version too, since that is the one which will -# be used during the build process. +# Changes made here MUST be made in the equivalent config.sh version too, +# since that is the one used in the build process. # +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.csh/FFTW b/etc/config.csh/FFTW index d3efa7dc70..7cb78bb943 100644 --- a/etc/config.csh/FFTW +++ b/etc/config.csh/FFTW @@ -2,7 +2,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2016 OpenCFD Ltd. +# \\ / A nd | Copyright (C) 2016-2017 OpenCFD Ltd. # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -13,31 +13,26 @@ # etc/config.csh/FFTW # # Description -# Setup file for FFTW include/libraries. -# Sourced from OpenFOAM-/etc/cshrc +# Setup for FFTW include/libraries (usually ThirdParty installation). +# Sourced from OpenFOAM-/etc/bashrc # -# If using system-wide installations, use the following settings: +# To disable its use: fftw_version=fftw-none +# For system-wide installations: fftw_version=fftw-system # -# fftw_version=fftw-system -# -# If the system fftw is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# -# fftw_version=fftw-none -# -# If using a central installation, but not located under ThirdParty: -# - specify fftw-system -# - provide full paths for FFTW_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use fftw-system +# 2. and provide full path for FFTW_ARCH_PATH # # Note -# When building OpenFOAM, any changes made here MUST be made in the -# equivalent config.sh version too, since that is the one which will -# be used during the build process. +# Changes made here MUST be made in the equivalent config.sh version too, +# since that is the one used in the build process. # +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade -set fftw_version=fftw-3.3.6-pl1 +set fftw_version=fftw-3.3.7 setenv FFTW_ARCH_PATH $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$fftw_version # END OF (NORMAL) USER EDITABLE PART diff --git a/etc/config.csh/aliases b/etc/config.csh/aliases index a2651043d0..31afd9850e 100644 --- a/etc/config.csh/aliases +++ b/etc/config.csh/aliases @@ -3,7 +3,7 @@ # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation -# \\/ M anipulation | +# \\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, licensed under GNU General Public License diff --git a/etc/config.csh/compiler b/etc/config.csh/compiler index 8db05c34fe..e0fd81d075 100644 --- a/etc/config.csh/compiler +++ b/etc/config.csh/compiler @@ -13,7 +13,7 @@ # etc/config.csh/compiler # # Description -# Setup file for custom compiler versions for OpenFOAM +# Setup for custom compiler versions for OpenFOAM # Sourced from OpenFOAM-/etc/config.csh/settings # #------------------------------------------------------------------------------ diff --git a/etc/config.csh/ensight b/etc/config.csh/ensight index 0212bb6e4f..b294eeade3 100644 --- a/etc/config.csh/ensight +++ b/etc/config.csh/ensight @@ -10,10 +10,10 @@ # . # # File -# config.csh/ensight +# etc/config.csh/ensight # # Description -# Setup file for Ensight +# Setup for ENSIGHT # Sourced from OpenFOAM-*/etc/cshrc # #------------------------------------------------------------------------------ diff --git a/etc/config.csh/mpi b/etc/config.csh/mpi index a12e939757..581bf0274b 100644 --- a/etc/config.csh/mpi +++ b/etc/config.csh/mpi @@ -13,7 +13,7 @@ # etc/config.csh/mpi # # Description -# Setup file for communications library (MPI) for OpenFOAM +# Setup for MPI communications library for OpenFOAM # Sourced from OpenFOAM-/etc/cshrc # # For USERMPI, the user is responsible for supplying an appropriate diff --git a/etc/config.csh/paraview b/etc/config.csh/paraview index b4e65fbf0c..42a8f9a588 100644 --- a/etc/config.csh/paraview +++ b/etc/config.csh/paraview @@ -13,12 +13,11 @@ # config.csh/paraview # # Description -# Setup file for paraview (and cmake) +# Setup for PARAVIEW (partially cmake, qt too) # Sourced from OpenFOAM-/etc/cshrc or from foamPV alias # -# If using system-wide installation for cmake, use the following settings: -# -# cmake_version=cmake-system +# For system-wide cmake: cmake_version=cmake-system +# For system-wide qt: ParaView_QT=qt-system # # Note # The following env. variables are required for building plugins: @@ -26,40 +25,45 @@ # ParaView_INCLUDE_DIR # PV_PLUGIN_PATH # -# If using a central installation not located under ThirdParty, you will -# need to set some environment values directly. For example, +# For central installations not located under ThirdParty, the environment +# values must be set manually. For example, # -# setenv ParaView_DIR /opt/paraview/paraview-5.0.1 -# setenv ParaView_INCLUDE_DIR $ParaView_DIR/include/paraview-5.0 -# setenv PV_PLUGIN_PATH $FOAM_LIBBIN/paraview-5.0 +# setenv ParaView_DIR /opt/paraview/paraview-5.4.1 +# setenv ParaView_INCLUDE_DIR $ParaView_DIR/include/paraview-5.4 +# setenv PV_PLUGIN_PATH $FOAM_LIBBIN/paraview-5.4 # # setenv PATH ${ParaView_DIR}/bin:${PATH} -# setenv LD_LIBRARY_PATH ${ParaView_DIR}/lib/paraview-5.0:${LD_LIBRARY_PATH} +# setenv LD_LIBRARY_PATH ${ParaView_DIR}/lib/paraview-5.4:${LD_LIBRARY_PATH} # unsetenv ParaView_VERSION # avoid using ThirdParty settings # #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade -setenv ParaView_VERSION 5.4.0 -setenv ParaView_MAJOR detect # Automatically determine major version +setenv ParaView_VERSION 5.4.1 +set ParaView_QT=qt-system set cmake_version=cmake-system # END OF (NORMAL) USER EDITABLE PART #------------------------------------------------------------------------------ +set pv_api=auto # Normally auto or pair of digits (eg, '5.4' etc) if (! $?ParaView_DIR ) setenv ParaView_DIR +if (! $?WM_COMPILER_LIB_ARCH ) setenv WM_COMPILER_LIB_ARCH + +# Compiler-specific location for ThirdParty installations +set archDir="$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER" # Clean PATH and LD_LIBRARY_PATH -set cleaned=`$WM_PROJECT_DIR/bin/foamCleanPath "$PATH" "$ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/cmake- $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/ParaView-"` +set cleaned=`$WM_PROJECT_DIR/bin/foamCleanPath "$PATH" "$ParaView_DIR $archDir/cmake- $archDir/qt- $archDir/ParaView-"` if ( $status == 0 ) setenv PATH $cleaned if ( $?LD_LIBRARY_PATH ) then - set cleaned=`$WM_PROJECT_DIR/bin/foamCleanPath "$LD_LIBRARY_PATH" "$ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/ParaView-"` + set cleaned=`$WM_PROJECT_DIR/bin/foamCleanPath "$LD_LIBRARY_PATH" "$ParaView_DIR $archDir/qt- $archDir/ParaView-"` if ( $status == 0 ) setenv LD_LIBRARY_PATH $cleaned endif # ThirdParty cmake -set cmake=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$cmake_version +set cmake=$archDir/$cmake_version if ( -r $cmake/bin/cmake ) then # _foamAddPath not available when foamPV alias is used setenv PATH $cmake/bin:${PATH} @@ -81,34 +85,43 @@ end # Avoids conflict with an alternative (non-ThirdParty) installation. if ( $?ParaView_VERSION ) then - # Set MAJOR version to correspond to VERSION - # ParaView_MAJOR is "." from ParaView_VERSION + # Set API to correspond to VERSION + # pv_api is . from ParaView_VERSION + if (! $?pv_api ) set pv_api=auto switch ("$ParaView_VERSION") - case "$ParaView_MAJOR".*: - # Version and major appear to correspond + case "$pv_api".*: + # API and VERSION appear to correspond breaksw case [0-9]*: - # Extract major from the version - setenv ParaView_MAJOR `echo ${ParaView_VERSION} | \ + # Extract API from VERSION + set pv_api=`echo ${ParaView_VERSION} | \ sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'` breaksw endsw - set pvName=ParaView-$ParaView_VERSION - set pvMajor=paraview-$ParaView_MAJOR - - setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$pvName + setenv ParaView_DIR $archDir/ParaView-$ParaView_VERSION + set pvSubDir=paraview-$pv_api # Set paths if binaries are present if ( -r $ParaView_DIR ) then - set pvLibDir=${ParaView_DIR}/lib/$pvMajor + set pvLibDir=${ParaView_DIR}/lib/$pvSubDir set pvPython=$ParaView_DIR/Utilities/VTKPythonWrapping setenv PATH ${ParaView_DIR}/bin:${PATH} - setenv ParaView_INCLUDE_DIR $ParaView_DIR/include/$pvMajor - setenv PV_PLUGIN_PATH $FOAM_LIBBIN/$pvMajor - setenv LD_LIBRARY_PATH "${pvLibDir}:${LD_LIBRARY_PATH}" + setenv ParaView_INCLUDE_DIR $ParaView_DIR/include/$pvSubDir + setenv PV_PLUGIN_PATH $FOAM_LIBBIN/$pvSubDir + + # Add in qt libraries as required + set qtDir="$archDir/$ParaView_QT" + if ( -d "$qtDir" ) then + foreach qtLibDir ("$qtDir/lib$WM_COMPILER_LIB_ARCH" "$qtDir/lib") + if ( -d "$qtLibDir" ) then + setenv LD_LIBRARY_PATH "${qtLibDir}:${LD_LIBRARY_PATH}" + break + endif + end + endif # Add in python libraries if required if ( -r $pvPython ) then @@ -119,6 +132,9 @@ if ( $?ParaView_VERSION ) then endif endif + # Prepend paraview libraries + setenv LD_LIBRARY_PATH "${pvLibDir}:${LD_LIBRARY_PATH}" + if ($?FOAM_VERBOSE && $?prompt) then echo "Using paraview" echo " ParaView_DIR : $ParaView_DIR" @@ -138,7 +154,9 @@ if ( $?ParaView_VERSION ) then endif -unset cleaned cmake cmake_version pvName pvMajor pvLibDir pvPython -unsetenv ParaView_MAJOR ParaView_VERSION +unset cleaned archDir +unset cmake cmake_version +unset pv_api pvSubDir pvLibDir pvPython qtDir qtLibDir +unsetenv ParaView_VERSION ParaView_QT #------------------------------------------------------------------------------ diff --git a/etc/config.csh/settings b/etc/config.csh/settings index 05ed6eba4b..4c88b294b8 100644 --- a/etc/config.csh/settings +++ b/etc/config.csh/settings @@ -13,8 +13,7 @@ # etc/config.csh/settings # # Description -# Setup file for OpenFOAM -# Sourced from OpenFOAM-/etc/cshrc +# Settings for OpenFOAM, sourced from OpenFOAM-/etc/cshrc # #------------------------------------------------------------------------------ diff --git a/etc/config.csh/unset b/etc/config.csh/unset index daed3469e2..9d62c3ac38 100644 --- a/etc/config.csh/unset +++ b/etc/config.csh/unset @@ -3,7 +3,7 @@ # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation -# \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. +# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, licensed under GNU General Public License @@ -109,7 +109,6 @@ unsetenv OPAL_PREFIX unsetenv ENSIGHT9_READER unsetenv ParaView_DIR unsetenv ParaView_INCLUDE_DIR -unsetenv ParaView_MAJOR unsetenv ParaView_VERSION unsetenv PV_PLUGIN_PATH unsetenv VTK_DIR @@ -118,6 +117,8 @@ unsetenv VTK_DIR # unset other ThirdParty environment variables unsetenv ADIOS_ARCH_PATH +unsetenv ADIOS1_ARCH_PATH +unsetenv ADIOS2_ARCH_PATH unsetenv BOOST_ARCH_PATH unsetenv CCMIO_ARCH_PATH unsetenv CGAL_ARCH_PATH @@ -141,14 +142,12 @@ if ( $?foamClean ) then if ($?LD_LIBRARY_PATH) then set cleaned=`$foamClean "$LD_LIBRARY_PATH" "$foamOldDirs"` if ( $status == 0 ) setenv LD_LIBRARY_PATH $cleaned - if ( ${%LD_LIBRARY_PATH} == 0 ) unsetenv LD_LIBRARY_PATH endif if ($?MANPATH) then set cleaned=`$foamClean "$MANPATH" "$foamOldDirs"` if ( $status == 0 ) setenv MANPATH $cleaned - if ( ${%MANPATH} == 0 ) unsetenv MANPATH endif diff --git a/etc/config.csh/vtk b/etc/config.csh/vtk index 00927aae54..1c660cfbd6 100644 --- a/etc/config.csh/vtk +++ b/etc/config.csh/vtk @@ -2,7 +2,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2016 OpenCFD Ltd. +# \\ / A nd | Copyright (C) 2016-2017 OpenCFD Ltd. # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -20,9 +20,8 @@ # actually exist at the time of sourcing. # # Note -# When building OpenFOAM, any changes made here MUST be made in the -# equivalent config.sh version too, since that is the one which will -# be used during the build process. +# Changes made here MUST be made in the equivalent config.sh version too, +# since that is the one used in the build process. # # It is recommended to use VTK sources from ParaView (5.0.1 or later) # diff --git a/etc/config.sh/ADIOS b/etc/config.sh/ADIOS index f27da80973..92d58a02e6 100644 --- a/etc/config.sh/ADIOS +++ b/etc/config.sh/ADIOS @@ -13,30 +13,26 @@ # etc/config.sh/ADIOS # # Description -# Setup file for ADIOS include/libraries. +# Setup for ADIOS include/libraries (usually ThirdParty installation). # Sourced from OpenFOAM-/etc/bashrc # -# If using system-wide installations, use the following settings: +# To disable its use: adios_version=adios-none +# For system-wide installations: adios_version=adios-system # -# adios_version=adios-system -# -# If the system adios is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# -# adios_version=adios-none -# -# If using a central installation, but not located under ThirdParty: -# - specify adios-system -# - provide full paths for ADIOS_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use adios-system +# 2. and provide full path for ADIOS_ARCH_PATH # # Note # Since ADIOS is a static library build, the libraries are renamed # for the appropriate MPI. Eg, libadios_openmpi-system # +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade -adios_version=ADIOS-1.12.0 +adios_version=ADIOS-1.13.0 export ADIOS_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$adios_version # END OF (NORMAL) USER EDITABLE PART diff --git a/etc/config.sh/ADIOS2 b/etc/config.sh/ADIOS2 new file mode 100644 index 0000000000..30677cf644 --- /dev/null +++ b/etc/config.sh/ADIOS2 @@ -0,0 +1,49 @@ +#----------------------------------*-sh-*-------------------------------------- +# ========= | +# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox +# \\ / O peration | +# \\ / A nd | Copyright (C) 2017 OpenCFD Ltd. +# \\/ M anipulation | +#------------------------------------------------------------------------------ +# License +# This file is part of OpenFOAM, licensed under GNU General Public License +# . +# +# File +# etc/config.sh/ADIOS2 +# +# Description +# Setup for ADIOS2 include/libraries (usually ThirdParty installation). +# Sourced from OpenFOAM-/etc/bashrc +# +#------------------------------------------------------------------------------ +# USER EDITABLE PART: Changes made here may be lost with the next upgrade + +adios2_version=ADIOS2-git +export ADIOS2_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$adios2_version + +# END OF (NORMAL) USER EDITABLE PART +#------------------------------------------------------------------------------ +if [ "$FOAM_VERBOSE" -a "$PS1" ] +then + echo "Using adios ($adios2_version) -> $ADIOS2_ARCH_PATH" 1>&2 +fi + +if command -v _foamAddPath >/dev/null 2>&1 # normal sourcing +then + # If *_ARCH_PATH does not end with '-system' or '-none', + # it is located within ThirdParty, or a central installation + # outside of ThirdParty and should be added to the path. + + ending="${ADIOS2_ARCH_PATH##*-}" + if [ "$ending" != none -a "$ending" != system ] + then + # PATH was already cleaned by etc/bashrc caller + _foamAddPath $ADIOS2_ARCH_PATH/bin + fi + + unset adios2_version ending + +fi + +#------------------------------------------------------------------------------ diff --git a/etc/config.sh/CGAL b/etc/config.sh/CGAL index 08d0c7ee75..abec7c04b3 100644 --- a/etc/config.sh/CGAL +++ b/etc/config.sh/CGAL @@ -3,7 +3,7 @@ # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation -# \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. +# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, licensed under GNU General Public License @@ -16,25 +16,25 @@ # Setup file for CGAL (& boost) include/libraries. # Sourced from OpenFOAM-/etc/bashrc # -# If using system-wide installations, use the following settings: -# -# boost_version=boost-system -# cgal_version=cgal-system -# -# If the system boost/cgal is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# +# To disable its use: # boost_version=boost-none # cgal_version=cgal-none # -# If using a central installation, but not located under ThirdParty: -# - specify boost-system / cgal-system -# - provide full paths for BOOST_ARCH_PATH / CGAL_ARCH_PATH +# For system-wide installations: +# boost_version=boost-system +# cgal_version=cgal-system +# +# For central installations not located under ThirdParty: +# 1. use boost-system / cgal-system +# 2. and provide full paths for BOOST_ARCH_PATH / CGAL_ARCH_PATH # # Note # When _foamAddLib is unset (eg, called from makeCGAL): -# - boost_version / cgal_version variables are retained. -# - the LD_LIBRARY_PATH is not adjusted. +# - boost_version / cgal_version variables are retained. +# - the LD_LIBRARY_PATH is not adjusted. +# +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.sh/FFTW b/etc/config.sh/FFTW index 2d9b59c254..ce961f544a 100644 --- a/etc/config.sh/FFTW +++ b/etc/config.sh/FFTW @@ -2,7 +2,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2016 OpenCFD Ltd. +# \\ / A nd | Copyright (C) 2016-2017 OpenCFD Ltd. # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -13,30 +13,27 @@ # etc/config.sh/FFTW # # Description -# Setup file for FFTW include/libraries. +# Setup for FFTW include/libraries (usually ThirdParty installation). # Sourced from OpenFOAM-/etc/bashrc # -# If using system-wide installations, use the following settings: +# To disable its use: fftw_version=fftw-none +# For system-wide installations: fftw_version=fftw-system # -# fftw_version=fftw-system -# -# If the system fftw is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# -# fftw_version=fftw-none -# -# If using a central installation, but not located under ThirdParty: -# - specify fftw-system -# - provide full paths for FFTW_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use fftw-system +# 2. and provide full path for FFTW_ARCH_PATH # # Note # When _foamAddLib is unset (eg, called from makeFFTW): -# - fftw_version variable is retained. -# - the LD_LIBRARY_PATH is not adjusted. +# - fftw_version variable is retained. +# - LD_LIBRARY_PATH is not adjusted. +# +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade -fftw_version=fftw-3.3.6-pl1 +fftw_version=fftw-3.3.7 export FFTW_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$fftw_version # END OF (NORMAL) USER EDITABLE PART diff --git a/etc/config.sh/aliases b/etc/config.sh/aliases index 9f189d5cf1..81b9196b88 100644 --- a/etc/config.sh/aliases +++ b/etc/config.sh/aliases @@ -92,10 +92,15 @@ foamVersion() # Change ParaView version # ~~~~~~~~~~~~~~~~~~~~~~~ +# pass in first value directly (eg, 5.4.1) and transform to +# ParaView_VERSION=... +# Any additional arguments must be fully specified and start with "ParaView". +# Eg, +# ParaView_QT=... unset -f foamPV 2>/dev/null foamPV() { - . $WM_PROJECT_DIR/etc/config.sh/paraview "${@+ParaView_VERSION=$1}" + . $WM_PROJECT_DIR/etc/config.sh/paraview "${@+ParaView_VERSION=$@}" local pvdir="${ParaView_DIR##*/}" echo "${pvdir:-ParaView_DIR not set}" 1>&2 } diff --git a/etc/config.sh/ccmio b/etc/config.sh/ccmio index 88c0dd68d0..e58250dd0c 100644 --- a/etc/config.sh/ccmio +++ b/etc/config.sh/ccmio @@ -13,15 +13,15 @@ # etc/config.sh/ccmio # # Description -# Setup file for libccmio include/libraries. +# Setup for LIBCCMIO include/libraries. # Sourced during wmake process only. # # Static libraries (recommended) are found under CCMIO_ARCH_PATH/lib. # Dynamic libraries are found under FOAM_EXT_LIBBIN path. # # Note -# A csh version is not needed, since the values here are only sourced -# during the wmake process +# No csh version. This file is only used by wmake. +# #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.sh/compiler b/etc/config.sh/compiler index 4f00fa46f4..84de0e9aac 100644 --- a/etc/config.sh/compiler +++ b/etc/config.sh/compiler @@ -13,7 +13,7 @@ # etc/config.sh/compiler # # Description -# Setup file for custom compiler versions for OpenFOAM +# Setup for custom compiler versions for OpenFOAM # Sourced from OpenFOAM-/etc/config.sh/settings # #------------------------------------------------------------------------------ diff --git a/etc/config.sh/ensight b/etc/config.sh/ensight index 9b0ab54236..6c06f4fa30 100644 --- a/etc/config.sh/ensight +++ b/etc/config.sh/ensight @@ -13,7 +13,7 @@ # etc/config.sh/ensight # # Description -# Setup file for Ensight +# Setup for ENSIGHT # Sourced from OpenFOAM-*/etc/bashrc # #------------------------------------------------------------------------------ diff --git a/etc/config.sh/gperftools b/etc/config.sh/gperftools index 0bb46c32ea..a4b13ec44b 100644 --- a/etc/config.sh/gperftools +++ b/etc/config.sh/gperftools @@ -13,26 +13,25 @@ # etc/config.sh/gperftools # # Description -# Setup file for gperftools binaries and libraries. +# Setup file for GPERFTOOLS binaries/libraries. # Sourced from OpenFOAM-/etc/bashrc # -# If using system-wide installations, use the following settings: +# To disable its use: gperftools_version=gperftools-none +# For system-wide installations: gperftools_version=gperftools-system # -# gperftools_version=gperftools-system -# -# If the system gperftools is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# -# gperftools_version=gperftools-none -# -# If using a central installation, but not located under ThirdParty: -# - specify gperftools-system -# - provide full paths for GPERFTOOLS_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use gperftools-system +# 2. and provide full path for GPERFTOOLS_ARCH_PATH # # Note # When _foamAddLib is unset (eg, called from makeGperftools): -# - gperftools_version variable are retained. -# - the LD_LIBRARY_PATH and PATH are not adjusted. +# - gperftools_version variable are retained. +# - the LD_LIBRARY_PATH and PATH are not adjusted. +# +# No csh version, This file is only used by wmake. +# +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.sh/kahip b/etc/config.sh/kahip index e6b51c0291..0c764bdc29 100644 --- a/etc/config.sh/kahip +++ b/etc/config.sh/kahip @@ -13,36 +13,25 @@ # etc/config.sh/kahip # # Description -# Setup for kahip include/libraries. +# Setup for KAHIP include/libraries (usually ThirdParty installation). # Sourced during wmake process only. # -# Normally used to specify the kahip version and location for a -# ThirdParty installation. +# To disable its use: KAHIP_VERSION=kahip-none +# For system-wide installations: KAHIP_VERSION=kahip-system # -# 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 +# For central installations not located under ThirdParty: +# 1. use kahip-system +# 2. and 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. # +# No csh version, This file is only used by wmake. +# +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.sh/metis b/etc/config.sh/metis index 59cfe40827..cedca16b2a 100644 --- a/etc/config.sh/metis +++ b/etc/config.sh/metis @@ -3,7 +3,7 @@ # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation -# \\/ M anipulation | +# \\/ M anipulation | Copyright (C) 2016-2017 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, licensed under GNU General Public License @@ -13,32 +13,21 @@ # etc/config.sh/metis # # Description -# Setup file for metis include/libraries. +# Setup for METIS include/libraries (usually ThirdParty installation). # Sourced during wmake process only. # -# Normally used to specify the metis version and location for a -# ThirdParty installation. +# To disable its use: METIS_VERSION=metis-none +# For system-wide installations: METIS_VERSION=metis-system # -# If using system-wide installations, use the following setting: -# -# METIS_VERSION=metis-system -# -# If the system metis is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# -# METIS_VERSION=metis-none -# -# If using a central installation, but not located under ThirdParty: -# - specify metis-system -# - provide full path for METIS_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use metis-system +# 2. and provide full path for METIS_ARCH_PATH # # Note -# A csh version is not needed, since the values here are only sourced -# during the wmake process. -# -# Metis 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. +# No csh version. This file is only used by wmake. # +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.sh/mgridgen b/etc/config.sh/mgridgen index 8fc237e3d9..dfa06d0666 100644 --- a/etc/config.sh/mgridgen +++ b/etc/config.sh/mgridgen @@ -13,32 +13,24 @@ # etc/config.sh/mgridgen # # Description -# Setup file for MGridGen include/libraries. +# Setup for MGRIDGEN include/libraries (usually ThirdParty installation). # Sourced during wmake process only. # # Normally used to specify the MGridGen version and location for a # ThirdParty installation. # -# If using system-wide installations, use the following setting: +# To disable its use: MGRIDGEN_VERSION=mgridgen-none +# For system-wide installations: MGRIDGEN_VERSION=mgridgen-system # -# MGRIDGEN_VERSION=mgridgen-system -# -# If the system mgridgen is unusable and you don't have or want -# a ThirdParty installation: -# -# MGRIDGEN_VERSION=mgridgen-none -# -# If using a central installation, but not located under ThirdParty: -# - specify mgridgen-system -# - provide full path for MGRIDGEN_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use mgridgen-system +# 2. and provide full path for MGRIDGEN_ARCH_PATH # # Note -# A csh version is not needed, since the values here are only sourced -# during the wmake process. -# -# MGridGen can be entirely disabled, by either renaming this file or -# by creating an empty one with the same name at a user or site location. +# No csh version. This file is only used by wmake. # +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.sh/mpi b/etc/config.sh/mpi index 2ee7b51898..a0f48693e4 100644 --- a/etc/config.sh/mpi +++ b/etc/config.sh/mpi @@ -13,7 +13,7 @@ # etc/config.sh/mpi # # Description -# Setup file for communications library (MPI) for OpenFOAM +# Setup for MPI communications library for OpenFOAM # Sourced from OpenFOAM-/etc/bashrc # # For USERMPI, the user is responsible for supplying an appropriate diff --git a/etc/config.sh/paraview b/etc/config.sh/paraview index 47e61b95f4..1ccd7e1e13 100644 --- a/etc/config.sh/paraview +++ b/etc/config.sh/paraview @@ -13,12 +13,11 @@ # etc/config.sh/paraview # # Description -# Setup file for paraview (& cmake) +# Setup for PARAVIEW (partially cmake, qt too) # Sourced from OpenFOAM-/etc/bashrc or from foamPV alias # -# If using system-wide installation for cmake, use the following settings: -# -# cmake_version=cmake-system +# For system-wide cmake: cmake_version=cmake-system +# For system-wide qt: ParaView_QT=qt-system # # Note # The following env. variables are required for building plugins: @@ -26,47 +25,48 @@ # ParaView_INCLUDE_DIR # PV_PLUGIN_PATH # -# If using a central installation not located under ThirdParty, you will -# need to set some environment values directly. For example, +# For central installations not located under ThirdParty, the environment +# values must be set manually. For example, # -# export ParaView_DIR=/opt/paraview/paraview-5.0.1 -# export ParaView_INCLUDE_DIR=$ParaView_DIR/include/paraview-5.0 -# export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-5.0 +# export ParaView_DIR=/opt/paraview/paraview-5.4.1 +# export ParaView_INCLUDE_DIR=$ParaView_DIR/include/paraview-5.4 +# export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-5.4 # # export PATH=$ParaView_DIR/bin:$PATH -# export LD_LIBRARY_PATH=$ParaView_DIR/lib/paraview-5.0:$LD_LIBRARY_PATH +# export LD_LIBRARY_PATH=$ParaView_DIR/lib/paraview-5.4:$LD_LIBRARY_PATH # unset ParaView_VERSION # avoid using ThirdParty settings # # Note # When _foamAddLib is unset (eg, called from makeParaView or from foamPV): -# - the ParaView_VERSION variable is retained. +# - the ParaView_VERSION variable is retained. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade -ParaView_VERSION=5.4.0 -ParaView_MAJOR=detect # Automatically determine major version +ParaView_VERSION=5.4.1 +ParaView_QT=qt-system cmake_version=cmake-system # END OF (NORMAL) USER EDITABLE PART #------------------------------------------------------------------------------ +pv_api=auto # Normally auto or pair of digits (eg, '5.4' etc) + +# Compiler-specific location for ThirdParty installations +archDir="$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER" # Clean PATH and LD_LIBRARY_PATH cleaned=$($WM_PROJECT_DIR/bin/foamCleanPath "$PATH" \ - "$ParaView_DIR \ - $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/cmake- \ - $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/ParaView-" \ + "$ParaView_DIR $archDir/cmake- $archDir/qt- $archDir/ParaView-" \ ) && PATH="$cleaned" if [ -n "$LD_LIBRARY_PATH" ] then cleaned=$($WM_PROJECT_DIR/bin/foamCleanPath "$LD_LIBRARY_PATH" \ - "$ParaView_DIR \ - $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/ParaView-" \ + "$ParaView_DIR $archDir/qt- $archDir/ParaView-" \ ) && LD_LIBRARY_PATH="$cleaned" fi # ThirdParty cmake -cmake=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$cmake_version +cmake=$archDir/$cmake_version if [ -r $cmake/bin/cmake ] then # _foamAddPath not available when foamPV function is used @@ -96,34 +96,48 @@ _foamParaviewEval $@ if [ -n "$ParaView_VERSION" ] then - # Set MAJOR version to correspond to VERSION - # ParaView_MAJOR is "." from ParaView_VERSION + # Set API to correspond to VERSION + # pv_api is . from ParaView_VERSION case "$ParaView_VERSION" in - "$ParaView_MAJOR".* ) - # Version and major appear to correspond + "$pv_api".* ) + # API and VERSION appear to correspond ;; [0-9]*) - # Extract major from the version - ParaView_MAJOR=$(echo $ParaView_VERSION | \ - sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/') + # Extract API from VERSION + pv_api=$(echo $ParaView_VERSION | \ + sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/') ;; esac - pvName=ParaView-$ParaView_VERSION - pvMajor=paraview-$ParaView_MAJOR - - export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$pvName + export ParaView_DIR=$archDir/ParaView-$ParaView_VERSION + pvSubDir=paraview-$pv_api # Set paths if binaries are present if [ -r $ParaView_DIR ] then - pvLibDir=$ParaView_DIR/lib/$pvMajor + pvLibDir=$ParaView_DIR/lib/$pvSubDir pvPython=$ParaView_DIR/Utilities/VTKPythonWrapping export PATH=$ParaView_DIR/bin:$PATH - export ParaView_INCLUDE_DIR=$ParaView_DIR/include/$pvMajor - export PV_PLUGIN_PATH=$FOAM_LIBBIN/$pvMajor + export ParaView_INCLUDE_DIR=$ParaView_DIR/include/$pvSubDir + export PV_PLUGIN_PATH=$FOAM_LIBBIN/$pvSubDir + + # Add in qt libraries as required + qtDir="$archDir/$ParaView_QT" + if [ -d "$qtDir" ] + then + for qtLibDir in $qtDir/lib$WM_COMPILER_LIB_ARCH $qtDir/lib + do + if [ -d "$qtLibDir" ] + then + export LD_LIBRARY_PATH=$qtLibDir:$LD_LIBRARY_PATH + break + fi + done + fi + + # Prepend paraview libraries export LD_LIBRARY_PATH=$pvLibDir:$LD_LIBRARY_PATH # Add in python libraries if required @@ -158,12 +172,13 @@ then fi unset -f _foamParaviewEval 2> /dev/null -unset cleaned cmake cmake_version pvName pvMajor pvLibDir pvPython -unset ParaView_MAJOR +unset cleaned archDir +unset cmake cmake_version +unset pv_api pvSubDir pvLibDir pvPython qtDir qtLibDir if command -v _foamAddLib > /dev/null 2>&1 # normal sourcing then - unset ParaView_VERSION + unset ParaView_VERSION ParaView_QT fi #------------------------------------------------------------------------------ diff --git a/etc/config.sh/scotch b/etc/config.sh/scotch index c8402ffdff..00302dfd35 100644 --- a/etc/config.sh/scotch +++ b/etc/config.sh/scotch @@ -3,7 +3,7 @@ # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation -# \\/ M anipulation | +# \\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, licensed under GNU General Public License @@ -13,32 +13,21 @@ # etc/config.sh/scotch # # Description -# Setup file for scotch include/libraries. +# Setup for SCOTCH include/libraries (usually ThirdParty installation). # Sourced during wmake process only. # -# Normally used to specify the scotch version and location for a -# ThirdParty installation. +# To disable its use: SCOTCH_VERSION=scotch-none +# For system-wide installations: SCOTCH_VERSION=scotch-system # -# If using system-wide installations, use the following setting: -# -# SCOTCH_VERSION=scotch-system -# -# If the system scotch is unusable (eg, too old) and you don't -# have or want a ThirdParty installation: -# -# SCOTCH_VERSION=scotch-none -# -# If using a central installation, but not located under ThirdParty: -# - specify scotch-system -# - provide full path for SCOTCH_ARCH_PATH +# For central installations not located under ThirdParty: +# 1. use scotch-system +# 2. and provide full path for SCOTCH_ARCH_PATH # # Note -# A csh version is not needed, since the values here are only sourced -# during the wmake process. -# -# Scotch 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. +# No csh version. This file is only used by wmake. # +# Can also disable by renaming/removing this file or by creating an empty +# file with the same name at a user or site location. #------------------------------------------------------------------------------ # USER EDITABLE PART: Changes made here may be lost with the next upgrade diff --git a/etc/config.sh/settings b/etc/config.sh/settings index 6d0285c876..286339aa53 100644 --- a/etc/config.sh/settings +++ b/etc/config.sh/settings @@ -13,8 +13,7 @@ # etc/config.sh/settings # # Description -# Setup file for OpenFOAM -# Sourced from OpenFOAM-/etc/bashrc +# Settings for OpenFOAM, sourced from OpenFOAM-/etc/bashrc # #------------------------------------------------------------------------------ export WM_ARCH=$(uname -s) # System name diff --git a/etc/config.sh/unset b/etc/config.sh/unset index 04b16eb5f6..d5d4a8530e 100644 --- a/etc/config.sh/unset +++ b/etc/config.sh/unset @@ -105,7 +105,6 @@ fi unset ENSIGHT9_READER unset ParaView_DIR unset ParaView_INCLUDE_DIR -unset ParaView_MAJOR unset ParaView_VERSION unset PV_PLUGIN_PATH unset VTK_DIR @@ -114,6 +113,8 @@ unset VTK_DIR # unset other ThirdParty environment variables unset ADIOS_ARCH_PATH +unset ADIOS1_ARCH_PATH +unset ADIOS2_ARCH_PATH unset BOOST_ARCH_PATH unset CCMIO_ARCH_PATH unset CGAL_ARCH_PATH diff --git a/etc/config.sh/vtk b/etc/config.sh/vtk index 0142c42eb5..3e73ce564d 100644 --- a/etc/config.sh/vtk +++ b/etc/config.sh/vtk @@ -2,7 +2,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2016 OpenCFD Ltd. +# \\ / A nd | Copyright (C) 2016-2017 OpenCFD Ltd. # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -21,8 +21,8 @@ # # Note # When _foamAddLib is unset -# - the vtk_version, mesa_version variables are retained. -# (for future integration into ThirdParty build) +# - vtk_version, mesa_version variables are retained. +# (for future integration into ThirdParty build) # # It is recommended to use VTK sources from ParaView (5.0.1 or later) #