mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-03-22, 00:24   #1
drkirkby
 
Jan 2021

79 Posts
Default g++ doen't like an option gpuowl uses.

I'm using CentOS 7.8 on a Dell 7920.

Download

Code:
[dkirkby@jackdaw gpuowl]$ git clone https://github.com/preda/gpuowl.git
Building - do I just run make?

Code:
[dkirkby@jackdaw gpuowl]$ make
echo \"`git describe --tags --long --dirty --always`\" > version.new
diff -q -N version.new version.inc >/dev/null || mv version.new version.inc
echo Version: `cat version.inc`
Version: "v7.2-69-g23c14a1"
g++ -MT ProofCache.o -MMD -MP -MF .d/ProofCache.Td -Wall -g -O3 -std=gnu++17   -c -o ProofCache.o ProofCache.cpp
g++: error: unrecognized command line option ‘-std=gnu++17’
make: *** [ProofCache.o] Error 1
 [dkirkby@jackdaw gpuowl]$
Here's version of g++
Code:
[dkirkby@jackdaw gpuowl]$ g++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)

Em, I'm not sure why gcc is so old. I will build a later version. I'm guessing gpuowl needs a later version.

Last fiddled with by drkirkby on 2021-03-22 at 00:31
drkirkby is offline   Reply With Quote
Old 2021-03-22, 13:57   #2
M344587487
 
M344587487's Avatar
 
"Composite as Heck"
Oct 2017

22×197 Posts
Default

gcc is so old because you're using a distro that has stability as a feature, that's pretty much why centos is used IMO (at least it was, now red hat are ditching that model which will probably end up killing centos). Gpuowl apparently uses the 2017 gnu dialect of C++ so I think you'll need at least gcc/++ version 8: https://en.wikipedia.org/wiki/C%2B%2...mpiler_support
M344587487 is online now   Reply With Quote
Old 2021-03-22, 14:10   #3
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,617 Posts
Default

Apart from Ubuntu, Fedora is a better choice than Centos,

Last fiddled with by paulunderwood on 2021-03-22 at 14:10
paulunderwood is offline   Reply With Quote
Old 2021-03-22, 16:42   #4
drkirkby
 
Jan 2021

79 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Apart from Ubuntu, Fedora is a better choice than Centos,

I have been using some commercial software that it's only supported on Redhat. CentOS and Suse Enterprise (or whatever they call it).
drkirkby is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GpuOwl 7.x preda GpuOwl 199 2021-03-26 00:00
GpuOwl PRP-Proof changes preda GpuOwl 20 2020-10-17 06:51
gpuOWL for Wagstaff GP2 GpuOwl 22 2020-06-13 16:57
gpuowl tuning M344587487 GpuOwl 14 2018-12-29 08:11
PEEK OPTION Raman Game 1 - ♚♛♝♞♜♟ - Shaolin Pirates 6 2012-12-05 08:07

All times are UTC. The time now is 11:21.

Sat Apr 10 11:21:10 UTC 2021 up 2 days, 6:02, 1 user, load averages: 2.04, 1.60, 1.42

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.