mersenneforum.org  

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

Reply
 
Thread Tools
Old 2005-01-04, 07:55   #1
ben
 
Jan 2005

11 Posts
Default How to run GIMPS on SCO OpenServer 5.0.6?

I has a HP Compaq ML370 G3 computer, 2xPentium Xeon 2.4GHz CPU, 4GBytes Memory, run on SCO OpenServer 5.0.6.
How to run GIMPS on this computer?

thinks,
Ben
ben is offline   Reply With Quote
Old 2005-01-04, 08:06   #2
ben
 
Jan 2005

11 Posts
Default Mlucas

I download Mlucas_src_10.21.04.tar.gz from http://hogranch.com/mayer/README.html , this program need 64 bits integer(long long int), but SCO OpenServer 5.0.6's C complier: SCO UNIX Development System Release 5.1.2A 27Jul00, display error:
"./types.h", line 48: error: invalid type combination
types.h line 48 is: typedef long long int64;
How to I do?

thinks,
ben
ben is offline   Reply With Quote
Old 2005-01-04, 15:30   #3
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

754310 Posts
Default

Try Glucas, maybe you'll have better luck compiling that
Prime95 is offline   Reply With Quote
Old 2005-01-05, 02:17   #4
ben
 
Jan 2005

1110 Posts
Default Glucas

Quote:
Originally Posted by Prime95
Try Glucas, maybe you'll have better luck compiling that
http://glucas.sourceforge.net/glucas/index.html

thinks,
ben
ben is offline   Reply With Quote
Old 2005-01-08, 03:02   #5
ben
 
Jan 2005

138 Posts
Default Mlucas for SCO OpenServer 5.0.6

http://ben.skyiv.com/test/Mlucas.htm
ben is offline   Reply With Quote
Old 2005-01-14, 03:02   #6
ben
 
Jan 2005

11 Posts
Default

Quote:
Originally Posted by Prime95
Try Glucas, maybe you'll have better luck compiling that
Dear Prime95:
Can you build Prime95 for SCO OpenServer 5.0.6?
On SCO OpenServer 5.0.6, gcc-3.4.3 compiler is valid.

thanks,
Ben

BTW: Build gcc-3.4.3 on SCO OpenServer 5.0.6:
1. Install SCO OpenServer 5.0.6.
2. Install rs506a: Release Supplement 5.0.6A.
Download from: ftp://ftp.sco.com/pub/openserver5/rs506a.
3. Install oss646c: Execution Environment Supplement.
Download from: ftp://ftp.sco.com/pub/openserver5/oss646c.
4. Install gwxlibs-1.3.2.Ag: Supplemental Graphics, Web and X11 Libraries supplement.
Download from: ftp://ftp.sco.com/pub/openserver5/op...wxlibs-1.3.2Ag.
5. Install gnutools-v5.0.7kj: GNU Development Tools supplement.
Download from: ftp://ftp.sco.com/pub/openserver5/op...utools-5.0.7Kj.
6. Download gcc-core-3.4.3.tar.gz and uncompress.
7. $ mkdir src; cd src;
8. $ tar xf gcc-core-3.4.3.tar
9. $ cd ../; mkdir obj; cd obj
10. $ ../src/gcc-3.4.3/configure --prefix=/usr/local/gcc-3.4.3 --with-gnu-as
11. $ make bootstrap
12. $ su
13. # make install
14. # exit
15. $ ../src/gcc-3.4.3/config.guess
i686-pc-sco3.2v5.0.6
17. $ gcc -v
Reading specs from /var/opt/K/SCO/Unix/5.0.6Ga/usr/local/gcc-3.4.3/bin/../lib/gcc/i686-pc-sco3.2v5.0.6/3.4.3/specs
Configured with: ../src/gcc-3.4.3/configure --prefix=/usr/local/gcc-3.4.3 --with-gnu-as
Thread model: single
gcc version 3.4.3
18. $ exit

Last fiddled with by ben on 2005-01-14 at 03:07
ben is offline   Reply With Quote
Old 2005-01-14, 20:13   #7
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

19·613 Posts
Default

Quote:
Originally Posted by ben
Apparently Ben was able to build Mlucas successfully on this platform - Ben, how did you resolve the compiler error related to the 'long long' typedef in types.h you mentioned in your first post?

Based on your Xeon timings, the gcc-built Mlucas is about half as fast as the p4-optimized Prime95 code on a Xeon (that sounds about right), so a version of Prime95 for this OS would be nice to have.
ewmayer is offline   Reply With Quote
Old 2005-01-15, 00:13   #8
ben
 
Jan 2005

11 Posts
Default

Quote:
Originally Posted by ewmayer
Ben, how did you resolve the compiler error related to the 'long long' typedef in types.h you mentioned in your first post?
SCO OpenServer 5.0.6's C complier: SCO UNIX Development System Release 5.1.2A 27Jul00, not support the 'long long' type.
But gcc-3.4.3 complier support the 'long long' type.
see #6: BTW: Build gcc-3.4.3 on SCO OpenServer 5.0.6:
ben is offline   Reply With Quote
Old 2005-01-15, 00:51   #9
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

19×613 Posts
Default

Quote:
Originally Posted by ben
SCO OpenServer 5.0.6's C complier: SCO UNIX Development System Release 5.1.2A 27Jul00, not support the 'long long' type.
But gcc-3.4.3 complier support the 'long long' type.
see #6: BTW: Build gcc-3.4.3 on SCO OpenServer 5.0.6:
Try changing the 2 lines with 'typedef long long' in your local types.h file to have just one 'long' and see if you can get it to build using the above compiler - it would be interesting to compare the performance of the executables built by the 2 different compilers. The code will automatically test whether the resulting typedef still has the needed 64 bits on startup.
ewmayer is offline   Reply With Quote
Old 2005-01-15, 03:51   #10
ben
 
Jan 2005

11 Posts
Default

Quote:
Originally Posted by ewmayer
Try changing the 2 lines with 'typedef long long' in your local types.h file to have just one 'long' and see if you can get it to build using the above compiler - it would be interesting to compare the performance of the executables built by the 2 different compilers. The code will automatically test whether the resulting typedef still has the needed 64 bits on startup.
qfloat.c include:
const struct qfloat QSQRT2 = {0x3FF6A09E667F3BCCull, 0x908B2FB1366EA958ull};

SCO UNIX Development System can't compile.
ben is offline   Reply With Quote
Old 2005-01-17, 16:25   #11
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

19·613 Posts
Default

Quote:
Originally Posted by ben
qfloat.c include:
const struct qfloat QSQRT2 = {0x3FF6A09E667F3BCCull, 0x908B2FB1366EA958ull};

SCO UNIX Development System can't compile.
Boy, this compiler really dislikes 'long long' - looks like you'll need to change all occurrences of {64-bit const}ull to ...ul - luckily, all such occurrences are in just 2 files, qfloat.h and qfloat.c .
ewmayer is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
128-bit OS'es and GIMPS? ixfd64 Software 22 2011-10-31 22:23
GIMPS on PS3 flouran Hardware 202 2010-04-30 09:06
GIMPS uses only 1 cpu Unregistered Information & Answers 7 2009-01-10 20:01
Why do you run GIMPS ? Prime Monster Lounge 12 2003-11-25 19:04
Yet another GIMPS FAQ Prime Monster Lounge 9 2003-04-12 12:12

All times are UTC. The time now is 07:58.


Fri Aug 6 07:58:46 UTC 2021 up 14 days, 2:27, 1 user, load averages: 2.02, 2.22, 2.40

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.