* C++ and Fortran on DEC Stations
@ 1997-09-12 4:00 Dr. rer. nat. R. Wester
1997-09-15 4:00 ` Bill Moyer
0 siblings, 1 reply; 2+ messages in thread
From: Dr. rer. nat. R. Wester @ 1997-09-12 4:00 UTC (permalink / raw)
Hi,
I made some tests comparing the speed of a DEC Personal Workstation 433
au (DEC UNIX 4.0b) and a DEC Alpha 3000/600 (VMS). A program, written in
Fortran77 ran 7 times faster on the 433 au but another program written
in C++ was only 2.1 times faster on the 433 au compared to the
Alpha 6000/300. I compiled the Fortran and the C++ program both with
-O4. Does anybody know why C++ is so much slower than Fortran on the 433
au?
Thanks in advance
-Rolf
------------------------------------------------------------
# Rolf Wester
# Fraunhofer Institut f. Lasertechnik
# Steinbachstr. 15, D-52074 Aachen, Germany.
# Tel: + 49 (0) 241 8906 0, Fax: +49 (0) 241 8906 121
# EMail: wester@ilt.fhg.de, WWW: http://www.ilt.fhg.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: C++ and Fortran on DEC Stations
1997-09-12 4:00 C++ and Fortran on DEC Stations Dr. rer. nat. R. Wester
@ 1997-09-15 4:00 ` Bill Moyer
0 siblings, 0 replies; 2+ messages in thread
From: Bill Moyer @ 1997-09-15 4:00 UTC (permalink / raw)
In article <34195099.4F31@ilt.fhg.de> WESTER@ilt.fhg.de writes:
>
>Hi,
>
>I made some tests comparing the speed of a DEC Personal Workstation 433
>au (DEC UNIX 4.0b) and a DEC Alpha 3000/600 (VMS). A program, written in
>Fortran77 ran 7 times faster on the 433 au but another program written
>in C++ was only 2.1 times faster on the 433 au compared to the
>Alpha 6000/300. I compiled the Fortran and the C++ program both with
>-O4. Does anybody know why C++ is so much slower than Fortran on the 433
>au?
Your situation is not clear to me. Can you post the performance
of the fortran program running on the DEC Alpha 3000/600 and the
433 au, and the performance of the C++ program running on the DEC
Alpha 3000/600 and the 433 au please?
The way your post reads, it sounds like you're comparing the
performance difference of the fortran code on both machines to
the performance difference of the C++ code on both machines,
which doesn't make sense.
-- ttk
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-15 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-12 4:00 C++ and Fortran on DEC Stations Dr. rer. nat. R. Wester
1997-09-15 4:00 ` Bill Moyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox