An embarrassingly parallel problem: threads or MPI?

In case anyone stumbles on this, I was not aware that randn is not thread safe. Thread performance could probably be improved using information here: Question about Multi-threading Performance

1 Like