Skip to content

add python interface #466

New issue

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

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

Already on GitHub? # to your account

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>
adammoody added 12 commits March 5, 2021 15:51
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>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant