csdms / babelizer

Transform BMI-wrapped models into Python packages
https://babelizer.readthedocs.io
MIT License
4 stars 3 forks source link

Test Fortran example #22

Closed mdpiper closed 3 years ago

mdpiper commented 3 years ago

This PR adds the bmi-example-fortran repository as a submodule and uses it to test that the babelizer can wrap a Fortran library.

Also included is a quick fix (recommended in zest.releaser docs) for Sphinx to get the babelizer version when building docs.

mdpiper commented 3 years ago

I'm not sure what's happening with the tests on Linux on Travis CI. The tests pass on macOS. The tests also pass when I build locally on siwenna (CentOS 7) and on our JupyterHub (Ubuntu bionic). Travis can't seem to find the pthread library.

@mcflugen encountered this earlier, and fixed it by using the system C compiler. This probably isn't an option here, since there's no system Fortran compiler on macOS; it would have to be installed through Homebrew.

mdpiper commented 3 years ago

I have a workaround. This PR is stale, so I'm going to close it and make a new one.