Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.0.0.0 #190

Merged
merged 45 commits into from
Feb 5, 2024
Merged

Release v3.0.0.0 #190

merged 45 commits into from
Feb 5, 2024

Conversation

IshaanDesai
Copy link
Member

This release is necessary to make the bindings compatible with the recently released preCICE v3.0.0. The release notes describe the changes in details.

BenjaminRodenberg and others added 30 commits December 2, 2022 11:12
* Use experimental API. Related to precice/precice#1187.

* Add missing API functions and fix tests.

* Remove API mathods that are removed in preCICE v3.0.0.
* [WIP] Make bindings compatible with precice:develop

* Updating solverdummy and checkpoint related API functions

* Removing unnecessary semicolons

* Add correct arguments to functions in SolverInterface.cpp

* Add size as input argument to mesh connectivity API functions for testing

* Remove incorrect bracket from deleted namespace

* [WIP] Using same names for input arguments of API functions

* correct return type for setMeshEdge in SolverInterface.cpp

* void function setMeshEdge should not return anything

* Adapted compatibility-precice-dev branch (#162)

* Use precice-setup-action

* Modify solverdummy Action

* Use precice-setup action appropriately in steps

* Change apt-get commands to use sudo in build and test workflows

* Change rm -rf commands to use sudo in build and test workflows

* Remove get_mesh_vertices and get_mesh_vertex_ids_from_positions

* Use precice-setup-action in Spack workflow

* Simplify testing.

* Remove sudo.

* Use benjaminrodenberg/precice:develop

* Try with root user.

* Update solverdummies test.

* Fix solverdummy.

---------

Co-authored-by: Ishaan Desai <[email protected]>
Co-authored-by: Timo-Schrader <[email protected]>
* Use develop release of dockerfile

* Don't create user

User already exists in benjaminrodenberg/precice:develop
* [WIP] Make bindings compatible with precice:develop

* Updating solverdummy and checkpoint related API functions

* Removing unnecessary semicolons

* Add correct arguments to functions in SolverInterface.cpp

* Add size as input argument to mesh connectivity API functions for testing

* Remove incorrect bracket from deleted namespace

* [WIP] Using same names for input arguments of API functions

* correct return type for setMeshEdge in SolverInterface.cpp

* void function setMeshEdge should not return anything

* Adapted compatibility-precice-dev branch (#162)

* Use precice-setup-action

* Modify solverdummy Action

* Use precice-setup action appropriately in steps

* Change apt-get commands to use sudo in build and test workflows

* Change rm -rf commands to use sudo in build and test workflows

* Remove get_mesh_vertices and get_mesh_vertex_ids_from_positions

* Use precice-setup-action in Spack workflow

* Use main branch of setup-precice-action

* Use container precice/precice:develop

* Remove sudo from build-and-test.yml

* Use C++17 in setup.py

* Install sudo in workflows and use it to remove lock file

* Use user: root in setup_test workflow

* Remove sudo from the command to remove lock files

---------

Co-authored-by: Timo-Schrader <[email protected]>
* Change bindings to use names of meshes and data instead of IDs

* Formatting

* Add correct input arguments to requires_gradient_data_for

* Remove incorrect user keyword

* Correct typo

* Converting Python string to cython bytes and then passing over as string_view to C++ API

* Add overloaded constructors for string_view to handle Python strings and nullptr

* Cast cdef bytes to const char* before handing over to C++ API

* Try options: user --root in build-and-test Actions

* Move options: user --root line outside of steps in build-and-test Actions

* Add su precice command to switch to user precice

* Add su root to setup test workflow

* Use su precice in setup test workflow

* Remove the removal of lock files

* Add sudo to test which runs on ubuntu-latest and remove old API functions from .pxd file

* Include vector library in test/SolverInterface.cpp

* Modify test/SolverInterface.cpp to what it is in precice:precice

* Add includes for vector and string_view in test/SolverInterface.cpp

* Further corrections to test/SolverInterface.cpp

* Remove su root from setup_install workflow

* Changing iterator i from int to std::size_t

* Export LD_LIBRARY_PATH in setup_install workflow

* Copy precice/src/precice/Tooling.hpp for mock testing

* Copy precice/src/precice/Tooling.cpp for mock testing

* Add Tooling.hpp header in fake SolverInterface.cpp for testing

* Typo

* Add fake_version to SolverInterface.cpp

* Define fake_version before using it

* Add weird b in front of string of fake_version

* Set LD_LIBRARY_PATH before running anything related to the bindings

* Remove su root and su precice to see if it is really necessary

* Delete and not just comment su root and su precice to see if it is really necessary

* Remove fake_mesh_id and add fake_mesh_name in bindings test

* Remove all instances of fake_mesh_id#
* Lint markdown files and update correspondingly.

* Minor update.
* Rename SolverInterface to Participant and remove old API functions

* Further changes for v3 compatibility

* Update to new API. Tests except for gradient mapping are all working.

* Fix for empty mesh.

* Add missing API functions and small corrections

* Fix building issue

* Reformating test/Participant.cpp

* Fixing test_write_block_scalar_gradient_data_single_float

* Fix gradient tests

* Import getVersionInformation in the correct way

* initialize() does not return anything

* Remove merge conflict tag

* Mistake in resolving merge conflicts

---------

Co-authored-by: Benjamin Rodenberg <[email protected]>
…es_and_ids to get_mesh_vertices_and_coordinates
IshaanDesai and others added 15 commits August 8, 2023 13:56
* - modify args to fit to systemtest
- make the manual triggering more useful
- move latest tag to last master

* bash string handling... Fun stuff

* sprinkle in some "

* adding some "debug" ouptut

* Update .github/workflows/build-docker.yml

Co-authored-by: Gerasimos Chourdakis <[email protected]>

* Update .github/workflows/build-docker.yml

Co-authored-by: Gerasimos Chourdakis <[email protected]>

---------

Co-authored-by: Valentin Seitz <[email protected]>
Co-authored-by: Gerasimos Chourdakis <[email protected]>
Additionally, assuming subcycling is used, I would even consider calling get_max_time_step_size directly before advance an anti-pattern.
@IshaanDesai IshaanDesai self-assigned this Feb 5, 2024
Copy link
Member

@BenjaminRodenberg BenjaminRodenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested 3.0.0.0rc2 with two tutorials on my systems and it worked. I think it would be good, if somebody else could also do a quick test.

@IshaanDesai IshaanDesai merged commit c0288c8 into master Feb 5, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants