mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2002-10-19, 23:11   #1
FenwayFrank
 
Oct 2002

7 Posts
Default Building on Linux?

Hi --
I'm running mprime on a Linux system. I'm thinking about writing a Gnome and/or KDE taskbar widget to show the progress of the computations, much in the way that the Prime95 icon is kept on the taskbar of Windows systems (but keep in mind that "planning" and "doing" are often two different things..)

Two questions come up. The first is simple: where's the current source? The code available at ftp://mersenne.org/gimps is the 22.7 version, not 22.10. The changes, I'm sure, are minor -- otherwise we'd be talking about 23.0 -- but I'd still rather start from the "right" version.

The second is 'how do I go about building this'? I went to the linux subdirectory and added a VPATH directive to the makefile to get it to work in that directory but don't know how I'd go about doing a "full build". Is there an assumption about environment variables, command line arguments or ordering between the directories that I should know about?

TIA. -- Frank
FenwayFrank is offline   Reply With Quote
Old 2002-10-20, 01:43   #2
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

27·61 Posts
Default

Something like this?

http://www.cryptofreak.org/projects/gkrellmgimps/
Xyzzy is offline   Reply With Quote
Old 2002-10-20, 05:31   #3
Deamiter
 
Deamiter's Avatar
 
Sep 2002

32×13 Posts
Default

on the page you linked to, could it be "sprime2210.tgz"? It looks to me like that's the source for mprime, and "source" is the source for p95.
Deamiter is offline   Reply With Quote
Old 2002-10-20, 21:02   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·3·1,193 Posts
Default Re: Building on Linux?

Quote:
Originally Posted by FenwayFrank
The second is 'how do I go about building this'?
I build it using Redhat 7.2. I unzip everything, go to the Linux directory, and type "make mprime".

If that doesn't work and you have suggestions for improving the makefile so that it works on different distros, please let me know. Also, I can upload 22.10 source. I'd like to do that after you've upgraded the makefile.
Prime95 is offline   Reply With Quote
Old 2002-10-20, 21:59   #5
FenwayFrank
 
Oct 2002

7 Posts
Default

Xyxxy points the noobie to gkrelimgimps: something very similar, but to be pulled into the task bar itself. Thanks for the pointer; I can probably stea^H^H^H^Hborrow some of the same mechanisms as a starting point. Actually, I like that a lot -- I may keep it running anyway.

Deamiter suggested:
Quote:
on the page you linked to, could it be "sprime2210.tgz"? It looks to me like that's the source for mprime, and "source" is the source for p95.
I had the same thought but found that it's the 22.10 version of the executable along with the five .txt files.

Finally, Prime95 says
Quote:
I unzip everything, go to the Linux directory, and type "make mprime".
I just tried that with the original makefile but it didn't work until I added 'VPATH=../prime95' near the top. You may also want to add "-I.." to the alternate setting of CFLAGS, remove "-m486" and use that as the default setting instead: 486s are probably in the minority by now.
FenwayFrank is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help building GMP for prime95 29.3 Prime95 Linux 16 2017-08-29 18:02
Building sr1sieve for RPi wombatman Software 14 2017-03-04 16:21
Building yafu on windows/linux 2147483647 YAFU 19 2016-12-09 07:59
Help building new computer Prime95 Hardware 30 2009-09-12 05:58
Building gcc 4.4.0 CRGreathouse Software 1 2009-07-07 22:25

All times are UTC. The time now is 09:53.

Fri Nov 27 09:53:18 UTC 2020 up 78 days, 7:04, 4 users, load averages: 1.42, 1.37, 1.25

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.