When using mpirun, how to enable every process binding one GPU

This question was answered here: