From: "J. Pedro Sousa do Amaral" <amaral@storeria.bio.ou.edu>
To: <axp-list@redhat.com>
Subject: A few questions about compiling code and performance
Date: Wed, 01 Nov 2000 08:36:58 -0600 [thread overview]
Message-ID: <B62586AA.75F5%amaral@ storeria.bio.ou.edu> (raw)
In-Reply-To: <000b01c043fb$8f83b680$9550fea9@hptilap.hpti.com>
Hi,
My questions are somewhat off-topic (and ignorant; I do not know how to
program...) but here's the first one: I have a certain dynamical system
analysis program source code, which I believe was initially written for
Sun's OS. This FORTRAN code was initially set to compile with the flag
-fast, but that wouldn't work in my system (AS 200, RH 5.2 highly modified,
latest stable kernel, and pretty recent compilers--g77 version egcs-2.91.66
19990314). Is there an equivalent flag in the GNU FORTRAN compiler?
Another question is about bogometer benchmarking. How useful is to use the
function time to benchmark the performance of a given program compiled
across different machines? From the man time: "The time utility executes and
times utility. After the utility finishes, time writes the total time
elapsed, the time consumed by system overhead, and the time used to execute
utility to the standard error stream." What is exactly the meaning of the
two last times reported?
My last question is about a compiling error shown below. Any ideas about why
this error occurs?
f77 -O4 \
-o dimension dimension.f epsprg.o
param.h: In program `dimension':
In file included from dimension.f:39:
param.h:26:
parameter (nbound=max(nbins,ndatar))
^
Invalid declaration of or reference to symbol `max' at (^) [initially seen
at (^)]
make: *** [dimension] Error 1
Thank you very much.
ZP
--
José Pedro Sousa do Amaral
Disclaimer: Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely coincidental.
Any resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them is
left as an exercise for the reader. The question of the existence of the
reader is left as an exercise for the second god coefficient. (A discussion
of non-orthogonal, non-integral polytheism is beyond the scope of this
article.)
next prev parent reply other threads:[~2000-11-01 14:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-31 12:05 performance patches David Addison
2000-10-31 13:19 ` Rich Payne
2000-10-31 20:01 ` Custom AXP kernel Paul Allen
2000-11-01 1:05 ` Peter Petrakis
2000-11-01 1:55 ` rtlinux-3.0-pre8 running on an alpha pc164? Terry L. Ridder
2000-11-01 12:02 ` Custom AXP kernel Greg Lindahl
2000-11-01 14:36 ` J. Pedro Sousa do Amaral [this message]
2000-11-01 19:34 ` A few questions about compiling code and performance Ross A Knepper
2000-11-01 19:52 ` arthur m coucouvitis
2000-11-02 0:50 ` W Bauske
2000-11-01 1:48 ` performance patches Chai Mee Joon
-- strict thread matches above, loose matches on Subject: below --
2000-11-01 20:38 A few questions about compiling code and performance Eugene Chu
2000-11-01 22:26 Brad Lucier
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox