Skip to content

Commit

Permalink
Merge pull request #42 from precice/PreCICE.jl-v2.5.0
Browse files Browse the repository at this point in the history
Release PreCICE.jl `v2.5.0`
  • Loading branch information
erikscheurer authored Aug 12, 2022
2 parents 13c368c + 2276103 commit 5de44e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PreCICE"
uuid = "57fbd4af-5cc3-4712-aac0-6930e7658184"
authors = ["preCICE <https://precice.org/> and contributors"]
version = "2.4.0"
version = "2.5.0"

[compat]
julia = "1.6"
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

This package provides Julia language bindings for the C++ library [preCICE](https://github.com/precice/precice). It is a Julia package that wraps the API of preCICE.

Note that the first two digits of the version number of the bindings indicate the preCICE major and minor version that the bindings support. The last digit represents the version of the bindings. Example: `v2.5.1` and `v2.5.2` of the bindings represent versions `1` and `2` of the bindings that are compatible with preCICE `v2.5.0`.

## Adding and using the package

The Julia bindings for preCICE can be used by either by adding them as a package in a Julia environment or also directly including the package in a Julia script. For both type of usages preCICE needs to be installed on the system. For preCICE installation, have a look at the [installation documentation](https://precice.org/installation-overview.html).
Expand Down Expand Up @@ -40,6 +42,7 @@ julia> using PreCICE
```

Alternatively, you can install a specific branch of this repository with the following command:

```julia-repl
pkg> add https://github.com/precice/PreCICE.jl#<branch-name>
```
Expand Down Expand Up @@ -70,16 +73,19 @@ The [solverdummy](https://github.com/precice/julia-bindings/tree/main/solverdumm
## Testing PreCICE.jl

To test the bindings, run:

```julia-repl
julia> ]
pkg> test PreCICE
```

This checks if the preCICE bindings can be found and accessed correctly.
You can also test the full functionality of PreCICE.jl. If not set up, the output of the previous test shows an info on what command you need to execute. It will be along the lines of:

```
cd /home/<user>/.julia/packages/PreCICE/<code>/test && make
```

After this, you can run the tests again, resulting individual 22 tests being executed.

## Dependencies
Expand Down

0 comments on commit 5de44e3

Please sign in to comment.