Flexible collective communication tuning architecture applied to Open MPI