When using ADOL-C together with MPI we need to use different tags in the ADOL-C function calls for each process. If we use the same tag, then the processes will interfere with each other causing undefined behaviour.