Attention
GPU users: GPU nodes run EL9, while this documentation still reflects the EL7 software stack.
Run module avail on an EL9 login node, or within an interactive session on the relevant GPU type, to see the software available.
The documentation will be updated once all nodes have migrated to EL9.
Nektar++
Nektar++ is a tensor product based finite element package designed to allow one to construct efficient classical low polynomial order h-type solvers (where h is the size of the finite element) as well as higher p-order piecewise polynomial order solvers.
The framework comes with a number of solvers and also allows one to construct a variety of new solvers. Example solvers and tutorials on their use are documented in the Nektar++ user guide, available from the Documentation page .
Interactive Usage
After connecting to Stanage (see Establishing a SSH connection), start an interactive session with the following command:
srun --pty bash -i
The latest version of Nektar++ (currently version 5.0.1) is made available with the command:
$ module load Nektar++/5.0.1-foss-2020b
To see a list of the available commands with a given Nektar++ module loaded:
ls ${EBROOTNEKTARPLUSPLUS}/bin
Batch Usage
First we download an example tutorial:
wget https://doc.nektar.info/tutorials/latest/incns/taylor-green-vortex/incns-taylor-green-vortex.tar.gz
tar -xvzf incns-taylor-green-vortex.tar.gz
The following is an example submission script for this tutorial:
#!/bin/bash
#SBATCH --job-name=nektar
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=32
#SBATCH --cpus-per-task=1
#SBATCH --time=02:00:00
module load Nektar++/5.0.1-foss-2020b
export OMP_NUM_THREADS=1
INPUT=$PWD/incns-taylor-green-vortex/completed/solver64
srun --export=ALL IncNavierStokesSolver /
${INPUT}/TGV64_mesh.xml /
${INPUT}/TGV64_conditions.xml
Installation notes
Installation method
This section is primarily for administrators of the system. Nektar++ has been installed using the default Easybuild config files.
Build logs and test reports can be found in $EBROOTNEKTARPLUSPLUS/EasyBuild with a given module loaded.
Testing method
Testing has been conducted by following the above example.