Skip to content

Commit

Permalink
Update to nektar 5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesEdgeley committed Apr 23, 2024
1 parent 704b48f commit 9acb5b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1)

PROJECT(DiffusionSolver)

# Nektar++ requires C++11.
SET(CMAKE_CXX_STANDARD 11)
# Nektar++ requires C++17.
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
SET(CMAKE_CXX_EXTENSIONS OFF)

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ where $`\psi`$ and $`T`$ respectively are the test function and the temperature.


## Installation and dependencies
The Nektar-diffusion proxy-app should be compiled against Nektar++ v5.2.0. This can be done by either using pre-compiled binary packages or compiling it from source. Alternatively a Dockerfile image can be generated which includes Nektar++, the nektar-diffusion proxy-app and the included examples.
The Nektar-diffusion proxy-app should be compiled against Nektar++ v5.5.0. This can be done by either using pre-compiled binary packages or compiling it from source. Alternatively a Dockerfile image can be generated which includes Nektar++, the nektar-diffusion proxy-app and the included examples.

### Docker
To use the docker image, clone the nektar-diffusion repository and, from the top directory, build the image using
Expand All @@ -49,7 +49,7 @@ docker run -it nektar-diffusion /bin/bash
### Using Nektar++ binary packages
Install CMake using your normal package management tools.

Install the v5.2.0 `libnektar++-dev` or `libnektar++-devel` package (as appropriate), following instructions at https://www.nektar.info.
Install the v5.5.0 `libnektar++-dev` or `libnektar++-devel` package (as appropriate), following instructions at https://www.nektar.info.

Then compile the nektar-diffusion solver using
```bash
Expand All @@ -59,11 +59,11 @@ make install
```

### Using Nektar++ source code
Download the source code for Nektar++ v5.2.0
Download the source code for Nektar++ v5.5.0
```bash
git clone https://gitlab.nektar.info/nektar/nektar
cd nektar
git checkout v5.2.0
git checkout v5.5.0
```
Compile it following the instructions at [https://www.nektar.info](https://www.nektar.info). To save time, set NEKTAR_BUILD_SOLVERS=OFF and NEKTAR_BUILD_DEMOS=OFF. Many of the dependencies are available as pre-built packages in most Linux distributions (e.g. Boost, TinyXML, Scotch, BLAS, LAPACK). It is recommended to turn on the NEKTAR_USE_MPI option to enable parallel execution. Run `make install` to collate the binaries and library files under the `dist` sub-directory and (optionally) set CMAKE_INSTALL_PREFIX to your preferred install location. To check Nektar++ is built correctly run `ctest`.

Expand All @@ -81,7 +81,7 @@ If the compilation fails, check the possible broken links during the configurati

If an error was observed during installation, take note the description of this error and identify which program causes it. For example, if it is related to *mpi*, double check the possible broken links of mpi during configuration or verify the working condition of the pre-installed *mpi* on the cluster. In addition, the installed programs should be compatible with the version of `Nektar++`. The full list of the compatible versions of program can be found in the [user-guide](https://www.nektar.info/getting-started/documentation/).

If some testing cases fail during *ctest*, check the log files in the **$HOME/nektar-v5.2.0/build/Testing/Temporary/** folder and identify the origin of the error.
If some testing cases fail during *ctest*, check the log files in the **$HOME/nektar-v5.5.0/build/Testing/Temporary/** folder and identify the origin of the error.

## Execution
If Nektar++ has been compiled from source, it is convenient to add the location of the binary files to the system PATH:
Expand Down

0 comments on commit 9acb5b1

Please sign in to comment.