darshan-hpc / darshan

Darshan I/O characterization tool
Other
56 stars 27 forks source link

Unable able to create compatible environment for darshan in darwin due to darhsan-util issues #940

Open yariseidenbenz opened 1 year ago

yariseidenbenz commented 1 year ago

I am trying to pytest sweep of pydarshan to ensure that I don't have any environment issues.

Here are the commands I followed to clean and build the environment

After I fished cleaning and building I did

Here is the issue I got:

Screenshot 2023-06-15 at 12 50 13 PM

FAILED darshan/tests/test_ cffi_misc.py::test_df_to_rec[POSIX-0-e3sm_io_heatmap_only.darshan] - AttributeError: module 'darshan.backend.cffi_backend' has no attribute 'log_get_apmpi_record' FAILED darshan/tests/test_cffi_misc.py::test_df_to_rec[POSIX-3-e3sm_io_heatmap_only.darshan] - AttributeError: module 'darshan.backend.cffi_backend' has no attribute 'log_get_apmpi_record' FAILED darshan/tests/test_cffi_misc.py::test_df_to_rec[POSIX-5-e3sm_io_heatmap_only.darshan] - AttributeError: module 'darshan.backend.cffi_backend' has no attribute 'log_get_apmpi_record'

To troubleshoot I tried

shanedsnyder commented 1 year ago

I think you just need to run git submodule update --init before running through all the build steps you listed.

At the top-level of the repo, you should be able to find the modules after you run that:

$ ls modules/autoperf/
apmpi  apnvgpu  apss  apxc  ChangeLog  LICENSE  README.md

For background, we have some modules (named Autoperf) that are included in our repo as a git submodule, so need to make sure they are checked out ahead of the build process.