Skip to main content

dcprog

Part A (OpenMP) and part B (MPI) lab programs behind one short command. No compiler, OpenMP, or MPI install is required.

pip install dcprog
dcprog                  list the programs
dcprog a1a 3 10 20 30   array sum
dcprog a4 1000000       pi, serial and parallel
dcprog b2 -p 4          reduce and allreduce on 4 ranks
dcprog src a4           print the original C source

Leave the numbers off and the command asks for them, same prompts as the C programs.

id program
a1a array sum
a1b schedule(static, 2)
a2 merge sort
a3a fibonacci
a3b maximum element
a4 Leibniz pi
a5 prime count
b1 scatter / gather
b2 reduce / allreduce
b3 send, recv, broadcast
b4 strings to root
b5 barrier

-p N is the rank count for part B (default 4). -t N is the thread count for part A (default: one per CPU).

Metadata

Release files for dcprog 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcprog 1.0.0
File Size Uploaded Provenance Actions
dcprog-1.0.0.tar.gz 10.1 kB Without provenance Details for dcprog-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dcprog 1.0.0
File Interpreter ABI Platform Actions
dcprog-1.0.0-py3-none-any.whl Python 3 none any Details for dcprog-1.0.0-py3-none-any.whl

Total release size: 23.7 kB

Release files / dcprog-1.0.0.tar.gz

Download URL dcprog-1.0.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2101e1cd3e79a7f177ceb9165e373707916bcc372d0e8b4d9063043802a71520
BLAKE2b-256 checksum
How to use checksums
3e8af0c38e719ef0a50a0c936ce917af6b37c65c39b0e54ed2f40ee53ed1a83c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Release files / dcprog-1.0.0-py3-none-any.whl

Download URL dcprog-1.0.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb3362768116a7f289a09cc975dbf292ac294fa71944099c32e46f4e5b0a071c
BLAKE2b-256 checksum
How to use checksums
903989c57ab61766b2826d2c7eaf4a835569535a37c9841c0bcfbe27a895b64c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Security for dcprog 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page