Posts by DeleteNull
log in
21) Message boards : Number crunching : Trial Factoring tests (Message 6217)
Posted 15 Apr 2020 by DeleteNull
20:18:30 (19664): BOINC client no longer exists - exiting
20:18:30 (19664): timer handler: client dead, exiting
22) Message boards : Number crunching : Trial Factoring tests (Message 6215)
Posted 15 Apr 2020 by DeleteNull
Does the wrapper work without BOINC?
So I create a test dir and copy the files into it?

And yes...you will get the source.
23) Message boards : Number crunching : Trial Factoring tests (Message 6213)
Posted 15 Apr 2020 by DeleteNull
A new (test) version of the wrapper (mfakto/mfaktc) is here:
https://p-numbers.net/wrapper_26016_7.16_mfakt

The next test can begin.....
24) Message boards : Number crunching : Trial Factoring tests (Message 6200)
Posted 14 Apr 2020 by DeleteNull
Will need another evening. C and characters (strings) are colliding worlds.
25) Message boards : Number crunching : Trial Factoring tests (Message 6174)
Posted 13 Apr 2020 by DeleteNull
The old wrapper code is here


Tomorrow (after work) I will try to implement a method in the wrapper that it can deal with the .ckp file.
The ini file should change from CheckpointDelay=300 to CheckpointDelay=60.
(both: NVidia and AMD)
26) Message boards : Number crunching : Trial Factoring tests (Message 6173)
Posted 13 Apr 2020 by DeleteNull
I added a second PC to this test, and it runs too (had to reset the project).

The good news:
Two tests are running, one with Ubuntu 18.04, the other with Opensuse 15.1.
One with driver 20.10 (Radeon 5500XT), the other with driver 19.50 (R9 380)
One will need about 10 hours, the other will need 27 hours.

The bad news:
You have to wait with 100% until it's finished, or you have to extend the wrapper.
27) Message boards : Number crunching : Trial Factoring tests (Message 6171)
Posted 13 Apr 2020 by DeleteNull
In this case the file M97983883.ckp keeps the checkpoint:

97983883 77 78 4620 mfakto 0.15pre6: 17 0 B624ABF0
97983883 77 78 4620 mfakto 0.15pre6: 45 0 150D244C
97983883 77 78 4620 mfakto 0.15pre6: 72 0 7071D1B7
97983883 77 78 4620 mfakto 0.15pre6: 93 0 48AC81E6
97983883 77 78 4620 mfakto 0.15pre6: 116 0 9EC681F1

So the estimated runtime is 9:50 hours.
But the name M97983883.ckp is different for each test.

...we need a few additional lines of code in the wrapper, so that it can handle the .ckp file.
28) Message boards : Number crunching : Trial Factoring tests (Message 6169)
Posted 13 Apr 2020 by DeleteNull
The checkpoint is generated from mfakto with the name: M97983883.ckp
29) Message boards : Number crunching : Trial Factoring tests (Message 6167)
Posted 13 Apr 2020 by DeleteNull
And it's running!

stderr:
19:07:26 (16398): wrapper (7.16.26016): starting
19:07:26 (16398): wrapper (7.16.26016): starting
19:07:26 (16398): wrapper: running ./mfakto-x64 ()
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0

After one minute it jumped to 100% ?!
The first checkpoint was generated after 300 s.
30) Message boards : Number crunching : Trial Factoring tests (Message 6165)
Posted 13 Apr 2020 by DeleteNull
Oops,

can you try this one:
https://p-numbers.net/wrapper_26016_7.16
31) Message boards : Number crunching : Trial Factoring tests (Message 6163)
Posted 13 Apr 2020 by DeleteNull
No doesn't work:
version `GLIBC_2.29' not found

The PC where I took the wrapper from has a very new linux and this dependency is awful.
I compiled BOINC on Ubuntu 18.04, and this wrapper should be o.k.:
https://p-numbers.net/wrapper_26016

For Linux it's a hard way to deploy software.....
32) Message boards : Number crunching : Trial Factoring tests (Message 6161)
Posted 13 Apr 2020 by DeleteNull
You can download here:
https://p-numbers.net/wrapper

Version information:
wolfgang@i920:~/Downloads/boinc-client_release-7-7.16/samples/wrapper> ./wrapper --version
11:22:17 (26004): wrapper (7.16.26016): starting
7.16.6
11:22:17 (26004): called boinc_finish(0)

If you need a verion from trunk, I can compile it too. It shouldn't differ from this version here.
33) Message boards : Number crunching : Trial Factoring tests (Message 6159)
Posted 13 Apr 2020 by DeleteNull
Yes with elf-file.
But in the tests before (zip without elf-file) was the same error.

Standalone test with wrapper and job.xml succeeded. So I don't know what the problem is. Sofware is o.k., but if the wrapper is started inside BOINC it fails.
34) Message boards : Number crunching : Trial Factoring tests (Message 6157)
Posted 13 Apr 2020 by DeleteNull
On both of my PC with AMD GPU: error 195 from wrapper, with or without elf-file?!
35) Message boards : Number crunching : Trial Factoring tests (Message 6156)
Posted 13 Apr 2020 by DeleteNull
I get an error (two):
A new attached PC: Download error (checksum fail)
Previously attached: The old ZIP (without elf-file) remains, if you replace the file manually the file is deleted (zip error).

It seems you have to create a new version, sorry.
36) Message boards : Number crunching : Trial Factoring tests (Message 6154)
Posted 13 Apr 2020 by DeleteNull
All my "standalone tests" are okay too. I think the problem ist that mfakto-x86_64 starts a child process to compile the mfakto_Kernels.elf file.

I seems that this forces the CHILD_FAILED error.

Can you include this file:
https://p-numbers.net/mfakto_Kernels.elf
in the ZIP?

(Just for a test)
37) Message boards : Number crunching : Trial Factoring tests (Message 6152)
Posted 13 Apr 2020 by DeleteNull
Thanks, now I get a new error:

process exited with code 195

This is an error from BOINC (wrapper)
195 is CHILD_FAILED,
Which means the wrapper failed to start the worker app.
38) Message boards : Number crunching : Trial Factoring tests (Message 6144)
Posted 12 Apr 2020 by DeleteNull
I have extended the parameter list for mfakto. (and compiled)

You can download it frome here:
https://p-numbers.net/mfakto_linux_x86_64_device.zip

HTH

the new code snippet:
else if(!strcmp((char*)"--device", argv[i]))
{
if(i+1 >= argc)
{
printf("ERROR: no device number specified for option \"--device\"\n");
return ERR_PARAM;
}
else if (argv[i+1][0] == '0') // parse to 00
{
devicenumber = strtol("00",&ptr,10);
if(*ptr || errno || devicenumber != strtol("00",&ptr,10) )
{
printf("ERROR: can't parse <device number> for option \"--device\"\n");
return ERR_PARAM;
}
}
i++;
}[/url]
39) Message boards : Number crunching : Trial Factoring tests (Message 6140)
Posted 12 Apr 2020 by DeleteNull
ERROR: unknown option '--device'

The application mfakto doesn't know the option --device
40) Message boards : Number crunching : Trial Factoring tests (Message 6137)
Posted 12 Apr 2020 by DeleteNull
It's running:
wolfgang@9600k:~/BOINC/projects/srbase.my-firewall.org_sr5$ ./wrapper_26012-v2_x86_64-pc-linux-gnu
mfakto 0.15pre6 (64bit build)


Runtime options
Inifile mfakto.ini
Verbosity 1
SieveOnGPU yes
MoreClasses yes
GPUSievePrimes 82486
GPUSieveProcessSize 24 Kib
GPUSieveSize 96 Mib
FlushInterval 8
WorkFile worktodo.txt
ResultsFile results.txt
Checkpoints enabled
CheckpointDelay 300 s
Stages enabled
StopAfterFactor class
PrintMode compact
V5UserID none
ComputerID none
TimeStampInResults no
VectorSize 2
GPUType AUTO
SmallExp no
UseBinfile mfakto_Kernels.elf
Compiletime options

Select device - Get device info:
WARNING: Unknown GPU name, assuming GCN. Please post the device name "gfx1012 (Advanced Micro Devices, Inc.)" to http://www.mersenneforum.org/showthread.php?t=15646 to have it added to mfakto. Set GPUType in mfakto.ini to select a GPU type yourself to avoid this warning.

OpenCL device info
name gfx1012 (Advanced Micro Devices, Inc.)
device (driver) version OpenCL 2.0 AMD-APP (3075.9) (3075.9 (PAL,LC))
maximum threads per block 1024
maximum threads per grid 1073741824
number of multiprocessors 11 (704 compute elements)
clock rate 1855 MHz

Automatic parameters
threads per grid 0
optimizing kernels for GCN

Compiling kernels.
GPUSievePrimes (adjusted) 82486
GPUsieve minimum exponent 1055144
Started a simple selftest ...
Selftest statistics
number of tests 30
successful tests 30

selftest PASSED!

got assignment: exp=78467119 bit_min=70 bit_max=71 (3.05 GHz-days)
Starting trial factoring M78467119 from 2^70 to 2^71 (3.05GHz-days)
Using GPU kernel "cl_barrett15_73_gs_2"
Date Time | class Pct | time ETA | GHz-d/day Sieve Wait
Apr 12 19:43 | 116 2.4% | 0.553 8m38s | 495.97 82486 0.00%


Previous 20 · Next 20

Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther