Complete compilation of Paraview (Readers+OSmesa+Python)

The reason for this is that I need to use ParaView in parallel to compute some field in a reasonable time but I noticed that I have problems when using multiple CPUs, see my previous post here to now more about the issue:

However, I ran by chance in our HPC the ParaView version with osmesa using multiple-CPUs and I didn’t have the problem so now I believe that the solution to all my issues is to use a compiled version of ParaView using osmesa since I normally do CPU-based rendering.