Nektar++ should be compiled as per the user guide instructions and installed into a directory
which we will refer to as $NEKDIR
. By default this is the dist
directory inside the Nektar++
build directory.
Note that Nektar++ must, at a minimum, be compiled with NEKTAR_BUILD_LIBRARY
,
NEKTAR_BUILD_UTILITIES
, NEKTAR_BUILD_SOLVERS
and NEKTAR_BUILD_PYTHON
. This will
automatically download and install Boost.NumPy
if required. Note that all solvers may be
disabled as long as the NEKTAR_BUILD_SOLVERS
option is set.
Users of Homebrew should make sure their installation is up-to-date with brew upgrade
.
Then run
To install the NumPy package, use the pip
package manager:
Users of MacPorts should sure their installation is up-to-date with sudo port selfupdate &&
sudo port upgrade outdated
. Then run
Users of Debian and Ubuntu Linux systems should sure their installation is up-to-date with
sudo apt-get update && sudo apt-get upgrade
Run the following command in $NEKDIR/build directory to install the Python package for the current user:
Alternatively, the following command can be used to install the package for all users: