Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add python interface #466

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

add python interface #466

wants to merge 13 commits into from

Conversation

adammoody
Copy link
Member

@adammoody adammoody commented Mar 5, 2021

This adds a draft version of an mpifileutils.py interface to libmfu. It uses CFFI:

https://cffi.readthedocs.io/en/latest/index.html

It's currently written assuming python 2, and it is hardcoded to assume that the library is installed to ./install/lib64/libmfu.so.

Examples on how to use the interface are shown in mfu.py. One might run this test program as:

srun -n2 python mfu.py

Signed-off-by: Adam Moody moody20@llnl.gov

Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Signed-off-by: Adam Moody <moody20@llnl.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant