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 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.9%) to scientific vocabulary
Keywords from Contributors
exoplanets
Last synced: 10 months ago
·
JSON representation
Repository
A Python MPI Pool
Basic Info
- Host: GitHub
- Owner: adrn
- License: mit
- Language: Python
- Default Branch: main
- Size: 12.7 KB
Statistics
- Stars: 17
- Watchers: 4
- Forks: 7
- Open Issues: 2
- Releases: 0
Created about 12 years ago
· Last pushed about 6 years ago
Metadata Files
Readme
License
Authors
README.md
NO LONGER SUPPORTED
Check out The Schwimmbad instead.
mpipool
A Python MPI Pool
Minimal workin example
See code in examples/mpipool-demo.py:
```python
mpipool-demo.py
Standard library
import sys import numpy as np from mpipool import MPIPool
def worker(task): x,y = task return 5x + y*2
def main():
# Initialize the MPI pool
pool = MPIPool()
# Make sure only we run map() on the master process
if not pool.is_master():
pool.wait()
sys.exit(0)
# create some random input data
x = np.random.uniform(size=10000)
y = np.random.uniform(size=10000)
tasks = np.vstack((x,y)).T
vals = pool.map(worker, tasks)
pool.close()
if name == "main": main() ```
Execute the script using mpiexec or your computer/cluster's MPI execute script, e.g., here we
will use 8 cores: mpiexec -n 8 python mpipool-demo.py
Owner
- Name: Adrian Price-Whelan
- Login: adrn
- Kind: user
- Location: NYC
- Company: Flatiron Institute
- Website: adrian.pw
- Repositories: 124
- Profile: https://github.com/adrn
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Adrian Price-Whelan | a****w@g****m | 10 |
| Dan F-M | d****m@n****u | 7 |
Committer Domains (Top 20 + Academic)
nyu.edu: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 3
- Total pull requests: 4
- Average time to close issues: 1 day
- Average time to close pull requests: 3 months
- Total issue authors: 3
- Total pull request authors: 3
- Average comments per issue: 3.0
- Average comments per pull request: 0.5
- 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
Top Authors
Issue Authors
- adrn (1)
- anvelascos (1)
- rodluger (1)
Pull Request Authors
- adrn (2)
- francesco-mannella (1)
- juliohm (1)