Posts by DeleteNull
log in
41) 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]
42) 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
43) 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%
44) Message boards : Number crunching : Trial Factoring tests (Message 6135)
Posted 12 Apr 2020 by DeleteNull
@Rebirther: I am sorry to read that.

Tests with worktodo.txt:
In the self compiled stuff: o.k. runtime about 8 min.
In the unpacked ZIP: Failure.

In the ZIP is contained: mfakto_Kernels.elf
This will work only for the specific hardware and Linux for what this file was compiled for. This file has to be deleted ... it will be compiled during runtime in the target system.

After deletion of mfakto_Kernels.elf the test is also running for the ZIP content.

I have made my own app_info.xml.....but project doesn't accept this.
45) Message boards : Number crunching : Trial Factoring tests (Message 6131)
Posted 12 Apr 2020 by DeleteNull
I can do this around 18:00 UTC+2. Now it's time to visit the 80+ generation for Easter. (Corona social task force)
46) Message boards : Number crunching : Trial Factoring tests (Message 6129)
Posted 12 Apr 2020 by DeleteNull
Thanks.

results are failing:
13:20:23 (13094): wrapper: running ./mfakto-x64 ( -d 11 --device 0)

app_config.xml tells -d 11 but the argument --device 0 ist still there...

How can we deal with this?
47) Message boards : Number crunching : Trial Factoring tests (Message 6127)
Posted 12 Apr 2020 by DeleteNull
I have managed to install the AMD 20.10 driver for linux and the Radeon 5500XT now passes the selftest without errors.

Can you please allow new work for linux boxes with AMD GPU?
48) Message boards : Number crunching : Trial Factoring tests (Message 6123)
Posted 11 Apr 2020 by DeleteNull
Do you mean it's not recognized or it does not run?
Because even though my vega 8 isn't recognized it still runs.


The device is recognized and calculation starts but fails.
To test if this is a driver issue I have replaced the Radeon 5500XT with an R9 380 and now the selftest is completed with success.

But now I can't get new work to test if "AMD with Linux x86_64" is running or not?!
49) Message boards : Number crunching : Trial Factoring (Message 6076)
Posted 9 Apr 2020 by DeleteNull
The results of a Radeon 5500XT (Linux x86_64) you can see here https://p-numbers.net/Radeon_5500XT_Linux-x86_64.txt
50) Message boards : News : Trial Factoring - new subproject (beta) (Message 6059)
Posted 8 Apr 2020 by DeleteNull
o.k.?
https://www.gpu72.com/

We can name it GPU95 because 95 bit is the limit of this software ;)
51) Message boards : News : Trial Factoring - new subproject (beta) (Message 6057)
Posted 8 Apr 2020 by DeleteNull
There will be a name change of the project due a not permitted name from the website operator.


Which name is not permitted?
Who gives the permission?
52) Message boards : Number crunching : Trial Factoring tests (Message 6044)
Posted 7 Apr 2020 by DeleteNull
I will try an app_config.xml
With this app_config.xml I have no more device error:

<app_config>
<app>
<name>GPU72</name>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>GPU72</app_name>
<plan_class>opencl_ati_101</plan_class>
<cmdline>-d 11</cmdline>
</app_version>
</app_config>

...but Radeon 5500 XT is not compatible with this software (like AP27 in PrimeGrid)
53) Message boards : Number crunching : Trial Factoring tests (Message 6040)
Posted 7 Apr 2020 by DeleteNull
You can download the linux version from here:
https://p-numbers.net/mfakto_linux_x86_64.zip
54) Message boards : Number crunching : Trial Factoring (Message 6039)
Posted 7 Apr 2020 by DeleteNull
Just copy the file libcudart.so.10.1 into your /lib64 folder (or whatever your distribution needs)


Last time 'just copy this to that' worked for me was under DOS. This is not DOS, this is Linux. libcudart.so.10.1 is totally unknown yet in the repo that supplies my software.


It goes even further. Under Linux, libcudart.so.10.1 is NOT part of the official CUDA 10.1 toolkit, not even of the official CUDA 10.2 toolkit. Both come with libcudart.so.9.1. You can only get libcudart.so.10.1 by adding an experimental PPA (Mageia) to your softwarelist. As libcudart.so.10.1 also has (inter)dependencies, merely copying the file in a directory will not be enough -but I wrote that earlier.


I followed the instructions in FAQ and found libcudart.so.10.1 in one of the folders.
For all other PC's I copied libcudart.so.10.1 into the /lib64 folder and this works perferctly (for me).
55) Message boards : Number crunching : Trial Factoring (Message 6031)
Posted 5 Apr 2020 by DeleteNull
I'm not getting any work on this host:
http://srbase.my-firewall.org/sr5/show_host_detail.php?hostid=205419
56) Message boards : Number crunching : Trial Factoring tests (Message 6019)
Posted 4 Apr 2020 by DeleteNull
both works (not) for me.
-d 00 seems to be the same as -d 11

GPU is listed and the test starts, but the selftest fails. GPU is a Radeon 5500 XT and mfakto doesn't like these new GPU's:
Unknown GPU name, assuming GCN.

All settings are wrong: AUTO, GCN, VLIW4, VLIW5, APU => selftest FAILED!
57) Message boards : Number crunching : Trial Factoring tests (Message 5933)
Posted 29 Mar 2020 by DeleteNull
mfakto runs on OpenCl devices. That can be AMD/ATI, NVidia, Intel and also some CPU.

And RTX2070 is capable to run CUDA and OpenCL-Code
58) Message boards : Number crunching : Trial Factoring tests (Message 5930)
Posted 29 Mar 2020 by DeleteNull
Firt of all "ldd":
wolfgang@ryzen3700x:~/Downloads/mfact/mfakto> ldd mfakto-x64
linux-vdso.so.1 (0x00007ffc00020000)
libOpenCL.so.1 => /usr/lib64/libOpenCL.so.1 (0x00007efbff4a2000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007efbff2bf000)
libm.so.6 => /lib64/libm.so.6 (0x00007efbff179000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007efbff15f000)
libc.so.6 => /lib64/libc.so.6 (0x00007efbfef99000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007efbfef94000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007efbfef70000)
/lib64/ld-linux-x86-64.so.2 (0x00007efbff6d4000)

Second: you have to specify platform and device, ... for me:
-d 11 (only one platform: NVIDIA, and only one GPU RTX2070)
It seems that numbering starts with 1 (not 0).

But:
mfakto-x64 makes an inline compilation and this fails with an error:
Don't understand command line argument "-O3"!

The complete output is this:
wolfgang@ryzen3700x:~/Downloads/mfact/mfakto> ./mfakto-x64 -tf 3321932839 32 95 -d 11 -v 2
mfakto 0.14 (64bit build)


Runtime options
Inifile mfakto.ini
Verbosity 2
SieveOnGPU yes
MoreClasses yes
GPUSievePrimes 82486
GPUSieveProcessSize 24Ki bits
GPUSieveSize 96Mi bits
FlushInterval 8
WorkFile worktodo.txt
ResultsFile results.txt
Checkpoints enabled
CheckpointDelay 300s
Stages enabled
StopAfterFactor class
PrintMode compact
V5UserID none
ComputerID none
ProgressHeader "Date Time | class Pct | time ETA | GHz-d/day Sieve Wait"
ProgressFormat "%d %T | %C %p%% | %t %e | %g %s %W%%"
TimeStampInResults no
VectorSize 2
GPUType AUTO
SmallExp no
UseBinfile mfakto_Kernels.elf
Compiletime options
Select device - Get device info - Device 1/1: GeForce RTX 2070 (NVIDIA Corporation),
device version: OpenCL 1.2 CUDA, driver version: 440.64
Extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics
Global memory:8368685056, Global memory cache: 1179648, local memory: 49152, workgroup size: 1024, Work dimensions: 3[1024, 1024, 64, 0, 0] , Max clock speed:1830, compute units:36
Compiling kernels (build options: "-I. -DVECTOR_SIZE=2 -O3 -DMORE_CLASSES -DCL_GPU_SIEVE").
BUILD OUTPUT
Error in processing command line: Don't understand command line argument "-O3"!
END OF BUILD OUTPUT
Error -11 (Build program failure): clBuildProgram
ERROR: init_CL(3, 11) failed
59) Message boards : Number crunching : Trial Factoring (Message 5929)
Posted 29 Mar 2020 by DeleteNull
Nvidia on Linux

<message>
process exited with code 195 (0xc3, -61)</message>
<stderr_txt>
22:54:06 (28652): wrapper (7.2.26012): starting
22:54:06 (28652): wrapper: running ./mfaktc.exe ( --device 0)
./mfaktc.exe: error while loading shared libraries: libcudart.so.10.1: cannot open shared object file: No such file or directory
22:54:07 (28652): ./mfaktc.exe exited; CPU time 0.001267
22:54:07 (28652): app exit status: 0x7f00
22:54:07 (28652): called boinc_finish
</stderr_txt>

This code tries running an .exe on Linux! Can be done under WINE (emulator), but not native.


The file ending ".exe" or ".com" doesn't matter in Linux.
The file must have the executable flag x. And it has.
-rwxrwxrwx 1 wolfgang users 2715824 4. Sep 2019 mfaktc.exe

Just copy the file libcudart.so.10.1 into your /lib64 folder (or whatever your distribution needs)
60) Message boards : Number crunching : Raspberry Pi (Message 613)
Posted 12 Jan 2015 by DeleteNull
RaspberryPi has this http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0301h/index.html (section 1.5.9)


Previous 20 · Next 20

Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther