On Mon, 2016-02-22 at 19:28 +0000, Dilger, Andreas wrote: > On Mon, 2016-02-22 at 13:36 +0000, [email protected] wrote: > > Hi, > > > > I am writing multiple files to Lustre file system of different > > sizes. > > I want to change my stripe size and stripe count from the C++ code. > > I > > am using HDF5 to create file and hyperslabs and write in it. Is > > there > > any way to do it? > > There is a library "liblustreapi" that has C function interfaces for > creating files with specific stripe parameters - llapi_file_open() is > the > most basic interface that allows open/create of a file and setting > the > stripe count, stripe size, and starting OST index. A more complete > interface is llapi_file_open_param() that lets the application > specify > more parameters for the layout. >
FYI: an obligatory Operations Manual reference (including sample code in 34.2.5): https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#settinglustreproperties -- [email protected] Intel High Performance Data Division _______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
