Commit b252fc4a authored by Shane Snyder's avatar Shane Snyder
Browse files

workaround to dlopen darshan-util libraries

parent 154952fa
......@@ -165,7 +165,10 @@ def find_utils(ffi, libdutil):
DARSHAN_PATH = discover_darshan_wheel()
import glob
library_path = glob.glob(f'{DARSHAN_PATH}/libdarshan-util*.so')[0]
save = os.getcwd()
os.chdir(DARSHAN_PATH)
libdutil = ffi.dlopen(library_path)
os.chdir(save)
except:
libdutil = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment