ENH: Added PV library existence check to paraFoam script

This commit is contained in:
andy
2011-07-07 10:02:52 +01:00
parent ac26124658
commit 1209e915d9

View File

@ -117,6 +117,24 @@ do
done
#
# check that reader module has been built
#
if [ ! -f $PV_PLUGIN_PATH/libPV3FoamReader_SM.so ]
then
cat<< BUILDREADER
FATAL ERROR: ParaView reader module libraries do not exist
Please build the reader module before continuing:
cd \$FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
BUILDREADER
exit 1
fi
#
# check for --data=... argument
#