ECP-VeloC / AXL

Asynchronous Transfer Library
MIT License
2 stars 8 forks source link

Add AXL_XFER_BEST to autodetect the best transfer API #30

Closed tonyhutter closed 5 years ago

tonyhutter commented 5 years ago

Add a new AXL_XFER_BEST type for AXL_Create(). This allows the caller to leave it up to AXL to choose the best API for the particular node. For example, if you're running on an IBM node, use the BB API. If you're running on a Cray, use DataWarp. Otherwise use sync. That way the caller doesn't have to have hardware-specific transfers in their checkpointing code.

tonyhutter commented 5 years ago

Note: we could modify this to detect the best API at runtime. For example, if BBPATH is set, then use the BBAPI. This could be useful for cases where the BB server is down.