MathLink error on HPC: could not create temporary directory

Most of the times, Mathematica gives the following error for the jobs submitted on multiple nodes in queue:

MathLink could not create temporary directory /tmp/MathLink: file exists The program may not function correctly

MathLink could not create temporary directory /tmp/MathLink: file exists The program may not function correctly

…multiple times.

But the same program does not give this error if submitted on a single node.

Kindly help.