mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   This is weird. (https://www.mersenneforum.org/showthread.php?t=24366)

Yoshi24517 2019-05-01 02:54

This is weird.
 
So I have 10,000 trial factoring assignments. I have a GTX 1080. I'm just cruising along, my computer is doing it, and then I realize the fans aren't running as hard. I go to look, and my worktodo.txt file has mysteriously disappeared. I don't know how it happened.

I did not delete it, and my antivirus did not pick it up.

What's weird is it saved everything (the remaining assignments) in a .tmp file called "__worktodo__.tmp".

First time I've experienced this error.

Specs:

Windows 10
Nvidia GTX 1080 CUDA 10.0
mfaktc 0.21

Would appreciate some insight into what happened. Thanks!

kriesel 2019-05-01 04:04

[QUOTE=Yoshi24517;515351]So I have 10,000 trial factoring assignments. I have a GTX 1080. I'm just cruising along, my computer is doing it, and then I realize the fans aren't running as hard. I go to look, and my worktodo.txt file has mysteriously disappeared. I don't know how it happened.

I did not delete it, and my antivirus did not pick it up.

What's weird is it saved everything (the remaining assignments) in a .tmp file called "__worktodo__.tmp".

First time I've experienced this error.

Specs:

Windows 10
Nvidia GTX 1080 CUDA 10.0
mfaktc 0.21

Would appreciate some insight into what happened. Thanks![/QUOTE]
I think what happens is, when an assignment is done, it writes __worktodo__.tmp with everything except the completed assignment, then deletes worktodo.txt, which still had the now-completed assignment, then renames __worktodo__.tmp to worktodo.txt. You got two out of three steps that time for some reason.
[CODE] if(parse_ret == CANT_OPEN_WORKFILE) printf("ERROR: clear_assignment() / modify_assignment(): can't open \"%s\"\n", mystuff.workfile);
else if(parse_ret == CANT_OPEN_TEMPFILE) printf("ERROR: clear_assignment() / modify_assignment(): can't open \"__worktodo__.tmp\"\n");
[/CODE]

Yoshi24517 2019-05-01 04:53

[QUOTE=kriesel;515352]I think what happens is, when an assignment is done, it writes __worktodo__.tmp with everything except the completed assignment, then deletes worktodo.txt, which still had the now-completed assignment, then renames __worktodo__.tmp to worktodo.txt. You got two out of three steps that time for some reason.
[CODE] if(parse_ret == CANT_OPEN_WORKFILE) printf("ERROR: clear_assignment() / modify_assignment(): can't open \"%s\"\n", mystuff.workfile);
else if(parse_ret == CANT_OPEN_TEMPFILE) printf("ERROR: clear_assignment() / modify_assignment(): can't open \"__worktodo__.tmp\"\n");
[/CODE][/QUOTE]
So to my understanding, is it just forgot to rename the file. Weird.


All times are UTC. The time now is 15:37.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.