In an MPI run on the small COLIBRE test I noticed that the default value of TracerParticleTypes (=1,4) was written to Parameters.log instead of the value I set in the input file.
I think the cause is as follows:
MPI rank 0 reads the input parameter file and uses TracerParticleTypes to set TracerParticleBitMask
TracerParticleBitMask is broadcast to all ranks but TracerParticleTypes is not
The second HBTConfig.DumpParameters() call executes on all MPI ranks so they all try to overwrite Parameters.log
Depending on which rank writes last we can be left with an incorrect Parameters.log
In an MPI run on the small COLIBRE test I noticed that the default value of TracerParticleTypes (=1,4) was written to Parameters.log instead of the value I set in the input file.
I think the cause is as follows: