GPU direct detection
There is no standard way to check for direct GPU availability. We need to rely on bits of knowledge available here and there.
A synthesis of these knowledge is proposed here: https://dci.dci-gitlab.cines.fr/webextranet/software_stack/libraries/index.html#detecting-if-mpi-is-gpu-aware
We are going to import that.