41)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9847)
Posted 23 Mar 2024 by rebirther
/home/sharon/mfacto/mfakto-wrappertest/
has these files in it:
barrett15.cl
barrett.cl
boinc_finish_called
common.cl
COPYING
datatypes.h
gpusieve.cl
job.xml
mfakto.ini
mfakto_Kernels.cl
mfakto_Kernels.elf
mfakto-x64
montgomery.cl
mul24.cl
README.txt
results.txt
stderr.txt
tf_debug.h
todo.txt
worktodo.txt
wrapper_26018_linux-u18_x86-64
wrapper_checkpoint.txt
wrapperdir
ok, then sudo is ok, now we need to know why its not running in BOINC, all looks fine.
|
42)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9845)
Posted 23 Mar 2024 by rebirther
What files? R we talking wrapper-test or BOINC world?
wrapper test
|
43)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9843)
Posted 23 Mar 2024 by rebirther
In terminal I ran:
sharon@sharon-ES7C95:~/mfakto/mfakto-wrappertest$ sudo ./wrapper_26018_linux-u18_x86-64
mfakto/mfakto-wrappertest folder has this in job.xml:
<job_desc>
<task>
<application>./mfakto-x64</application>
<command_line>-d 0</command_line>
</task>
<unzip_input>
<zipfilename>mfakto-linux64-v10.zip</zipfilename>
</unzip_input>
</job_desc>
Where do you have the files? Must be a permission issue somewhere.
|
44)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9841)
Posted 23 Mar 2024 by rebirther
<command_line>-d 0</command_line>
and that was running?
|
45)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9839)
Posted 23 Mar 2024 by rebirther
Yes.
It has one line in it:
no factor for M758604829 from 2^73 to 2^74 [mfakto 0.15pre8 cl_barrett15_74_gs_2]
Then you did the test but why you cant run in BOINC? Do you still have -d 0 in job.xml?
|
46)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9837)
Posted 23 Mar 2024 by rebirther
Looks fine. The test was successfully. You should have a results.txt file in there.
|
47)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9834)
Posted 23 Mar 2024 by rebirther
IF I understand this last test was back to stand-alone w/o the wrapper and it now did not find the GPU. Whereas previously the GPU wasn't found only when we ran inside the wrapper. Is this correct?
To be sure to find the GPU and you have all the files except the wrapper file run mfakto only.
Edit:
If you still have issues with GPU detection try to change in mfakto.ini
GPUType=AUTO to GPUType=GCN
|
48)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9832)
Posted 23 Mar 2024 by rebirther
Nope, try to download mfakto-linux64-v9.zip It contains the older mfakto file, replace it with yours. Also overwrite all .cl files.
1) I unzipped this downloaded zip creating a new test folder (mfakto-linux64-v9).
2) Replaced the mfakto-64 in this new folder with mfakto-64 from my 'wrapper=test' folder.
3) Replaced the .cl files in this new folder with wrapper-test's 7 .cl files.
5) Executed this -- ES7C95:~/mfakto/mfakto-linux64-v9$ ./mfakto-x64
6) Got the following but feel like I regressed...
mfakto 0.15pre8 (64-bit build)
Runtime options
INI file 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 60 s
Stages enabled
StopAfterFactor class
PrintMode compact
V5UserID none
ComputerID none
TimeStampInResults no
VectorSize 2
GPUType AUTO
SmallExp no
UseBinfile mfakto_Kernels.elf
Compile-time options
Select device - GPU not found, fallback to CPU.
Error -1 (Device not found): clCreateContextFromType(CPU)
ERROR: init_CL(3, 0) failed
anyhow mfakto 0.15pre8 is still be used not pre7
|
49)
Message boards :
Number crunching :
Results of bases
(Message 9830)
Posted 23 Mar 2024 by rebirther
R161 tested to n=500k (300-500k)
nothing found, 14 remain
|
50)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9829)
Posted 22 Mar 2024 by rebirther
Is this of any help?
*-pci
description: PCI bridge
product: Navi 10 XL Downstream Port of PCI Express Switch
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:2c:00.0
logical name: /dev/fb0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pci pm pciexpress msi normal_decode bus_master cap_list fb
configuration: depth=32 driver=pcieport mode=1920x1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:e1e10-e1e0f irq:39 ioport:e000(size=4096) memory:fc900000-fcafffff ioport:7800000000(size=17448304640)
*-display
description: VGA compatible controller
product: Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:2d:00.0
logical name: /dev/fb0
version: c3
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
Nope, try to download mfakto-linux64-v9.zip It contains the older mfakto file, replace it with yours. Also overwrite all .cl files.
|
51)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9826)
Posted 22 Mar 2024 by rebirther
but it is not working again.
This was before one of the many changes i should try.
delete the result file and recopy worktodo.txt but edit the file with Factor=7F4004F67F6EC742B408BC43A6649611,758604829,72,73 for faster test
|
52)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9824)
Posted 22 Mar 2024 by rebirther
The result.txt is old
no factor for M758604829 from 2^73 to 2^74 [mfakto 0.15pre8 cl_barrett32_76_gs_2]
It was only a test, still too long to run but was working.
|
53)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9822)
Posted 22 Mar 2024 by rebirther
[Try to set execute permissions also to wrapper file.
There is no file named "wrapper"
I have now set all files to exec.
2024-03-22 22:14:14 (487765): Can't open init data file - running in standalone mode
2024-03-22 22:14:14 (487765): wrapper (7.24.26018): starting
2024-03-22 22:14:14 (487765): wrapper: running ./mfakto-x64 (-d 0)
2024-03-22 22:14:14 (487765): wrapper: created child process 487769
2024-03-22 22:17:12 (487765): ./mfakto-x64 exited; CPU time 2.648441
2024-03-22 22:17:12 (487765): called boinc_finish(0)
2024-03-22 22:42:34 (491215): Can't open init data file - running in standalone mode
2024-03-22 22:42:34 (491215): wrapper (7.24.26018): starting
2024-03-22 22:42:34 (491215): called boinc_finish(0)
2024-03-22 22:50:33 (492097): Can't open init data file - running in standalone mode
2024-03-22 22:50:33 (492097): wrapper (7.24.26018): starting
2024-03-22 22:50:33 (492097): called boinc_finish(0)
The correct name is wrapper_26018_linux-u18_x86-64
The program did something, do you have a result.txt file? As I can see it was running successfully.
|
54)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9820)
Posted 22 Mar 2024 by rebirther
This box has only the single RX6800 in the first (top) x16 slot.
-d 0
-d 1
-d 2
all produced same error:
2024-03-22 16:13:19 (8700): Can't open init data file - running in standalone mode
2024-03-22 16:13:19 (8700): wrapper (7.24.26018): starting
2024-03-22 16:13:19 (8700): wrapper: running ./mfakto-x64 (-d 2)
2024-03-22 16:13:19 (8700): wrapper: created child process 8703
Error -1 (Device not found): clCreateContextFromType(CPU)
2024-03-22 16:13:20 (8700): ./mfakto-x64 exited; CPU time 0.042067
2024-03-22 16:13:20 (8700): app exit status: 0x2
2024-03-22 16:13:20 (8700): called boinc_finish(195)
There must be another format for specifying the GPU device??
Skip
try to remove the -d entry in job.xml. Its odd why it cant find your GPU.
|
55)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9819)
Posted 22 Mar 2024 by rebirther
The execute permission on mfakto file is missing but I have changed it. You also must copy the worktodo.txt into folder.
mfakto-x64 is executable and worktodo.txt was empty
I copied it again.
2024-03-22 22:14:14 (487765): Can't open init data file - running in standalone mode
2024-03-22 22:14:14 (487765): wrapper (7.24.26018): starting
2024-03-22 22:14:14 (487765): wrapper: running ./mfakto-x64 (-d 0)
2024-03-22 22:14:14 (487765): wrapper: created child process 487769
2024-03-22 22:17:12 (487765): ./mfakto-x64 exited; CPU time 2.648441
2024-03-22 22:17:12 (487765): called boinc_finish(0)
2024-03-22 22:42:34 (491215): Can't open init data file - running in standalone mode
2024-03-22 22:42:34 (491215): wrapper (7.24.26018): starting
2024-03-22 22:42:34 (491215): called boinc_finish(0)
THe worktodo.txt has something inside but after the input is finished it will be deleted. Try to set execute permissions also to wrapper file.
|
56)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9816)
Posted 22 Mar 2024 by rebirther
downloaded again.
stderr.txt:
2024-03-22 22:08:13 (487009): Can't open init data file - running in standalone mode
2024-03-22 22:08:13 (487009): wrapper (7.24.26018): starting
2024-03-22 22:08:13 (487009): wrapper: running ./mfakto-x64 (-device 0)
2024-03-22 22:08:13 (487009): wrapper: created child process 487011
execv() failed: : Permission denied
2024-03-22 22:08:14 (487009): ./mfakto-x64 exited; CPU time 0.000212
2024-03-22 22:08:14 (487009): app exit status: 0x6c
2024-03-22 22:08:14 (487009): called boinc_finish(195)
terminal:
mfakto 0.15pre8 (64-bit build)
Runtime options
INI file 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 60 s
Stages enabled
StopAfterFactor class
PrintMode compact
V5UserID none
ComputerID none
TimeStampInResults no
VectorSize 2
GPUType AUTO
SmallExp no
UseBinfile mfakto_Kernels.elf
Compile-time options
Select device - Get device info:
OpenCL device info
name gfx906 (Advanced Micro Devices, Inc.)
device (driver) version OpenCL 2.0 AMD-APP (3180.7) (3180.7 (PAL,HSAIL))
maximum threads per block 1024
maximum threads per grid 1073741824
number of multiprocessors 60 (3840 compute elements)
clock rate 1304 MHz
Automatic parameters
threads per grid 0
optimizing kernels for GCNF
Compiling kernels.
GPUSievePrimes (adjusted) 82486
GPUsieve minimum exponent 1055144
Started a simple self-test ...
Self-test statistics
number of tests 30
successful tests 30
self-test PASSED!
got assignment: exp=758604829 bit_min=73 bit_max=74 (2.52 GHz-days)
Starting trial factoring M758604829 from 2^73 to 2^74 (2.52 GHz-days)
Using GPU kernel "cl_barrett32_76_gs_2"
Date Time | class Pct | time ETA | GHz-d/day Sieve Wait
Mar 22 22:17 | 4619 100.0% | 0.182 0m00s | 1247.03 82486 0.00%
no factor for M758604829 from 2^73 to 2^74 [mfakto 0.15pre8 cl_barrett32_76_gs_2]
tf(): total time spent: 2m 55.770s (1239.58 GHz-days / day)
ERROR: get_next_assignment(): no valid assignment found in "worktodo.txt"
The execute permission on mfakto file is missing but I have changed it. You also must copy the worktodo.txt into folder.
|
57)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9814)
Posted 22 Mar 2024 by rebirther
stderr:
2024-03-22 16:01:34 (8214): Can't open init data file - running in standalone mode
2024-03-22 16:01:34 (8214): wrapper (7.24.26018): starting
2024-03-22 16:01:34 (8214): wrapper: running ./mfakto-x64 (-d 0)
2024-03-22 16:01:34 (8214): wrapper: created child process 8216
Error -1 (Device not found): clCreateContextFromType(CPU)
2024-03-22 16:01:35 (8214): ./mfakto-x64 exited; CPU time 0.049071
2024-03-22 16:01:35 (8214): app exit status: 0x2
2024-03-22 16:01:35 (8214): called boinc_finish(195)
terminal:
ES7C95:~/mfakto/mfakto-wrappertest$ ./wrapper_26018_linux-u18_x86-64
2024-03-22 16:01:34 (8214): wrapper (7.24.26018): starting
mfakto 0.15pre8 (64-bit build)
Runtime options
INI file 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 60 s
Stages enabled
StopAfterFactor class
PrintMode compact
V5UserID none
ComputerID none
TimeStampInResults no
VectorSize 2
GPUType AUTO
SmallExp no
UseBinfile mfakto_Kernels.elf
Compile-time options
Select device - GPU not found, fallback to CPU.
ERROR: init_CL(3, 0) failed
hmm, how many GPUs do you have and in which slot is the 6000er?
Edit:
play with -d in job.xml like -d 1 or -d 2
|
58)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9812)
Posted 22 Mar 2024 by rebirther
stderr.txt:
2024-03-22 15:49:09 (7750): Can't open init data file - running in standalone mode
2024-03-22 15:49:09 (7750): wrapper (7.24.26018): starting
2024-03-22 15:49:09 (7750): wrapper: running ./mfakto-x64 (-device 0)
2024-03-22 15:49:09 (7750): wrapper: created child process 7754
ERROR: unknown option '-device'
2024-03-22 15:49:10 (7750): ./mfakto-x64 exited; CPU time 0.000000
2024-03-22 15:49:10 (7750): app exit status: 0x1
2024-03-22 15:49:10 (7750): called boinc_finish(195)
try to change in job.xml file
-device 0 to -d 0
I thought it was wrong but wasnt, will change this in file again.
|
59)
Message boards :
Number crunching :
Results of bases
(Message 9810)
Posted 22 Mar 2024 by rebirther
R812 tested to n=600k (400-600k)
nothing found, 1 remain
|
60)
Message boards :
Number crunching :
Linux TF WUs on ATI 6800 cards
(Message 9809)
Posted 22 Mar 2024 by rebirther
ok, set the execute permissions to the wrapper file and change in job.xml -d 1 to -device 0
update:
I have fixed the zip file, nothing need to be changed.
|