* g++ optimisations in AlphaLinux
@ 2005-11-27 11:03 Dr Ivan D. Reid
2005-11-27 12:35 ` Måns Rullgård
2005-11-28 21:09 ` DiskMan
0 siblings, 2 replies; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-11-27 11:03 UTC (permalink / raw)
Now that I have Debian Sarge running on my PWS500a, I've been porting
seti@home to the machine. The performance has been disappointing; the
standard test work-unit is going to take around 60 hours to complete. boinc
benchmarks report:
2005-11-27 11:00:51 [---] Running CPU benchmarks
2005-11-27 11:01:50 [---] Benchmark results:
2005-11-27 11:01:50 [---] Number of CPUs: 1
2005-11-27 11:01:50 [---] 153 double precision MIPS (Whetstone) per CPU
2005-11-27 11:01:50 [---] 555 integer MIPS (Dhrystone) per CPU
2005-11-27 11:01:50 [---] Finished CPU benchmarks
I got gprof running and noticed a few things like:
o much of the time is spent in calculating log-gamma functions. These
do a lot of casting to and from single-precision parameters/results.
o the total time that gprof reports is only about 1/3rd the cpu time charged
to the programme by top (e.g. a 39618-second run only totalled up 11376 seconds
of profile time). Since this is unlikely to be profiler overhead, I'm
wondering if it's due to unaligned access or double/float conversion causing
execution problems.
Can anyone suggest which g++ options [g++ (GCC) 3.3.5
(Debian 1:3.3.5-13)] might improve the performance? I've been looking for
flags to control alignment of floats, or promote all floats to doubles,
but I haven't found anything yet.
Please cross-post this if you know of a better group to ask in.
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 11:03 g++ optimisations in AlphaLinux Dr Ivan D. Reid
@ 2005-11-27 12:35 ` Måns Rullgård
2005-11-27 13:33 ` Dr Ivan D. Reid
2005-11-27 14:10 ` Dr Ivan D. Reid
2005-11-28 21:09 ` DiskMan
1 sibling, 2 replies; 25+ messages in thread
From: Måns Rullgård @ 2005-11-27 12:35 UTC (permalink / raw)
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
> Can anyone suggest which g++ options [g++ (GCC) 3.3.5
> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for
> flags to control alignment of floats, or promote all floats to doubles,
> but I haven't found anything yet.
Try the Compaq compiler and the Compaq CPML math library.
--
M�ns Rullg�rd
mru@inprovide.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 12:35 ` Måns Rullgård
@ 2005-11-27 13:33 ` Dr Ivan D. Reid
2005-11-27 14:10 ` Dr Ivan D. Reid
1 sibling, 0 replies; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-11-27 13:33 UTC (permalink / raw)
On Sun, 27 Nov 2005 12:35:48 +0000, M�ns Rullg�rd <mru@inprovide.com>
wrote in <yw1xr792gtej.fsf@ford.inprovide.com>:
> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
>> Can anyone suggest which g++ options [g++ (GCC) 3.3.5
>> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for
>> flags to control alignment of floats, or promote all floats to doubles,
>> but I haven't found anything yet.
> Try the Compaq compiler and the Compaq CPML math library.
Ah, right, I knew there was something I'd forgotten!
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 12:35 ` Måns Rullgård
2005-11-27 13:33 ` Dr Ivan D. Reid
@ 2005-11-27 14:10 ` Dr Ivan D. Reid
2005-11-27 14:55 ` Måns Rullgård
1 sibling, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-11-27 14:10 UTC (permalink / raw)
On Sun, 27 Nov 2005 12:35:48 +0000, M�ns Rullg�rd <mru@inprovide.com>
wrote in <yw1xr792gtej.fsf@ford.inprovide.com>:
> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
>> Can anyone suggest which g++ options [g++ (GCC) 3.3.5
>> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for
>> flags to control alignment of floats, or promote all floats to doubles,
>> but I haven't found anything yet.
> Try the Compaq compiler and the Compaq CPML math library.
Hmm, where's the best place to get them? Most of the links I
can find are very old.
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 14:10 ` Dr Ivan D. Reid
@ 2005-11-27 14:55 ` Måns Rullgård
2005-11-27 15:50 ` Dr Ivan D. Reid
0 siblings, 1 reply; 25+ messages in thread
From: Måns Rullgård @ 2005-11-27 14:55 UTC (permalink / raw)
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
> On Sun, 27 Nov 2005 12:35:48 +0000, M�ns Rullg�rd <mru@inprovide.com>
> wrote in <yw1xr792gtej.fsf@ford.inprovide.com>:
>> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
>
>>> Can anyone suggest which g++ options [g++ (GCC) 3.3.5
>>> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for
>>> flags to control alignment of floats, or promote all floats to doubles,
>>> but I haven't found anything yet.
>
>> Try the Compaq compiler and the Compaq CPML math library.
>
> Hmm, where's the best place to get them? Most of the links I
> can find are very old.
ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/
The latest versions of the compilers require either payment or
approval for some sort of "enthusiast and education license". Older
versions can be downloaded freely from
ftp://ftp.compaq.com/pub/products/C-Cxx/linux/
--
M�ns Rullg�rd
mru@inprovide.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 14:55 ` Måns Rullgård
@ 2005-11-27 15:50 ` Dr Ivan D. Reid
2005-11-27 16:39 ` Måns Rullgård
0 siblings, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-11-27 15:50 UTC (permalink / raw)
On Sun, 27 Nov 2005 14:55:01 +0000, M�ns Rullg�rd <mru@inprovide.com>
wrote in <yw1xacfqgmyi.fsf@ford.inprovide.com>:
> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
>> On Sun, 27 Nov 2005 12:35:48 +0000, M�ns Rullg�rd <mru@inprovide.com>
>> wrote in <yw1xr792gtej.fsf@ford.inprovide.com>:
>>> Try the Compaq compiler and the Compaq CPML math library.
>> Hmm, where's the best place to get them? Most of the links I
>> can find are very old.
> ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/
Thanks. The first site I tried was so old that the registration
e-mail bounced, "no such user". :-/
> The latest versions of the compilers require either payment or
> approval for some sort of "enthusiast and education license". Older
> versions can be downloaded freely from
> ftp://ftp.compaq.com/pub/products/C-Cxx/linux/
OK, I now have these rpms to play with:
cfal-1.2.0-3.alpha.rpm 100% 5003KB 29.6KB/s 02:49
cfalrtl-1.2.0-3.alpha.rpm 100% 958KB 30.9KB/s 00:31
cpml_ev5-5.2.0-1.alpha.rpm 100% 316KB 35.2KB/s 00:09
cxml_ev5-5.2.0-2.alpha.rpm 100% 12MB 30.0KB/s 06:53
ladebug-4.0.67-21.alpha.rpm 100% 2251KB 30.4KB/s 01:14
libots-2.2.7-2.alpha.rpm 100% 92KB 46.1KB/s 00:02
and they're scp'ed to the server at work so I can archive them onto CD
tomorrow, just in case I screw up...
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 15:50 ` Dr Ivan D. Reid
@ 2005-11-27 16:39 ` Måns Rullgård
2005-11-27 17:07 ` Dr Ivan D. Reid
0 siblings, 1 reply; 25+ messages in thread
From: Måns Rullgård @ 2005-11-27 16:39 UTC (permalink / raw)
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
> On Sun, 27 Nov 2005 14:55:01 +0000, M�ns Rullg�rd <mru@inprovide.com>
> wrote in <yw1xacfqgmyi.fsf@ford.inprovide.com>:
>> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
>
>>> On Sun, 27 Nov 2005 12:35:48 +0000, M�ns Rullg�rd <mru@inprovide.com>
>>> wrote in <yw1xr792gtej.fsf@ford.inprovide.com>:
>
>>>> Try the Compaq compiler and the Compaq CPML math library.
>
>>> Hmm, where's the best place to get them? Most of the links I
>>> can find are very old.
>
>> ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/
>
> Thanks. The first site I tried was so old that the registration
> e-mail bounced, "no such user". :-/
>
>> The latest versions of the compilers require either payment or
>> approval for some sort of "enthusiast and education license". Older
>> versions can be downloaded freely from
>> ftp://ftp.compaq.com/pub/products/C-Cxx/linux/
>
> OK, I now have these rpms to play with:
> cfal-1.2.0-3.alpha.rpm
> cfalrtl-1.2.0-3.alpha.rpm
> cpml_ev5-5.2.0-1.alpha.rpm
> cxml_ev5-5.2.0-2.alpha.rpm
> ladebug-4.0.67-21.alpha.rpm
> libots-2.2.7-2.alpha.rpm
You should get the compilers too. The C compiler is ccc-version.rpm,
and C++ is cxx-version.rpm. You'll find the latest free versions in
the compaq_c_beta and compaq_cxx_beta directories under the second
link I posted. I doubt there is much improvement in the later
versions.
--
M�ns Rullg�rd
mru@inprovide.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 16:39 ` Måns Rullgård
@ 2005-11-27 17:07 ` Dr Ivan D. Reid
2005-11-27 17:39 ` Måns Rullgård
0 siblings, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-11-27 17:07 UTC (permalink / raw)
[Crossposted to clf in case Steve L sees it and can give a working link...]
On Sun, 27 Nov 2005 16:39:22 +0000, M�ns Rullg�rd <mru@inprovide.com>
wrote in <yw1x3bligi4l.fsf@ford.inprovide.com>:
> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
>
>> On Sun, 27 Nov 2005 14:55:01 +0000, M�ns Rullg�rd <mru@inprovide.com>
>> wrote in <yw1xacfqgmyi.fsf@ford.inprovide.com>:
>>> ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/
> You should get the compilers too. The C compiler is ccc-version.rpm,
> and C++ is cxx-version.rpm. You'll find the latest free versions in
> the compaq_c_beta and compaq_cxx_beta directories under the second
> link I posted. I doubt there is much improvement in the later
> versions.
Ah, yes, they weren't pointed to directly by the link above; one needs
ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/downloads.html
I'll get there sooner or later...
Aargh! But the links to get a licence are dead!
Help! Steve? Someone?...
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 17:07 ` Dr Ivan D. Reid
@ 2005-11-27 17:39 ` Måns Rullgård
0 siblings, 0 replies; 25+ messages in thread
From: Måns Rullgård @ 2005-11-27 17:39 UTC (permalink / raw)
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
> [Crossposted to clf in case Steve L sees it and can give a working link...]
> On Sun, 27 Nov 2005 16:39:22 +0000, M�ns Rullg�rd <mru@inprovide.com>
> wrote in <yw1x3bligi4l.fsf@ford.inprovide.com>:
>> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
>>
>>> On Sun, 27 Nov 2005 14:55:01 +0000, M�ns Rullg�rd <mru@inprovide.com>
>>> wrote in <yw1xacfqgmyi.fsf@ford.inprovide.com>:
>
>>>> ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/
>
>> You should get the compilers too. The C compiler is ccc-version.rpm,
>> and C++ is cxx-version.rpm. You'll find the latest free versions in
>> the compaq_c_beta and compaq_cxx_beta directories under the second
>> link I posted. I doubt there is much improvement in the later
>> versions.
>
> Ah, yes, they weren't pointed to directly by the link above; one needs
> ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/downloads.html
>
> I'll get there sooner or later...
>
> Aargh! But the links to get a licence are dead!
As I said, get the ones that don't need licenses:
ftp://ftp.compaq.com/pub/products/C-Cxx/linux/compaq_c_beta/ccc-6.5.6.002-1.alpha.rpm
ftp://ftp.compaq.com/pub/products/C-Cxx/linux/compaq_cxx_beta/cxx-6.5.9.20-1.alpha.rpm
--
M�ns Rullg�rd
mru@inprovide.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-27 11:03 g++ optimisations in AlphaLinux Dr Ivan D. Reid
2005-11-27 12:35 ` Måns Rullgård
@ 2005-11-28 21:09 ` DiskMan
2005-11-28 23:45 ` Dr Ivan D. Reid
1 sibling, 1 reply; 25+ messages in thread
From: DiskMan @ 2005-11-28 21:09 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I cannot believe they finally went back to 'open source' with Seti@home
again... They used to do it some time ago but had issues with ppl trying
'tweak' the code and sending in bad work units...
Yea, Compaq C would be the best bet for speed and performance. On the
Alpha, not much can come close... Hey, when you finish porting it over,
please drop us a line as to where we can down load that mutha... I've been
running seti@home [non-open source] version for sometime and wouldn't mind
a boost in speed!
Will L G
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFDi3HU7+82KVWIpD0RAmDrAKDFOfV85Zk207GuY8G/EK4u+cQ9EQCeKJpj
DbN17jU4xlOrBwz7zGICGi0=
=NkYJ
-----END PGP SIGNATURE-----
On Sun, 27 Nov 2005 11:03:46 +0000, Dr Ivan D. Reid wrote:
> Now that I have Debian Sarge running on my PWS500a, I've been porting
> seti@home to the machine. The performance has been disappointing; the
> standard test work-unit is going to take around 60 hours to complete. boinc
> benchmarks report:
>
> 2005-11-27 11:00:51 [---] Running CPU benchmarks
> 2005-11-27 11:01:50 [---] Benchmark results:
> 2005-11-27 11:01:50 [---] Number of CPUs: 1
> 2005-11-27 11:01:50 [---] 153 double precision MIPS (Whetstone) per CPU
> 2005-11-27 11:01:50 [---] 555 integer MIPS (Dhrystone) per CPU
> 2005-11-27 11:01:50 [---] Finished CPU benchmarks
>
> I got gprof running and noticed a few things like:
> o much of the time is spent in calculating log-gamma functions. These
> do a lot of casting to and from single-precision parameters/results.
> o the total time that gprof reports is only about 1/3rd the cpu time charged
> to the programme by top (e.g. a 39618-second run only totalled up 11376 seconds
> of profile time). Since this is unlikely to be profiler overhead, I'm
> wondering if it's due to unaligned access or double/float conversion causing
> execution problems.
>
> Can anyone suggest which g++ options [g++ (GCC) 3.3.5
> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for
> flags to control alignment of floats, or promote all floats to doubles,
> but I haven't found anything yet.
>
> Please cross-post this if you know of a better group to ask in.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-28 21:09 ` DiskMan
@ 2005-11-28 23:45 ` Dr Ivan D. Reid
2005-11-29 3:08 ` DiskMan
0 siblings, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-11-28 23:45 UTC (permalink / raw)
On Mon, 28 Nov 2005 21:09:07 GMT, DiskMan <nobody@thewheel.com>
wrote in <pan.2005.11.28.21.08.59.560447@thewheel.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I cannot believe they finally went back to 'open source' with Seti@home
> again... They used to do it some time ago but had issues with ppl trying
> 'tweak' the code and sending in bad work units...
In some respects that's covered by taking the median value of
performance returned and discarding the highs and lows, but I can see that
it could still be a problem.
> Yea, Compaq C would be the best bet for speed and performance. On the
> Alpha, not much can come close... Hey, when you finish porting it over,
> please drop us a line as to where we can down load that mutha... I've been
> running seti@home [non-open source] version for sometime and wouldn't mind
> a boost in speed!
I would gladly, but I've run into a few "issues". AFAICT I've got
the latest unencrypted versions of everything (but the versioning is a
mess, as regards out-of-date stuff still being available on out-of-date
websites). Ran into some problems with ccc that I think I solved with the
help of http://www.physik.tu-cottbus.de/~george/unix/ccc.html -- in the
end the bit about gcc -V $GCC_VER I solved by commenting out the "-V
$GCC_VER"... However, when I tried installing cxx I find errors like
===
/usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/lnxexx -V
This beta test software has expired.
Please contact Compaq to receive a more recent version.
Compaq C++ V6.5-020 for linux
Compiler Driver V6.5-020 (cxx) cxx Driver
cat /usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/.version
Installed as cxx-6.5.9.20
3.1
Testing linker demangler support
/usr/bin/ld: unknown demangling style `compaq'collect2: ld returned 1 exit status
Aborting
If you can correct the problem, you can rerun this script manually
by entering a command in the following format:
create-comp-config.sh cxx-version [gcc-path]
The current invocation of create-comp-config.sh was:
/usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/create-comp-config.sh cxx-6.5.9.20
dpkg: error processing cxx (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
cxx
E: Sub-process /usr/bin/dpkg returned an error code (1)
===
When I tried installing their binutils I got a message that I was
reverting to an earlier version -- and still got the demangling error.
I won't have meuch time to play with it after this week, but I may
be able to pick up another SCSI disk next week, to try CentOs again on SCSI
without wiping the Debian install. If I don't get the Compaq compilers
working, the next step is gcc 4.x -- that'll give me Fortran 95 too!
> On Sun, 27 Nov 2005 11:03:46 +0000, Dr Ivan D. Reid wrote:
>
>> Now that I have Debian Sarge running on my PWS500a, I've been porting
>> seti@home to the machine. The performance has been disappointing; the
>> standard test work-unit is going to take around 60 hours to complete. boinc
>> benchmarks report:
>>
>> 2005-11-27 11:00:51 [---] Running CPU benchmarks
>> 2005-11-27 11:01:50 [---] Benchmark results:
>> 2005-11-27 11:01:50 [---] Number of CPUs: 1
>> 2005-11-27 11:01:50 [---] 153 double precision MIPS (Whetstone) per CPU
>> 2005-11-27 11:01:50 [---] 555 integer MIPS (Dhrystone) per CPU
>> 2005-11-27 11:01:50 [---] Finished CPU benchmarks
>>
>> I got gprof running and noticed a few things like:
>> o much of the time is spent in calculating log-gamma functions. These
>> do a lot of casting to and from single-precision parameters/results.
>> o the total time that gprof reports is only about 1/3rd the cpu time charged
>> to the programme by top (e.g. a 39618-second run only totalled up 11376 seconds
>> of profile time). Since this is unlikely to be profiler overhead, I'm
>> wondering if it's due to unaligned access or double/float conversion causing
>> execution problems.
>>
>> Can anyone suggest which g++ options [g++ (GCC) 3.3.5
>> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for
>> flags to control alignment of floats, or promote all floats to doubles,
>> but I haven't found anything yet.
>>
>> Please cross-post this if you know of a better group to ask in.
>
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
GSX600F, RG250WD, DT175MX-MIA "You Porsche. Me pass!" DoD #484 JKLO#003, 005
WP7# 3000 LC Unit #2368 (tinlc) UKMC#00009 BOTAFOT#16 UKRMMA#7 (Hon)
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-28 23:45 ` Dr Ivan D. Reid
@ 2005-11-29 3:08 ` DiskMan
2005-11-29 7:57 ` Dr Ivan D. Reid
0 siblings, 1 reply; 25+ messages in thread
From: DiskMan @ 2005-11-29 3:08 UTC (permalink / raw)
Well I have a later 'decrypted' version at the following address:
ftp://southkc.net/linux-related/programming/compilers/compaq-6.5.9
They 'were' encrypted but removed it for easier installing and
what not after backup...
Another thing, before running "create-comp-config.sh" update your links
lrwxrwxrwx 1 root root 11 Jul 4 01:34 as -> /usr/bin/as
lrwxrwxrwx 1 root root 12 Jul 4 01:34 ccc -> lnxcc_driver
lrwxrwxrwx 1 root root 58 Oct 17 20:17 collect2 -> /usr/lib/gcc-lib/alphapca56-alpha-linux-gnu/3.2.3/collect2
-rw-r--r-- 1 root root 515 Oct 17 20:17 comp.config
lrwxrwxrwx 1 root root 8 Jul 4 01:34 cpp -> /lib/cpp
-rwxr-xr-x 1 root root 15691 May 30 2002 create-comp-config.sh
-rw-r--r-- 1 root root 5518 Feb 28 2005 create-comp-config.sh.tar.gz
lrwxrwxrwx 1 root root 15 Jul 4 01:34 crt1.o -> /usr/lib/crt1.o
lrwxrwxrwx 1 root root 61 Oct 17 20:17 crtbegin.o -> /usr/lib/gcc-lib/alphapca56-alpha-linux-gnu/3.2.3//crtbegin.o
lrwxrwxrwx 1 root root 59 Oct 17 20:17 crtend.o -> /usr/lib/gcc-lib/alphapca56-alpha-linux-gnu/3.2.3//crtend.o
lrwxrwxrwx 1 root root 15 Jul 4 01:34 crti.o -> /usr/lib/crti.o
lrwxrwxrwx 1 root root 15 Jul 4 01:34 crtn.o -> /usr/lib/crtn.o
-rw-r--r-- 1 root root 646 May 30 2002 __DECC_include_epilogue.h
-rw-r--r-- 1 root root 856 May 30 2002 __DECC_include_prologue.h
-rw-r--r-- 1 root root 1822 Jul 2 01:25 FILE_LOCATIONS
lrwxrwxrwx 1 root root 16 Jul 4 01:34 gcrt1.o -> /usr/lib/gcrt1.o
-rwxr-xr-x 1 root root 5080 Feb 24 2005 hello
-rw-r--r-- 1 root root 197 Aug 5 10:41 hello.c
lrwxrwxrwx 1 root root 58 Oct 17 20:17 ld -> /usr/lib/gcc-lib/alphapca56-alpha-linux-gnu/3.2.3/collect2
-rwxr-xr-x 1 root root 11458432 May 30 2002 lnxcc
-rwxr-xr-x 1 root root 307880 May 30 2002 lnxcc_driver
-rwxr-xr-x 1 root root 12504 May 30 2002 probe_linux.sh
-rwxr-xr-x 1 root root 9034 May 30 2002 protect_headers_setup.sh
-rw-r--r-- 1 root root 362 Jul 4 01:25 straighten-links
You may notice, I now have the symbolic links pointing to the updated
version of GLIBC and the compiler I wish to use GCC-3.2.3. You can get it
to work with later versions of GCC but you will have to mod the
"create-comp-config.sh" file so that it won't generate too many warnings
and the like. I've managed to get it to run with GCC-4.0.1 but I 'rolled'
back to GCC-3.2.3 for various reasons...
After setting up your symbolic links then run the following command:
./create-comp-config.sh ccc-6.5.9.001-6 \
/usr/lib/gcc-lib/alphapca56-alpha-linux-gnu/3.2.3
This will configure CCC/CXX to work with GCC-3.2.3 [change to the
version of GCC you're wanting to use... Also 'adjust' a couple of your
symbolic links].
Once you're finished with that, you can test it out on various programs.
I would advise using the CFLAG -std and CXXFLAG -std ansi so that Compaq
C won't be so restrictive.
Now, if you receive a lot of errors concerning GLIBC headers, parsing
errors mainly, you may need the GLIBC/Compaq C patch. I have one for
GLIBC-2.3.2 that works pretty good. I'm able to compile a large chunk of
my system with Compaq C...
I hope this has helped you out... Will L G
On Mon, 28 Nov 2005 23:45:00 +0000, Dr Ivan D. Reid wrote:
> On Mon, 28 Nov 2005 21:09:07 GMT, DiskMan <nobody@thewheel.com>
> wrote in <pan.2005.11.28.21.08.59.560447@thewheel.com>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>
>> I cannot believe they finally went back to 'open source' with Seti@home
>> again... They used to do it some time ago but had issues with ppl trying
>> 'tweak' the code and sending in bad work units...
>
> In some respects that's covered by taking the median value of
> performance returned and discarding the highs and lows, but I can see that
> it could still be a problem.
>
>> Yea, Compaq C would be the best bet for speed and performance. On the
>> Alpha, not much can come close... Hey, when you finish porting it over,
>> please drop us a line as to where we can down load that mutha... I've been
>> running seti@home [non-open source] version for sometime and wouldn't mind
>> a boost in speed!
>
> I would gladly, but I've run into a few "issues". AFAICT I've got
> the latest unencrypted versions of everything (but the versioning is a
> mess, as regards out-of-date stuff still being available on out-of-date
> websites). Ran into some problems with ccc that I think I solved with the
> help of http://www.physik.tu-cottbus.de/~george/unix/ccc.html -- in the
> end the bit about gcc -V $GCC_VER I solved by commenting out the "-V
> $GCC_VER"... However, when I tried installing cxx I find errors like
>
> ===
> /usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/lnxexx -V
> This beta test software has expired.
> Please contact Compaq to receive a more recent version.
> Compaq C++ V6.5-020 for linux
> Compiler Driver V6.5-020 (cxx) cxx Driver
>
> cat /usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/.version
> Installed as cxx-6.5.9.20
> 3.1
>
> Testing linker demangler support
>
> /usr/bin/ld: unknown demangling style `compaq'collect2: ld returned 1 exit status
> Aborting
>
> If you can correct the problem, you can rerun this script manually
> by entering a command in the following format:
>
> create-comp-config.sh cxx-version [gcc-path]
>
> The current invocation of create-comp-config.sh was:
>
> /usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/create-comp-config.sh cxx-6.5.9.20
> dpkg: error processing cxx (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> cxx
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ===
>
> When I tried installing their binutils I got a message that I was
> reverting to an earlier version -- and still got the demangling error.
>
> I won't have meuch time to play with it after this week, but I may
> be able to pick up another SCSI disk next week, to try CentOs again on SCSI
> without wiping the Debian install. If I don't get the Compaq compilers
> working, the next step is gcc 4.x -- that'll give me Fortran 95 too!
>
>> On Sun, 27 Nov 2005 11:03:46 +0000, Dr Ivan D. Reid wrote:
>>
>>> Now that I have Debian Sarge running on my PWS500a, I've been porting
>>> seti@home to the machine. The performance has been disappointing; the
>>> standard test work-unit is going to take around 60 hours to complete. boinc
>>> benchmarks report:
>>>
>>> 2005-11-27 11:00:51 [---] Running CPU benchmarks
>>> 2005-11-27 11:01:50 [---] Benchmark results:
>>> 2005-11-27 11:01:50 [---] Number of CPUs: 1
>>> 2005-11-27 11:01:50 [---] 153 double precision MIPS (Whetstone) per CPU
>>> 2005-11-27 11:01:50 [---] 555 integer MIPS (Dhrystone) per CPU
>>> 2005-11-27 11:01:50 [---] Finished CPU benchmarks
>>>
>>> I got gprof running and noticed a few things like:
>>> o much of the time is spent in calculating log-gamma functions. These
>>> do a lot of casting to and from single-precision parameters/results.
>>> o the total time that gprof reports is only about 1/3rd the cpu time charged
>>> to the programme by top (e.g. a 39618-second run only totalled up 11376 seconds
>>> of profile time). Since this is unlikely to be profiler overhead, I'm
>>> wondering if it's due to unaligned access or double/float conversion causing
>>> execution problems.
>>>
>>> Can anyone suggest which g++ options [g++ (GCC) 3.3.5
>>> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for
>>> flags to control alignment of floats, or promote all floats to doubles,
>>> but I haven't found anything yet.
>>>
>>> Please cross-post this if you know of a better group to ask in.
>>
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-29 3:08 ` DiskMan
@ 2005-11-29 7:57 ` Dr Ivan D. Reid
2005-11-30 23:30 ` DiskMan
0 siblings, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-11-29 7:57 UTC (permalink / raw)
On Tue, 29 Nov 2005 03:08:44 GMT, DiskMan <nobody@thewheel.com>
wrote in <pan.2005.11.29.03.08.40.762859@thewheel.com>:
> I hope this has helped you out... Will L G
Thanks, I'll study your methods tonight.
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-29 7:57 ` Dr Ivan D. Reid
@ 2005-11-30 23:30 ` DiskMan
2005-12-01 15:14 ` Dr Ivan D. Reid
0 siblings, 1 reply; 25+ messages in thread
From: DiskMan @ 2005-11-30 23:30 UTC (permalink / raw)
Did you manage to get it up and running? If not, I could set you up with an
account on my box? Compaq C is working like a top here... Let me know if
you're interested... Will L G
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> wrote in message
news:slrndoo2g0.1fr.Ivan.Reid@loki.brunel.ac.uk...
> On Tue, 29 Nov 2005 03:08:44 GMT, DiskMan <nobody@thewheel.com>
> wrote in <pan.2005.11.29.03.08.40.762859@thewheel.com>:
>
> > I hope this has helped you out... Will L G
>
> Thanks, I'll study your methods tonight.
>
> --
> Ivan Reid, Electronic & Computer Engineering, ___ CMS
Collaboration,
> Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12,
CERN
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-11-30 23:30 ` DiskMan
@ 2005-12-01 15:14 ` Dr Ivan D. Reid
2005-12-01 17:18 ` DiskMan
0 siblings, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-12-01 15:14 UTC (permalink / raw)
On Wed, 30 Nov 2005 23:30:37 GMT, DiskMan <nobody@thewheel.com>
wrote in <xCqjf.182$1U2.137@tornado.rdc-kc.rr.com>:
> Did you manage to get it up and running? If not, I could set you up with an
> account on my box? Compaq C is working like a top here... Let me know if
> you're interested... Will L G
No, not yet. I pulled a few files but then I came down with the
Dreaded Lurgi and have lost interest temporarily. I'll probably not get
back at it for another week as I have to go to Switzerland. Thanks for
the offer.
> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> wrote in message
> news:slrndoo2g0.1fr.Ivan.Reid@loki.brunel.ac.uk...
>> On Tue, 29 Nov 2005 03:08:44 GMT, DiskMan <nobody@thewheel.com>
>> wrote in <pan.2005.11.29.03.08.40.762859@thewheel.com>:
>>
>> > I hope this has helped you out... Will L G
>>
>> Thanks, I'll study your methods tonight.
>>
>> --
>> Ivan Reid, Electronic & Computer Engineering, ___ CMS
> Collaboration,
>> Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12,
> CERN
>
>
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-12-01 15:14 ` Dr Ivan D. Reid
@ 2005-12-01 17:18 ` DiskMan
2005-12-01 18:01 ` Staffan Tjernstrom
2005-12-02 8:12 ` Dr Ivan D. Reid
0 siblings, 2 replies; 25+ messages in thread
From: DiskMan @ 2005-12-01 17:18 UTC (permalink / raw)
Switzerland? To work!?!? Are they hiring!?!?!
I was wondering, what version of GCC did you use to build BOINC? I tried
GCC-4.0.1 [I know, wishful thinking] and GCC-3.2.3 and neither of them work!
I was getting this LONG error!
make[2]: Entering directory
`/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc/api'
if ccache
g++-3.2.3 -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -DPIC -I../lib -I../api -I../d
b -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasing -fomit-fr
ame-pointer -funroll-loops -finline-functions -fcse-follow-jumps -mieee -w -
pipe -mtune=ev56 -lots -pthread -fPIC -DPIC -I../lib -I.
./api -I../db -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasi
ng -fomit-frame-pointer -funroll-loops -finline-functions -fcse-follow-jumps
-mieee -w -pipe -mtune=ev56 -lots -pthread -O5 -finline
-fstrict-aliasing -funroll-loops -fstrength-reduce -mtune=ev56 -w -pipe -D_B
SD_SOURCE -I/usr/X11R6/include -L/usr/X11R6/lib -I/usr/X11R6/include/GL -lot
s -MT boinc_api.o -MD -MP -MF ".deps/boinc_api.Tpo" -c -o boinc_api.o
boinc_api.C; \
then mv -f ".deps/boinc_api.Tpo" ".deps/boinc_api.Po"; else rm -f
".deps/boinc_api.Tpo"; exit 1; fi
In file included from /usr/include/c++/3.2.3/algorithm:66,
from ../lib/std_fixes.h:56,
from ../config.h:417,
from boinc_api.C:30:
/usr/include/c++/3.2.3/bits/stl_algobase.h:149: new declaration
`template<class
_Tp> const _Tp& std::min(const _Tp&, const _Tp&)'
../lib/std_fixes.h:35: ambiguates old declaration `template<class T> T
std::min(const T&, const T&)'
/usr/include/c++/3.2.3/bits/stl_algobase.h:169: new declaration
`template<class
_Tp> const _Tp& std::max(const _Tp&, const _Tp&)'
../lib/std_fixes.h:48: ambiguates old declaration `template<class T> T
std::max(const T&, const T&)'
/usr/include/c++/3.2.3/bits/stl_algobase.h: In function `bool
std::lexicographical_compare(const unsigned char*, const unsigned char*,
const unsigned char*, const unsigned char*)':
/usr/include/c++/3.2.3/bits/stl_algobase.h:793: call of overloaded
`min(const
size_t&, const size_t&)' is ambiguous
../lib/std_fixes.h:35: candidates are: T std::min(const T&, const T&) [with
T =
size_t]
/usr/include/c++/3.2.3/bits/stl_algobase.h:149: const _Tp&
std::min(const _Tp&, const _Tp&) [with _Tp = size_t]
In file included from ../config.h:417,
from boinc_api.C:30:
../lib/std_fixes.h: At global scope:
../lib/std_fixes.h:66: redefinition of `template<class i_iterator, class
o_iterator, class OP> o_iterator std::transform(i_iterator, i_iterator,
o_iterator, OP)'
/usr/include/c++/3.2.3/bits/stl_algo.h:736: `template<class _InputIter,
class
_OutputIter, class _UnaryOperation> _OutputIter
std::transform(_InputIter,
_InputIter, _OutputIter, _UnaryOperation)' previously declared here
In file included from boinc_api.C:47:
../lib/util.h: In function `void
downcase_string(__gnu_cxx::__normal_iterator<char*,
std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >)':
../lib/util.h:80: call of overloaded `transform(
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&, int (*)(int) throw
())'
is ambiguous
/usr/include/c++/3.2.3/bits/stl_algo.h:736: candidates are: _OutputIter
std::transform(_InputIter, _InputIter, _OutputIter, _UnaryOperation)
[with
_InputIter = __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, _OutputIter =
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, _UnaryOperation = int
(*)(int) throw ()]
../lib/std_fixes.h:66: o_iterator std::transform(i_iterator,
i_iterator, o_iterator, OP) [with i_iterator =
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, o_iterator =
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, OP = int (*)(int) throw
()]
/usr/include/c++/3.2.3/bits/basic_string.h: In member function `int
std::basic_string<_CharT, _Traits, _Alloc>::compare(const
std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
/usr/include/c++/3.2.3/bits/basic_string.h:974: instantiated from `bool
std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const
std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]'
../lib/util.h:66: instantiated from here
/usr/include/c++/3.2.3/bits/basic_string.h:894: call of overloaded `min(
size_t&, size_t&)' is ambiguous
../lib/std_fixes.h:35: candidates are: T std::min(const T&, const T&) [with
T =
size_t]
/usr/include/c++/3.2.3/bits/stl_algobase.h:149: const _Tp&
std::min(const _Tp&, const _Tp&) [with _Tp = size_t]
make[2]: *** [boinc_api.o] Error 1
make[2]: Leaving directory
`/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc/api'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc'
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-12-01 17:18 ` DiskMan
@ 2005-12-01 18:01 ` Staffan Tjernstrom
2005-12-01 18:51 ` DiskMan
2005-12-02 8:12 ` Dr Ivan D. Reid
1 sibling, 1 reply; 25+ messages in thread
From: Staffan Tjernstrom @ 2005-12-01 18:01 UTC (permalink / raw)
DiskMan scribbled something like this, on Thu, 01 Dec 2005 17:18:27
+0000:
> Switzerland? To work!?!? Are they hiring!?!?!
>
> I was wondering, what version of GCC did you use to build BOINC? I tried
> GCC-4.0.1 [I know, wishful thinking] and GCC-3.2.3 and neither of them work!
>
> I was getting this LONG error!
> make[2]: Entering directory
> /usr/include/c++/3.2.3/bits/basic_string.h:974: instantiated from `bool
> std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const
> std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
> std::char_traits<char>, _Alloc = std::allocator<char>]'
> ../lib/util.h:66: instantiated from here
> /usr/include/c++/3.2.3/bits/basic_string.h:894: call of overloaded `min(
> size_t&, size_t&)' is ambiguous
> ../lib/std_fixes.h:35: candidates are: T std::min(const T&, const T&) [with
> T =
> size_t]
> /usr/include/c++/3.2.3/bits/stl_algobase.h:149: const _Tp&
> std::min(const _Tp&, const _Tp&) [with _Tp = size_t]
(without having played a lot with templates)
Looks like the BOINC source is redefining the min algorithm to return a
non-const value in ../lib/std_fixes.h:35. Not sure why the compiler can't
choose between the 2 in either case, but anything is possible I guess in
the mess that's templates.
The canonical declarations for min (STL Tutorial & Reference Guide, 2nd
Ed, Musser/Serge/Dani) would appear to be:
template <typename T>
const T& min( const T& a, const T& b);
template <typename T, typename Compare>
const T& min( const T& a, const T& b, Compare comp);
Gut guess is to comment out the re-define (as well as it's code), and see
if that works.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-12-01 18:01 ` Staffan Tjernstrom
@ 2005-12-01 18:51 ` DiskMan
0 siblings, 0 replies; 25+ messages in thread
From: DiskMan @ 2005-12-01 18:51 UTC (permalink / raw)
Alright, I'll REM it out and see if that does the trick... Thanks... If it
does, I'll go ahead and roll it into a diff... Will L G
"Staffan Tjernstrom" <thisisafakeaddress@staffan.tjernstrom.name> wrote in
message news:pan.2005.12.01.18.01.44.248321@staffan.tjernstrom.name...
> DiskMan scribbled something like this, on Thu, 01 Dec 2005 17:18:27
> +0000:
>
> > Switzerland? To work!?!? Are they hiring!?!?!
> >
> > I was wondering, what version of GCC did you use to build BOINC? I tried
> > GCC-4.0.1 [I know, wishful thinking] and GCC-3.2.3 and neither of them
work!
> >
> > I was getting this LONG error!
> > make[2]: Entering directory
> > /usr/include/c++/3.2.3/bits/basic_string.h:974: instantiated from
`bool
> > std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const
> > std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
_Traits =
> > std::char_traits<char>, _Alloc = std::allocator<char>]'
> > ../lib/util.h:66: instantiated from here
> > /usr/include/c++/3.2.3/bits/basic_string.h:894: call of overloaded `min(
> > size_t&, size_t&)' is ambiguous
> > ../lib/std_fixes.h:35: candidates are: T std::min(const T&, const T&)
[with
> > T =
> > size_t]
> > /usr/include/c++/3.2.3/bits/stl_algobase.h:149: const
_Tp&
> > std::min(const _Tp&, const _Tp&) [with _Tp = size_t]
>
> (without having played a lot with templates)
> Looks like the BOINC source is redefining the min algorithm to return a
> non-const value in ../lib/std_fixes.h:35. Not sure why the compiler can't
> choose between the 2 in either case, but anything is possible I guess in
> the mess that's templates.
>
> The canonical declarations for min (STL Tutorial & Reference Guide, 2nd
> Ed, Musser/Serge/Dani) would appear to be:
>
> template <typename T>
> const T& min( const T& a, const T& b);
>
> template <typename T, typename Compare>
> const T& min( const T& a, const T& b, Compare comp);
>
> Gut guess is to comment out the re-define (as well as it's code), and see
> if that works.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: g++ optimisations in AlphaLinux
2005-12-01 17:18 ` DiskMan
2005-12-01 18:01 ` Staffan Tjernstrom
@ 2005-12-02 8:12 ` Dr Ivan D. Reid
2005-12-03 1:25 ` There is a Compaq C build of Setiathome_boinc DiskMan
1 sibling, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-12-02 8:12 UTC (permalink / raw)
On Thu, 01 Dec 2005 17:18:27 GMT, DiskMan <nobody@thewheel.com>
wrote in <DfGjf.379$f41.301@tornado.rdc-kc.rr.com>:
> Switzerland? To work!?!? Are they hiring!?!?!
No. Not me at least. For at least two reasons, the mundane being
that I'm not a national of a CERN member state (tho' I am eligible to apply
for UK nationality now, should I be so daft). The other being that I've
already worked in .ch for 13 years, with the last 8 or so being an active
search for a job elsewhere than "East Germany with money" or "arguably the
last police state in Europe" (Newsweek). I ended up taking a 45% salary cut
to work in London, since the third option was to be unemployed in Oz.
One week over there in 7-8 is still a drag at times. :-/
> I was wondering, what version of GCC did you use to build BOINC? I tried
> GCC-4.0.1 [I know, wishful thinking] and GCC-3.2.3 and neither of them work!
ivan@SuperPC:~$ g++ --version
g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Let's see: I believe my last effort was to pull accross the sources
with something like
cvs -d :pserver:anonymous@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc
then IIRC in the boinc directory I did
$ ./_autosetup
$ ./configure --disable-server
$ make
Then similar in seti_boinc after unpacking
seti_boinc-client-cvs-2005-11-26.tar
> I was getting this LONG error!
> make[2]: Entering directory
> `/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc/api'
> if ccache
> g++-3.2.3 -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -DPIC -I../lib -I../api -I../d
> b -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasing -fomit-fr
> ame-pointer -funroll-loops -finline-functions -fcse-follow-jumps -mieee -w -
> pipe -mtune=ev56 -lots -pthread -fPIC -DPIC -I../lib -I.
> ./api -I../db -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasi
> ng -fomit-frame-pointer -funroll-loops -finline-functions -fcse-follow-jumps
> -mieee -w -pipe -mtune=ev56 -lots -pthread -O5 -finline
> -fstrict-aliasing -funroll-loops -fstrength-reduce -mtune=ev56 -w -pipe -D_B
> SD_SOURCE -I/usr/X11R6/include -L/usr/X11R6/lib -I/usr/X11R6/include/GL -lot
> s -MT boinc_api.o -MD -MP -MF ".deps/boinc_api.Tpo" -c -o boinc_api.o
> boinc_api.C; \
> then mv -f ".deps/boinc_api.Tpo" ".deps/boinc_api.Po"; else rm -f
> ".deps/boinc_api.Tpo"; exit 1; fi
> In file included from /usr/include/c++/3.2.3/algorithm:66,
> from ../lib/std_fixes.h:56,
> from ../config.h:417,
> from boinc_api.C:30:
> /usr/include/c++/3.2.3/bits/stl_algobase.h:149: new declaration
> `template<class
> _Tp> const _Tp& std::min(const _Tp&, const _Tp&)'
> ../lib/std_fixes.h:35: ambiguates old declaration `template<class T> T
> std::min(const T&, const T&)'
/usr/include/c++/3.3/bits/stl_algobase.h has:
template<typename _Tp>
inline const _Tp&
min(const _Tp& __a, const _Tp& __b)
{
// concept requirements
__glibcpp_function_requires(_LessThanComparableConcept<_Tp>)
//return __b < __a ? __b : __a;
if (__b < __a) return __b; return __a;
}
boinc/lib/std_fixes.h has:
#ifndef HAVE_STD_MIN
namespace std {
#ifdef min
#undef min
#endif
template <typename T>
inline T min(const T &a, const T &b) {
return ((a<b)?a:b);
}
}
#endif /* HAVE_STD_MIN */
I'm not knowledgeable enough on templates to spot the incompatability;
if neither of these are different from what you have, I'd suspect the
generation of the HAVE_STD_MIN flag, etc.
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* There is a Compaq C build of Setiathome_boinc
2005-12-02 8:12 ` Dr Ivan D. Reid
@ 2005-12-03 1:25 ` DiskMan
2005-12-05 11:44 ` Dr Ivan D. Reid
2005-12-12 2:37 ` Dr Ivan D. Reid
0 siblings, 2 replies; 25+ messages in thread
From: DiskMan @ 2005-12-03 1:25 UTC (permalink / raw)
Did you know that there is already a Compaq C compile of Setiathome_boinc
and Boinc? I happen to stumble across it while looking up some error msgs
and the like.
http://www.guntec.de/Crunch3r/setialpha.html
The only thing, its just simply the console client and from what I can tell,
not much else. If you want the 'pretty screensaver' you're going to have to
do some porting. Oh another thing, this guy isn't releasing the source code,
just the binaries. If you check out his info, you'll notice... He claims the
CCC release runs about %75 faster! WHOA!
I didn't know it was such a hassle to work in Switzerland. The Euro was
beating the dollar the death there for bit, back with Bush was on vacation.
I just assumed the economy was going pretty good, not the mention all the
jobs outsourced from the US to the EU and Mexico. Will L G
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> wrote in message
news:slrndp00f9.1dk.Ivan.Reid@loki.brunel.ac.uk...
> On Thu, 01 Dec 2005 17:18:27 GMT, DiskMan <nobody@thewheel.com>
> wrote in <DfGjf.379$f41.301@tornado.rdc-kc.rr.com>:
>
> > Switzerland? To work!?!? Are they hiring!?!?!
>
> No. Not me at least. For at least two reasons, the mundane being
> that I'm not a national of a CERN member state (tho' I am eligible to
apply
> for UK nationality now, should I be so daft). The other being that I've
> already worked in .ch for 13 years, with the last 8 or so being an active
> search for a job elsewhere than "East Germany with money" or "arguably the
> last police state in Europe" (Newsweek). I ended up taking a 45% salary
cut
> to work in London, since the third option was to be unemployed in Oz.
> One week over there in 7-8 is still a drag at times. :-/
>
> > I was wondering, what version of GCC did you use to build BOINC? I tried
> > GCC-4.0.1 [I know, wishful thinking] and GCC-3.2.3 and neither of them
work!
>
> ivan@SuperPC:~$ g++ --version
> g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
>
> Let's see: I believe my last effort was to pull accross the sources
> with something like
> cvs -d :pserver:anonymous@alien.ssl.berkeley.edu:/home/cvs/cvsroot
checkout boinc
> then IIRC in the boinc directory I did
> $ ./_autosetup
> $ ./configure --disable-server
> $ make
>
> Then similar in seti_boinc after unpacking
> seti_boinc-client-cvs-2005-11-26.tar
>
> > I was getting this LONG error!
> > make[2]: Entering directory
> > `/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc/api'
> > if ccache
> >
g++-3.2.3 -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -DPIC -I../lib -I../api -I../d
> >
b -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasing -fomit-fr
> >
ame-pointer -funroll-loops -finline-functions -fcse-follow-jumps -mieee -w -
> >
pipe -mtune=ev56 -lots -pthread -fPIC -DPIC -I../lib -I.
> >
./api -I../db -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasi
> >
ng -fomit-frame-pointer -funroll-loops -finline-functions -fcse-follow-jumps
>
> -mieee -w -pipe -mtune=ev56 -lots -pthread -O5 -finlin
e
>
> -fstrict-aliasing -funroll-loops -fstrength-reduce -mtune=ev56 -w -pipe -D
_B
> >
SD_SOURCE -I/usr/X11R6/include -L/usr/X11R6/lib -I/usr/X11R6/include/GL -lot
> > s -MT boinc_api.o -MD -MP -MF ".deps/boinc_api.Tpo" -c -o boinc_api.o
> > boinc_api.C; \
> > then mv -f ".deps/boinc_api.Tpo" ".deps/boinc_api.Po"; else rm -f
> > ".deps/boinc_api.Tpo"; exit 1; fi
> > In file included from /usr/include/c++/3.2.3/algorithm:66,
> > from ../lib/std_fixes.h:56,
> > from ../config.h:417,
> > from boinc_api.C:30:
> > /usr/include/c++/3.2.3/bits/stl_algobase.h:149: new declaration
> > `template<class
> > _Tp> const _Tp& std::min(const _Tp&, const _Tp&)'
> > ../lib/std_fixes.h:35: ambiguates old declaration `template<class T> T
> > std::min(const T&, const T&)'
>
> /usr/include/c++/3.3/bits/stl_algobase.h has:
>
> template<typename _Tp>
> inline const _Tp&
> min(const _Tp& __a, const _Tp& __b)
> {
> // concept requirements
> __glibcpp_function_requires(_LessThanComparableConcept<_Tp>)
> //return __b < __a ? __b : __a;
> if (__b < __a) return __b; return __a;
> }
>
> boinc/lib/std_fixes.h has:
>
> #ifndef HAVE_STD_MIN
> namespace std {
>
> #ifdef min
> #undef min
> #endif
>
> template <typename T>
> inline T min(const T &a, const T &b) {
> return ((a<b)?a:b);
> }
> }
> #endif /* HAVE_STD_MIN */
>
> I'm not knowledgeable enough on templates to spot the incompatability;
> if neither of these are different from what you have, I'd suspect the
> generation of the HAVE_STD_MIN flag, etc.
>
> --
> Ivan Reid, Electronic & Computer Engineering, ___ CMS
Collaboration,
> Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12,
CERN
> KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: There is a Compaq C build of Setiathome_boinc
2005-12-03 1:25 ` There is a Compaq C build of Setiathome_boinc DiskMan
@ 2005-12-05 11:44 ` Dr Ivan D. Reid
2005-12-12 2:37 ` Dr Ivan D. Reid
1 sibling, 0 replies; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-12-05 11:44 UTC (permalink / raw)
On Sat, 03 Dec 2005 01:25:58 GMT, DiskMan <nobody@thewheel.com>
wrote in <Gu6kf.2259$f41.1391@tornado.rdc-kc.rr.com>:
> Did you know that there is already a Compaq C compile of Setiathome_boinc
> and Boinc? I happen to stumble across it while looking up some error msgs
> and the like.
> http://www.guntec.de/Crunch3r/setialpha.html
> The only thing, its just simply the console client and from what I can tell,
> not much else. If you want the 'pretty screensaver' you're going to have to
> do some porting. Oh another thing, this guy isn't releasing the source code,
> just the binaries. If you check out his info, you'll notice... He claims the
> CCC release runs about %75 faster! WHOA!
Thanks for that, I'll check it out when I get home. My g++ compile
of seti finally finished the test work-unit at 78 hours. :-/
> I didn't know it was such a hassle to work in Switzerland. The Euro was
> beating the dollar the death there for bit, back with Bush was on vacation.
> I just assumed the economy was going pretty good, not the mention all the
> jobs outsourced from the US to the EU and Mexico. Will L G
The economy's OK, it's the bureaucracy that stinks!
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: There is a Compaq C build of Setiathome_boinc
2005-12-03 1:25 ` There is a Compaq C build of Setiathome_boinc DiskMan
2005-12-05 11:44 ` Dr Ivan D. Reid
@ 2005-12-12 2:37 ` Dr Ivan D. Reid
2005-12-15 9:02 ` DiskMan
1 sibling, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-12-12 2:37 UTC (permalink / raw)
On Sat, 03 Dec 2005 01:25:58 GMT, DiskMan <nobody@thewheel.com>
wrote in <Gu6kf.2259$f41.1391@tornado.rdc-kc.rr.com>:
> Did you know that there is already a Compaq C compile of Setiathome_boinc
> and Boinc? I happen to stumble across it while looking up some error msgs
> and the like.
> http://www.guntec.de/Crunch3r/setialpha.html
> The only thing, its just simply the console client and from what I can tell,
> not much else. If you want the 'pretty screensaver' you're going to have to
> do some porting. Oh another thing, this guy isn't releasing the source code,
> just the binaries. If you check out his info, you'll notice... He claims the
> CCC release runs about %75 faster! WHOA!
Ah, that's better. The boinc ev56 client benchmarks at 223 Mflop
and 699 Mips; the ev5 seti executable runs the test work-unit in 9h25m
compared to 78.5 hours for my g++ executable...
Now to get it running on my account -- unfortunately the seti@home
crowd are having their usual weekend crash so I'll not try just yet.
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: There is a Compaq C build of Setiathome_boinc
2005-12-12 2:37 ` Dr Ivan D. Reid
@ 2005-12-15 9:02 ` DiskMan
2005-12-16 11:00 ` Dr Ivan D. Reid
0 siblings, 1 reply; 25+ messages in thread
From: DiskMan @ 2005-12-15 9:02 UTC (permalink / raw)
Got a question for ya, how in the hell did you set it up? I tried several
times but it went no where... when ever it would attempt to download a work
unit, it would say none was available, try again in 24hrs! Will L G
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> wrote in message
news:slrndppoih.e5e.Ivan.Reid@loki.brunel.ac.uk...
> On Sat, 03 Dec 2005 01:25:58 GMT, DiskMan <nobody@thewheel.com>
> wrote in <Gu6kf.2259$f41.1391@tornado.rdc-kc.rr.com>:
> > Did you know that there is already a Compaq C compile of
Setiathome_boinc
> > and Boinc? I happen to stumble across it while looking up some error
msgs
> > and the like.
>
> > http://www.guntec.de/Crunch3r/setialpha.html
>
> > The only thing, its just simply the console client and from what I can
tell,
> > not much else. If you want the 'pretty screensaver' you're going to have
to
> > do some porting. Oh another thing, this guy isn't releasing the source
code,
> > just the binaries. If you check out his info, you'll notice... He claims
the
> > CCC release runs about %75 faster! WHOA!
>
> Ah, that's better. The boinc ev56 client benchmarks at 223 Mflop
> and 699 Mips; the ev5 seti executable runs the test work-unit in 9h25m
> compared to 78.5 hours for my g++ executable...
>
> Now to get it running on my account -- unfortunately the seti@home
> crowd are having their usual weekend crash so I'll not try just yet.
>
> --
> Ivan Reid, Electronic & Computer Engineering, ___ CMS
Collaboration,
> Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12,
CERN
> KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: There is a Compaq C build of Setiathome_boinc
2005-12-15 9:02 ` DiskMan
@ 2005-12-16 11:00 ` Dr Ivan D. Reid
2005-12-16 19:12 ` DiskMan
0 siblings, 1 reply; 25+ messages in thread
From: Dr Ivan D. Reid @ 2005-12-16 11:00 UTC (permalink / raw)
On Thu, 15 Dec 2005 09:02:43 GMT, DiskMan <nobody@thewheel.com>
wrote in <Tiaof.4686$0e.1208@tornado.rdc-kc.rr.com>:
> Got a question for ya, how in the hell did you set it up? I tried several
> times but it went no where... when ever it would attempt to download a work
> unit, it would say none was available, try again in 24hrs! Will L G
Ah, yes, it does that. The trick (that I picked up elsewhere,
elsewhen) is to edit the time-stamp in one of the xml files. Hmm... I
think it was min_rpc_time in client_state.xml; if you check its value
and it's roughly 24 hours (i.e. 86,400 seconds) from when you set it up,
set it to 0.0 and it should retry straight away.
A quick google: http://boinc.berkeley.edu/rpc_policy.php
> "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> wrote in message
> news:slrndppoih.e5e.Ivan.Reid@loki.brunel.ac.uk...
>> Ah, that's better. The boinc ev56 client benchmarks at 223 Mflop
>> and 699 Mips; the ev5 seti executable runs the test work-unit in 9h25m
>> compared to 78.5 hours for my g++ executable...
>> Now to get it running on my account -- unfortunately the seti@home
>> crowd are having their usual weekend crash so I'll not try just yet.
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: There is a Compaq C build of Setiathome_boinc
2005-12-16 11:00 ` Dr Ivan D. Reid
@ 2005-12-16 19:12 ` DiskMan
0 siblings, 0 replies; 25+ messages in thread
From: DiskMan @ 2005-12-16 19:12 UTC (permalink / raw)
I got it, the Seti homepage is pretty much worthless but Einstein@home was
working! I had Seti up and in running in about 2m! Talk to ya in a sec and
one other thing... you're right, this mutha flies!!! Will L G
"Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> wrote in message
news:slrndq57in.2ak.Ivan.Reid@loki.brunel.ac.uk...
> On Thu, 15 Dec 2005 09:02:43 GMT, DiskMan <nobody@thewheel.com>
> wrote in <Tiaof.4686$0e.1208@tornado.rdc-kc.rr.com>:
> > Got a question for ya, how in the hell did you set it up? I tried
several
> > times but it went no where... when ever it would attempt to download a
work
> > unit, it would say none was available, try again in 24hrs! Will L G
>
> Ah, yes, it does that. The trick (that I picked up elsewhere,
> elsewhen) is to edit the time-stamp in one of the xml files. Hmm... I
> think it was min_rpc_time in client_state.xml; if you check its value
> and it's roughly 24 hours (i.e. 86,400 seconds) from when you set it up,
> set it to 0.0 and it should retry straight away.
>
> A quick google: http://boinc.berkeley.edu/rpc_policy.php
>
> > "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> wrote in message
> > news:slrndppoih.e5e.Ivan.Reid@loki.brunel.ac.uk...
>
> >> Ah, that's better. The boinc ev56 client benchmarks at 223 Mflop
> >> and 699 Mips; the ev5 seti executable runs the test work-unit in 9h25m
> >> compared to 78.5 hours for my g++ executable...
>
> >> Now to get it running on my account -- unfortunately the seti@home
> >> crowd are having their usual weekend crash so I'll not try just yet.
>
> --
> Ivan Reid, Electronic & Computer Engineering, ___ CMS
Collaboration,
> Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12,
CERN
> KotPT -- "for stupidity above and beyond the call of duty".
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2005-12-16 19:12 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-27 11:03 g++ optimisations in AlphaLinux Dr Ivan D. Reid
2005-11-27 12:35 ` Måns Rullgård
2005-11-27 13:33 ` Dr Ivan D. Reid
2005-11-27 14:10 ` Dr Ivan D. Reid
2005-11-27 14:55 ` Måns Rullgård
2005-11-27 15:50 ` Dr Ivan D. Reid
2005-11-27 16:39 ` Måns Rullgård
2005-11-27 17:07 ` Dr Ivan D. Reid
2005-11-27 17:39 ` Måns Rullgård
2005-11-28 21:09 ` DiskMan
2005-11-28 23:45 ` Dr Ivan D. Reid
2005-11-29 3:08 ` DiskMan
2005-11-29 7:57 ` Dr Ivan D. Reid
2005-11-30 23:30 ` DiskMan
2005-12-01 15:14 ` Dr Ivan D. Reid
2005-12-01 17:18 ` DiskMan
2005-12-01 18:01 ` Staffan Tjernstrom
2005-12-01 18:51 ` DiskMan
2005-12-02 8:12 ` Dr Ivan D. Reid
2005-12-03 1:25 ` There is a Compaq C build of Setiathome_boinc DiskMan
2005-12-05 11:44 ` Dr Ivan D. Reid
2005-12-12 2:37 ` Dr Ivan D. Reid
2005-12-15 9:02 ` DiskMan
2005-12-16 11:00 ` Dr Ivan D. Reid
2005-12-16 19:12 ` DiskMan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox