{"id":297,"date":"2015-06-12T20:19:43","date_gmt":"2015-06-12T20:19:43","guid":{"rendered":"http:\/\/press3.mcs.anl.gov\/romio\/?p=297"},"modified":"2015-06-12T20:19:43","modified_gmt":"2015-06-12T20:19:43","slug":"building-romios-lustre-driver","status":"publish","type":"post","link":"https:\/\/wordpress.cels.anl.gov\/romio\/2015\/06\/12\/building-romios-lustre-driver\/","title":{"rendered":"Building ROMIO&#039;s Lustre driver"},"content":{"rendered":"<p>When building the Lustre ADIO driver, one might run into a few problems.<\/p>\n<ul>\n<li> caddr_t problems:\u00a0<br \/>\n<blockquote><p>(&#8221; \/usr\/include\/sys\/quota.h:221: error: expected declaration specifiers or &#8216;&#8230;&#8217; before &#8216;caddr_t'&#8221;)<\/p><\/blockquote>\n<p>caddr_t is an old BSD-ism<\/p>\n<li>\n<blockquote><p>\u2018FASYNC\u2019 undeclared:<\/p><\/blockquote>\n<p> another old BSD-ism<\/p>\n<li>\n<blockquote><p> \u2018struct lov_user_md_v1\u2019 has no member named \u2018lmm_stripe_offset\u2019<\/p><\/blockquote>\n<p> recent versions of lustre moved this member into an anonymous union.<br \/>\nThese errors only show up when <tt>--enable-strict<\/tt> is selected.\u00a0 MPICH is considering updating <tt>--enable-strict<\/tt> to allow for c99 and maybe even c11 features.\u00a0 That would allow anonymous unions to work, but the FASYNC and caddr_t references are still going to cause issues.\u00a0 Looks like you will have to build your Lustre-enabled ROMIO without <tt>--enable-strict<\/tt>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When building the Lustre ADIO driver, one might run into a few problems. caddr_t problems:\u00a0 (&#8221; \/usr\/include\/sys\/quota.h:221: error: expected declaration specifiers or &#8216;&#8230;&#8217; before &#8216;caddr_t&#8217;&#8221;) caddr_t is an old BSD-ism \u2018FASYNC\u2019 undeclared: another old BSD-ism \u2018struct lov_user_md_v1\u2019 has no member named \u2018lmm_stripe_offset\u2019 recent versions of lustre moved this member into an anonymous union. These errors &hellip;<\/p>\n","protected":false},"author":362,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,7],"tags":[],"class_list":["post-297","post","type-post","status-publish","format-standard","hentry","category-gpfs","category-lustre"],"acf":[],"_links":{"self":[{"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/posts\/297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/users\/362"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/comments?post=297"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/posts\/297\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.cels.anl.gov\/romio\/wp-json\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}