Skip to main content
3 of 4
added 117 characters in body
chris
  • 23.1k
  • 5
  • 62
  • 151

How to tell (sub)kernels on a cluster not to try to access wolfram servers on startup?

Context

I get inconsistent delays (from a fraction of a second to 10 seconds or more) in launching

'echo "Print[1+1]; Quit[]" | math'  

on different nodes of a cluster (or at different times on the same node), which seems to be driven by the fact that these nodes do not have access to the internet. It seems that the kernels are sometimes trying to access wolfram servers, hence the delay. The delay disappears if I ask the system manager to temporarily open such access.

Question

How to tell Mathematica not to try and talk to wolfram?

Note

This question does not necessarily apply to only subKernels. It can be the main kernel as well.

chris
  • 23.1k
  • 5
  • 62
  • 151