ECP-VeloC / redset

Low-level distributed erasure coding library to protect datasets of MPI applications
MIT License
2 stars 3 forks source link

add REDSET_ENCODE to select encoding method at runtime #54

Closed adammoody closed 9 months ago

adammoody commented 9 months ago

This modifies redset_init() to read a REDSET_ENCODE environment variable, whose value is used during encode/decode operations to select the acceleration method. This allows one to compile multiple methods and select one at runtime.

Valid options are:

The CPU and OPENMP options call the same function. To disable OpenMP threads, one must either build with -DENABLE_OPENMP=OFF or set an OpenMP variable like OMP_NUM_THREADS=1.