From adc5ea3d20377074a3891f0ca216c7cabe72d48e Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 25 Aug 2011 20:15:21 +0100 Subject: [PATCH] Paraview-3.8.1 --- ThirdParty/AllMake.stage4 | 6 ++++-- .../graphics/PV3FoamReader/vtkPV3Foam/Make/options | 2 +- etc/settings.csh | 6 ++++-- etc/settings.sh | 6 ++++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ThirdParty/AllMake.stage4 b/ThirdParty/AllMake.stage4 index 1a8c94f25..bfb16cf49 100755 --- a/ThirdParty/AllMake.stage4 +++ b/ThirdParty/AllMake.stage4 @@ -73,12 +73,14 @@ then if [ -d "$QT_BIN_DIR" -a -r "$QT_BIN_DIR"/qmake ] then - ( rpm_make -p ParaView-3.10.1 -s ParaView-3.10.1.spec -u http://www.paraview.org/files/v3.10/ParaView-3.10.1.tar.gz \ +# ( rpm_make -p ParaView-3.10.1 -s ParaView-3.10.1.spec -u http://www.paraview.org/files/v3.10/ParaView-3.10.1.tar.gz \ + ( rpm_make -p ParaView-3.8.1 -s ParaView-3.8.1.spec -u http://www.paraview.org/files/v3.8/ParaView-3.8.1.tar.gz \ -a --define='_qmakePath $QT_BIN_DIR/qmake' ) else echo "WARNING: " - echo "WARNING: Skipping the installation of ParaView-3.10.1." +# echo "WARNING: Skipping the installation of ParaView-3.10.1." + echo "WARNING: Skipping the installation of ParaView-3.8.1." echo "WARNING: Please make sure the QT_BIN_DIR environment variable properly" echo "WARNING: initialized in the file prefs.sh or prefs.csh" echo "WARNING: The command \$QT_BIN_DIR/qmake needs to be valid" diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/Make/options b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/Make/options index 3084a9fd1..8f901900b 100644 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/Make/options +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/Make/options @@ -2,7 +2,7 @@ EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ - -I$(PARAVIEW_INCLUDE_DIR)/paraview-3.10 \ + -I$(PARAVIEW_INCLUDE_DIR)/paraview-3.8 \ -I../PV3FoamReader LIB_LIBS = \ diff --git a/etc/settings.csh b/etc/settings.csh index d746119af..4d2f705b7 100644 --- a/etc/settings.csh +++ b/etc/settings.csh @@ -443,8 +443,10 @@ endif # PARAVIEW # ~~~~~ -if ( $?PARAVIEW_SYSTEM == 0 && -e "$WM_THIRD_PARTY_DIR"/packages/ParaView-3.10.1/platforms/$WM_OPTIONS ) then - _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS/etc/ParaView-3.10.1.csh +#if ( $?PARAVIEW_SYSTEM == 0 && -e "$WM_THIRD_PARTY_DIR"/packages/ParaView-3.10.1/platforms/$WM_OPTIONS ) then +# _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS/etc/ParaView-3.10.1.csh +if ( $?PARAVIEW_SYSTEM == 0 && -e "$WM_THIRD_PARTY_DIR"/packages/ParaView-3.8.1/platforms/$WM_OPTIONS ) then + _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.8.1/platforms/$WM_OPTIONS/etc/ParaView-3.8.1.csh endif if ( $WM_ARCH == "darwinIntel" || $WM_ARCH == "darwinIntel64" ) then diff --git a/etc/settings.sh b/etc/settings.sh index 711b18b45..75b72b640 100644 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -533,8 +533,10 @@ export MPI_BUFFER_SIZE # Load ParaView # ~~~~~~~~~~~~~ -[ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS ] && { - _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS/etc/ParaView-3.10.1.sh +#[ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS ] && { +# _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS/etc/ParaView-3.10.1.sh +[ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/ParaView-3.8.1/platforms/$WM_OPTIONS ] && { + _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.8.1/platforms/$WM_OPTIONS/etc/ParaView-3.8.1.sh } [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PARAVIEW_DIR is initialized to: $PARAVIEW_DIR"