How to use Burst Buffer in your application

KSL experts have presented common uses of our Burst Buffer on Shaheen using SLURM commands in previous tutorials, Do you know that you can implement the usage of DataWarp with fine granularity using Cray supplied DataWarp API C routines?

The first step is to include the DataWarp header in your C code: 

#include <datawarp.h>

You will also need to compile your code and link it against the DataWarp library by adding the following flag to your makefile:

--libs cray-datawarp

In your code, the most important functions to use for staging data from Lustre to DataWarp and from DataWarp to Lustre are respectiveely:


For a code example and more routines providing other functionalities, please refer to the user guide available here.