-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Bmi class in bmipy 2.0 (#62)
* Update proto to Bmi class in bmipy 2.0 See https://github.com/csdms/bmi-python/blob/v2.0/bmipy/bmi.py * Pin to v1.27.2 version of grpc Otherwise v1.28.0rc3 is installed, which is a pre-release * Grpc install instructions changed from make to cmake As make was deprecated, see https://github.com/grpc/grpc/blob/master/BUILDING.md#building-with-make-on-unix-systems-deprecated * Regenerated Python gRPC code * Update Python client/server to updated interface * Update tests for client and server Also switched to unstructured grid model based on https://bmi.readthedocs.io/en/latest/model_grids.html#unstructured-grids * Replaced https://github.com/csdms/bmi Git submodule with bmi-c and bmi-cxx ones * Sync c++ server with proto file * Trying to sync our c++ code to updated bmi.h and bmi.hxx * Debugging Travis-CI build * Fixed FindType * undef bmi_success, bmi_failure so bmi.h and bmi.hx can both be imported * Implement C version of some bmi functions * Correct C wrapper header file * Correct signatures of C wrapper implementation * More corrections to C wrapper implementation * Correct server implementation * Sync C++ test code to updated interface * Build grpc with shared libs * Verbose make * Update ld config now that grpc is build with shared libs * Sync test_bmi_grpc_server.cc with new interface * Skip notebook test when on Travis * pytest skipif expects bool * Fixed compile error * Fixed failing tests due to mismatch in ctest name - switch string * Fixed bug in input_var_names server implementation Co-authored-by: gvdoord <[email protected]>
- Loading branch information
1 parent
cc4e057
commit 0f5d8d4
Showing
29 changed files
with
836 additions
and
673 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "bmi"] | ||
path = bmi | ||
url = https://github.com/csdms/bmi.git | ||
[submodule "cpp/bmi-cxx"] | ||
path = cpp/bmi-cxx | ||
url = https://github.com/csdms/bmi-cxx.git | ||
[submodule "cpp/bmi-c"] | ||
path = cpp/bmi-c | ||
url = https://github.com/csdms/bmi-c.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule bmi
deleted from
564742
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.