-
-
Notifications
You must be signed in to change notification settings - Fork 33
NFAQ (Not so Frequently Asked Questions)
There are several ways to install ParaView:
-
Download DMG file from http://paraview.org, open it, drag-n-drop application into your /Applications folder. In general application file is called ParaView-<version>.app.
-
Use Homebrew Cask, i.e.
brew cask install paraview
. Automated version of the previous option. -
Use Homebrew and install formula from
science
tap, i.e. justbrew install paraview
. Since usually formulas today are served in bottles, nothing is actually built on user’s computer. But for some reason do not linkparaview
application into/usr/local/bin
.
Current version of paraview
configuration script assumes, that you have it installed in /Applications
folder under name paraview.app
and complains about absent software package if name differs.
So if you have installed Paraview application as Paraview-<version>.app
, you can
-
Rename
Paraview-<version>.app
intoParaview.app
. -
If you would like to keep version part of the file name, you can use modified version of
$WM_PROJECT_DIR/etc/config.sh/mac/paraview
provided below:
if [ -d /Applications/Paraview*.app ];
then
[ "$FOAM_VERBOSE" -a "$PS1" ] && echo Using /Applications/Paraview*.app
paraview () {
/Applications/Paraview*/Contents/MacOS/paraview "$@"
}
export -f paraview
else
echo
echo "Please download binary Paraview release from"
echo "http://paraview.org and install it in /Applications"
echo "folder."
echo
fi
# vi: set ft=sh et sw=4 ts=4:
paraview
command is exported as a shell function:
$ type paraview
paraview is a function
paraview ()
{
/Applications/Paraview*/Contents/MacOS/paraview "$@"
}
To avoid constant repetition of paraFoam -builtin
also function pf
is exported:
$ type pf
pf is a function
pf ()
{
paraFoam -builtin > /dev/null 2>&1 &
}
This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM(R) and OpenCFD(R) trade marks.
OPENFOAM(R) is a registered trade mark of OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com.