Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve error: "Clock skew detected"? [duplicate]

Tags:

I am uploading my OpenCL and Cuda code to hgpu.org because I don't have a graphics card on my laptop. When I upload my code I get the following error:

make: Warning: File `main.cu' has modification time 381 s in the future
make: warning:  Clock skew detected.  Your build may be incomplete.

I know that clock skew is due to difference in my machines clock time and the server's clock time, so I synchronized my time with the server's. The OpenCL and C++ code is running fine now but the Cuda code is still giving me this error.

So my question is:

Is there any other reason for clock skew error besides the time synchronization? And if there is then how do I solve it?

Cuda Code:

__global__
void test()
{
}

int main()
{
    dim3 gridblock(1,1,1);
    dim3 threadblock(1,1,1);

    test<<<gridblock,threadblock>>>();
    return 0;
}

Note: I can provide the make file too.

like image 822
zindarod Avatar asked Aug 14 '13 15:08

zindarod


People also ask

What is clock skew detected?

gmake: warning: Clock skew detected. Your build may be incomplete. This warning occurs when the synchronization of the server and clients is off. This warning denotes a system / NFS problem, and is not related to ClearCase.

How do you calculate skew in VLSI?

Clock skew can also be termed as the difference between the capture flop latency and the launch flop latency. The launch clock latency is 0ns and the capture clock latency is 2.5ns. The difference between the two is 2.5ns-0ns = 2.5ns which is the value of clock skew.


1 Answers

Simply go to the directory where the troubling file is, type touch * without quotes in the console, and you should be good.

like image 88
Nerox Avatar answered Nov 13 '22 09:11

Nerox