https://github.com/csdms/bmi-example-c-docker
The C BMI example, Dockerized
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Keywords
Repository
The C BMI example, Dockerized
Basic Info
- Host: GitHub
- Owner: csdms
- License: mit
- Language: Dockerfile
- Default Branch: main
- Homepage: https://bmi.csdms.io
- Size: 10.7 KB
Statistics
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
[!IMPORTANT]
Please see csdms/bmi-docker for the latest version of the BMI C example built with Docker.
bmi-example-c-docker
The C example for the Basic Model Interface, dockerized.
Build the image
Build this example locally with:
docker build --tag bmi-example-c .
The image is based on the csdms/bmi image.
The OS is Linux/Ubuntu.
conda and mamba are installed in CONDA_DIR=/opt/conda,
and the base environment is activated.
The C BMI specification and example, including the run_bmiheatc executable, are installed into it.
Run a container
Run a container from this image interactively:
docker run -it bmi-example-c
This starts a bash shell in the container.
Run the example program run_bmiheatc with a configuration file:
bash
cd /tmp
echo "1.5, 8.0, 6, 5" > config.txt
run_bmiheatc config.txt
View the program's output with:
bash
cat bmiheatc.out
Developer notes
A versioned, multiplatform image built from this repository is hosted on Docker Hub
at csdms/bmi-example-c.
When this repository is tagged,
an image is automatically built and pushed to Docker Hub
by the release CI workflow.
To manually build and push an update, run:
docker buildx build --platform linux/amd64,linux/arm64 -t csdms/bmi-example-c:latest --push .
A user can pull this image from Docker Hub with:
docker pull csdms/bmi-example-c
optionally with the latest tag or with a version tag.
What is the Basic Model Interface?
The Basic Model Interface (BMI) is a set of functions for querying, modifying, running, and coupling models. Learn more at https://bmi.readthedocs.io/.
Acknowledgment
This work is supported by the U.S. National Science Foundation under Award No. 2103878, Frameworks: Collaborative Research: Integrative Cyberinfrastructure for Next-Generation Modeling Science.
Owner
- Name: Community Surface Dynamics Modeling System
- Login: csdms
- Kind: organization
- Email: csdms@colorado.edu
- Website: http://csdms.colorado.edu
- Twitter: csdms
- Repositories: 65
- Profile: https://github.com/csdms
Cyberinfrastructure for the quantitative modeling of earth and planetary surface processes
GitHub Events
Total
- Push event: 2
Last Year
- Push event: 2
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Mark Piper | m****r@c****u | 8 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0