log in |
Message boards : Number crunching : Clear Linux - All results Invalid or Inconclusive (fma, avx, sse)
Author | Message |
---|---|
Any one running Clear Linux? | |
ID: 1640 · Reply Quote | |
Hi TeKNiX, I just started to check this issue by looking at this workunit http://gene.disi.unitn.it/test/workunit.php?wuid=21463187. At this moment two files were uploaded to the server and they don't match. By looking at them I found this 33354 Dec 2 12:11 160481_Hs_T193199-ZCCHC7_wu-15_1575214475199_0_0
10195 Dec 2 12:11 160481_Hs_T193199-ZCCHC7_wu-15_1575214475199_0_0.gz
33354 Dec 2 12:11 160481_Hs_T193199-ZCCHC7_wu-15_1575214475199_1_0
9617 Dec 2 12:11 160481_Hs_T193199-ZCCHC7_wu-15_1575214475199_1_0.gz
The content (uncompressed) of the two files is the same so your computer did the computation correctly. The real problem is that the gzipped files are different (the gzipped file is the one transferred from your host to the server and also bitwise checked, skipping the gzip header, by the validator). For some (yet unknown to me) reason your computer is gzipping the output files in a unusual way | |
ID: 1644 · Reply Quote | |
Hello Valterc, | |
ID: 1645 · Reply Quote | |
Ok, I installed an external gzip and replace the "clearlinux symlinked gzip" | |
ID: 1646 · Reply Quote | |
by looking at the BOINC client source code I found this int FILE_INFO::gzip() {
char buf[BUFSIZE];
char inpath[MAXPATHLEN], outpath[MAXPATHLEN];
get_pathname(this, inpath, sizeof(inpath));
safe_strcpy(outpath, inpath);
safe_strcat(outpath, ".gz");
FILE* in = boinc_fopen(inpath, "rb");
if (!in) return ERR_FOPEN;
gzFile out = gzopen(outpath, "wb");
while (1) {
int n = (int)fread(buf, 1, BUFSIZE, in);
if (n <= 0) break;
int m = gzwrite(out, buf, n);
if (m != n) {
fclose(in);
gzclose(out);
return ERR_WRITE;
}
}
fclose(in);
gzclose(out); I may guess that the client is using a shared library for gzipping, like libz.so (should check the client with the ldd command) | |
ID: 1647 · Reply Quote | |
Hello Valtrec, | |
ID: 1648 · Reply Quote | |
gzip stores (by default) the file name inside its archive, the test_ubuntu.gzip file is exactly 7 bytes larger than test.gzip. Try with same file name length (and content) | |
ID: 1649 · Reply Quote | |
I got it working, I have to replaced the libz.so file. (Hackish way) | |
ID: 1650 · Reply Quote | |
I don't know if it is (technically) a bug, the fact is that the output of pigz (or the 'new' libz) is not, bitwise, the same as gzip, although it is 'compatible' (correctly uncompressed). The side effect here is that the validator checks the results by comparing two output files (just skipping the gzip header), thus failing in this case. I will post this issue to the boinc_projects mailing list, asking for BOINC developers comments. | |
ID: 1651 · Reply Quote | |
Hello Valtrec, | |
ID: 1652 · Reply Quote | |
all errors , so I applied the workaround | |
ID: 1653 · Reply Quote | |
all errors , so I applied the workaround Yep, I sent a mail to the boinc developers about this, no answers yet. | |
ID: 1654 · Reply Quote | |
Message boards :
Number crunching :
Clear Linux - All results Invalid or Inconclusive (fma, avx, sse)