[Darshan-commits] [Git][darshan/darshan][master] 2 commits: get pydarshan to properly build AutoPerf modules

Shane Snyder xgitlab at cels.anl.gov
Fri May 7 09:09:25 CDT 2021



Shane Snyder pushed to branch master at darshan / darshan


Commits:
b50b8dd0 by Shane Snyder at 2021-05-06T18:23:42-05:00
get pydarshan to properly build AutoPerf modules

- - - - -
d54f6c59 by Shane Snyder at 2021-05-07T09:09:22-05:00
Merge branch 'snyder/pydarshan-autoperf-support' into 'master'

get pydarshan to properly build AutoPerf modules

See merge request darshan/darshan!111
- - - - -


3 changed files:

- darshan-util/pydarshan/CHANGELOG.rst
- darshan-util/pydarshan/devel/build-wheels.sh
- darshan-util/pydarshan/setup.py


Changes:

=====================================
darshan-util/pydarshan/CHANGELOG.rst
=====================================
@@ -1,7 +1,6 @@
 PyDarshan-3.3.0.3
 =================
-* fixed bug resulting in errors when reading logs with AutoPerf data
-  accessed using the Darshan Report interface with option 'read_all=True'
+* Added support for Darshan's AutoPerf modules
 
 PyDarshan-3.3.0.2
 =================


=====================================
darshan-util/pydarshan/devel/build-wheels.sh
=====================================
@@ -18,7 +18,7 @@ yum install -y zlib zlib-devel
 
 # Build and install darshan-util
 cd /darshan/darshan-util
-./configure --enable-shared
+./configure --enable-shared --enable-autoperf-apxc --enable-autoperf-apmpi
 make install
 make distclean
 


=====================================
darshan-util/pydarshan/setup.py
=====================================
@@ -44,7 +44,7 @@ for root, dirs, files in os.walk("../../modules"):
         if f.endswith("-backend.py"):
             fname = f.replace("-backend", "")
             try:
-                os.symlink("../../" + os.path.join(root, f), f"darshan/backend/{fname}")
+                os.link("../../" + os.path.join(root, f), f"darshan/backend/{fname}")
             except:
                 pass
             print("Adding {0} to backends.".format(os.path.join(root, f)))



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/48636ea5d4d0d5816d27de4a18dd4890a2649177...d54f6c5955da6ce067dddfd00e71c43e72bd9218

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/48636ea5d4d0d5816d27de4a18dd4890a2649177...d54f6c5955da6ce067dddfd00e71c43e72bd9218
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20210507/f782db42/attachment-0001.html>


More information about the Darshan-commits mailing list