mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing > GpuOwl

Reply
 
Thread Tools
Old 2020-11-01, 20:10   #1
joejoefla
 
May 2019

2×3 Posts
Default -safeMath not recognized

Hi Everyone,

I ran a basic command that includes the -safeMath common argument with 7.1-11. When I upgraded to 7.2-2 I received the error:

Quote:
2020-11-01 14:41:13 GpuOwl VERSION v7.2-2-ga135d8d
2020-11-01 14:41:13 Argument '-safeMath' '' not understood
2020-11-01 14:41:13 Exiting because "args"
2020-11-01 14:41:13 Bye
I checked out the readme file for 7.2 and it still saw the argument listed. Curious I ran gpuowl-win.exe by itself and got:

Quote:
2020-11-01 15:00:05 GeForce GTX 1080-0 104829353 OpenCL args "-DEXP=104829353u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=11u -DCARRY64=1 -DCARRYM64=1 -DMM2_CHAIN=1u -DMAX_ACCURACY=1 -DWEIGHT_STEP_MINUS_1=0xc.4e8e3ea58404p-4 -DIWEIGHT_STEP_MINUS_1=-0xd.e99a47b4101d8p-5 -cl-std=CL2.0 -cl-finite-math-only "
What was interesting was -cl-unsafe-math-optimizations didn't appear. I ran gpuowl-win.exe from 7.1-11 byitself and got this:

Quote:
2020-11-01 15:00:23 GeForce GTX 1080-0 104829353 OpenCL args "-DEXP=104829353u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=11u -DCARRY64=1 -DCARRYM64=1 -DMM2_CHAIN=1u -DMAX_ACCURACY=1 -DWEIGHT_STEP_MINUS_1=0xc.4e8e3ea58404p-4 -DIWEIGHT_STEP_MINUS_1=-0xd.e99a47b4101d8p-5 -cl-unsafe-math-optimizations -cl-std=CL2.0 -cl-finite-math-only "
I'm thinking -safeMath is enabled by default in v7.2?

I wanted to let someone know because there might be a discrepancy in the readme file.
joejoefla is offline   Reply With Quote
Old 2020-11-01, 20:40   #2
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

101010011112 Posts
Default

Quote:
Originally Posted by joejoefla View Post
Hi Everyone,

I ran a basic command that includes the -safeMath common argument with 7.1-11. When I upgraded to 7.2-2 I received the error:



I checked out the readme file for 7.2 and it still saw the argument listed. Curious I ran gpuowl-win.exe by itself and got:



What was interesting was -cl-unsafe-math-optimizations didn't appear. I ran gpuowl-win.exe from 7.1-11 byitself and got this:



I'm thinking -safeMath is enabled by default in v7.2?

I wanted to let someone know because there might be a discrepancy in the readme file.
Yes -safeMath is enabled by default. See in help (-h), there is now -unsafeMath to disable it. Basically the default was flipped.
preda is offline   Reply With Quote
Old 2020-11-01, 22:20   #3
joejoefla
 
May 2019

2·3 Posts
Default

Quote:
Originally Posted by preda View Post
Yes -safeMath is enabled by default. See in help (-h), there is now -unsafeMath to disable it. Basically the default was flipped.
Tanks Preda!. I didn't think about running it with -h.

Last fiddled with by joejoefla on 2020-11-01 at 22:21
joejoefla is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mprime not being recognized on ubuntu 16.04 Yoshi24517 Software 15 2018-04-07 10:57
6 CPU cores not recognized by Prime95 v25.11.8 Christenson Information & Answers 4 2011-02-06 01:03
L2 cache size NOT RECOGNIZED for Core2 E8400 spartanroc Software 7 2008-10-03 15:34
Bug report: Core 2 Duo recognized as P3? Andi47 GMP-ECM 0 2007-06-20 17:17

All times are UTC. The time now is 03:29.

Fri May 7 03:29:30 UTC 2021 up 28 days, 22:10, 0 users, load averages: 2.69, 2.50, 2.49

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.