{"id":23832020,"url":"https://github.com/csdms/bmi-f90","last_synced_at":"2026-02-04T08:02:23.423Z","repository":{"id":25772926,"uuid":"29211218","full_name":"csdms/bmi-f90","owner":"csdms","description":"Fortran bindings for the Basic Model Interface","archived":false,"fork":false,"pushed_at":"2019-09-04T21:33:37.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-22T03:14:39.374Z","etag":null,"topics":["bmi","csdms","fortran"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csdms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-13T21:08:05.000Z","updated_at":"2022-06-06T19:29:28.000Z","dependencies_parsed_at":"2022-09-15T09:51:43.876Z","dependency_job_id":null,"html_url":"https://github.com/csdms/bmi-f90","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/csdms/bmi-f90","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Fbmi-f90","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Fbmi-f90/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Fbmi-f90/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Fbmi-f90/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csdms","download_url":"https://codeload.github.com/csdms/bmi-f90/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Fbmi-f90/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265291970,"owners_count":23741947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bmi","csdms","fortran"],"created_at":"2025-01-02T14:17:01.156Z","updated_at":"2026-02-04T08:02:18.383Z","avatar_url":"https://github.com/csdms.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/csdms/bmi-f90.svg?branch=master)](https://travis-ci.org/csdms/bmi-f90)\n\n# bmi-f90\n\nFortran 90 bindings for the CSDMS\n[Basic Model Interface](https://bmi-spec.readthedocs.io) (BMI).\n\n## Build\n\nTo build the bindings and tests on Linux and macOS, run\n\n    $ mkdir _build \u0026\u0026 cd _build\n    $ cmake .. -DCMAKE_INSTALL_PREFIX=\u003cpath-to-installation\u003e\n    $ make\n\nwhere `\u003cpath-to-installation\u003e` is the base directory where you want\nto install things (`/usr/local` is the default).\n\n## Install\n\nTo install:\n\n    $ make install\n\n## Test\n\nRun some simple tests with\n\n    $ make test\n\n## Use\n\nRun the heat model through its BMI with the `run_bmiheatf90` program,\nwhich takes a model configuration file\n(see the [testing](./testing) directory for a sample)\nas a required parameter.\nIf `run_bmiheatf90` is in your path, run it with\n\n    run_bmiheatf90 test.cfg\n\nOutput from the model is written to the file **bmiheatf90.out**\nin the current directory.\n\n## Note\n\nWhy two different Fortran BMIs?\nThough Fortran 90/95 has the concept of an interface,\nit doesn't allow procedures to be included within types.\nThis is difficult to reconcile with BMI, which, in Fortran,\nwould ideally be implemented as a collection of procedures in a type.\nThus, the Fortran 90/95 BMI is set up as an example\nthat a user can copy and modify,\nsubstituting their code for code in the example.\nThis is somewhat cumbersome.\nThe Fortran 2003 BMI implementation acts a true interface--it can be imported\nas a type from a module into a Fortran program and its methods overridden.\nThe CSDMS IF software engineers recommend using the Fortran 2003 bindings\nin https://github.com/csdms/bmi-fortran;\nhowever, we will continue to support the Fortran 90/95 bindings\nfor users in the CSDMS community who aren't comfortable\nusing the object-oriented features of Fortran 2003.\nFurther, both BMI implementations are backward-compatible with Fortran 77.\nAll that is needed is a compiler that's capable of handling\nthe more recent versions of Fortran;\nfor example `gfortran` in the GNU Compiler Collection.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdms%2Fbmi-f90","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsdms%2Fbmi-f90","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdms%2Fbmi-f90/lists"}