1

A few months ago, I noticed a clock skew detected warning when compiling something with make. I removed the -j option, and no longer got that warning. I noted this in a question about the warning. The project has a complex dependency tree, and it seems possible that some parallel processors started building things before other processors finished. Apparently the SO community that saw my answer does not agree with it, and klimkin noted that I may have wrongly attributed this to the -j option. Can the make -j option cause the clock skew detected warning? Why?

kilojoules
  • 9,768
  • 18
  • 77
  • 149
  • 1
    Plain `make` will sometimes detect it. The number of jobs via the `-j` option does not affect it. I see it a lot when `scp'ing` files to IoT gadgets for testing. It happens most often when I use the `scp -p` option to preserve file times. – jww Jul 06 '17 at 23:31
  • 1
    Do you run `make` on a computer but have your files served by a NFS server on another computer? – Renaud Pacalet Jul 07 '17 at 06:28
  • This was on a supercomputer.... – kilojoules Jul 07 '17 at 14:28
  • This does not answer the question: are you working with an NFS server (which current time could be different from that of your supercomputer)? – Renaud Pacalet Jul 07 '17 at 16:02
  • I don't think so... – kilojoules Jul 07 '17 at 16:08
  • My question isn't about that. My question is about whether it's possible for the `-j` option to cause the skew warning. Is it only possible on an NFS server? – kilojoules Jul 07 '17 at 16:21

0 Answers0