But that can come from so many things before being a library/hardware problem 
You might want to reduce the example to the minimum thing that works on one machine and not the other.
You want to rule out things like misconfiguration when you launch the job, data being preprocessed differently from one machine to the other etc.