hpc / ior

IOR and mdtest
Other
381 stars 166 forks source link

ior-3.3 lustre support doesn't work with newer lustres #353

Open glennklockwood opened 3 years ago

glennklockwood commented 3 years ago

Building ior-3.3 --with-lustre correctly identifies lustreapi.h, but parse_options.c only checks for HAVE_LUSTRE_LUSTRE_USER_H. This causes ior to build, link against liblustre, then refuse to honor lustre-specific options.

I haven't checked to see if this works in newer IORs, but it should be fixed in ior-3.3.1.

glennklockwood commented 3 years ago

The fix is simple and available here:

https://github.com/glennklockwood/ior/commit/e49476be64d4100c2da662ea415f327348b3d11d

The relevant autoconf bits should be double-checked to make sure these changes don't break Lustre compatibility with older Lustre libraries.

JulianKunkel commented 2 years ago

Should we maybe define another variable that is set if either HAVE_LUSTRE_LUSTRE_USER_H or HAVE_LUSTRE_LUSTREAPI is set?